mycrl/webview-rs

Invalid file descriptor to ICU data received. error: process didn't exit successfully: `target\debug\cef.exe` (exit code: 0x80000003)

Closed this issue · 2 comments

Hello
I tried running the above example but got the error:
Invalid file descriptor to ICU data received. error: process didn't exit successfully: target\debug\cef.exe (exit code: 0x80000003)

If you know how to fix it please help
Thanks a lot

Hello I tried running the above example but got the error: Invalid file descriptor to ICU data received. error: process didn't exit successfully: target\debug\cef.exe (exit code: 0x80000003)

If you know how to fix it please help Thanks a lot

cef needs some other resource files as well as dlls to run properly, this is something needed for chrome to run, due to the limitation of cargo, currently rust cargo can't handle the requirement to release resource files to target directory automatically, so you need to manually copy the resource files under the build/webview-rs-xxx directory to the target directory, although my project is a fork of my company's internal project, but in some ways it can't be easily used by others, this is also a limitation of cargo, if you need help, I can provide more information.

try:

cp -r ./target/xxx/build/webview-rs-xxxx/out/cef/Resources/* ./target/xxx
cp -r ./target/xxx/build/webview-rs-xxxx/out/cef/Release/* ./target/xxx

The operation of windows is similar.

Note that this is a half-finished project, although in the main code has been done in windows and linux support, but build.rs can only work on windows at present, in fact, the overall is relatively simple, you can try to improve the project, I have done most of the packaging work.

@mycrl
Thank you very much
It worked <3