Closed qht1003077897 closed 1 month ago
This is not a problem, but a help manual. My goal is that when someone encounters this error, they can search for a solution from the issue.
If you want to refer to cefsimple to integrate cef into your C++project, be sure to set rpath to your executable program, such as:
set_target_properties(CefTest PROPERTIES LINK_FLAGS "-Wl,--disable-new-dtags") set_target_properties(CefTest PROPERTIES LINK_FLAGS "-Wl,-rpath=../lib:./lib")
Because CEF relies on your rpath option when searching for the 'icudtl. dat' file internally. If you don't do this, you will get an error:
Error: icu_util. cc (247)] Couldn't mmap icu data file
I hope I can provide you with some help
Correct, you need to set rpath (or use LD_PRELOAD) when CEF binaries are in a different directory from the main executable.
rpath
LD_PRELOAD
This is not a problem, but a help manual. My goal is that when someone encounters this error, they can search for a solution from the issue.
If you want to refer to cefsimple to integrate cef into your C++project, be sure to set rpath to your executable program, such as:
Because CEF relies on your rpath option when searching for the 'icudtl. dat' file internally. If you don't do this, you will get an error:
I hope I can provide you with some help