Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
quocduongpy opened this issue Mar 3, 2024 · 2 comments

Comments

@quocduongpy
Copy link

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

@mycrl
Copy link
Owner

mycrl commented Mar 3, 2024

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.

@quocduongpy
Copy link
Author

@mycrl
Thank you very much
It worked <3

@mycrl mycrl closed this as completed May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants