-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
emcc: cannot find library "dl" #5318
Comments
I can find the file of libdl.a at this directory. "/usr/lib/x86_64-redhat-linux6E/lib64" |
You need an emscripten-compiled copy of that library (dl). Compile it separately, from source (with emscripten), and then add the appropriate flags to |
It is safe to ignore that link warning, since Emscripten implements However there are some caveats. @kripken knows the details here the best. @kripken : would it make sense to add |
Probably it makes sense to add to that list, we do have core dlopen functionality working. It has some limitations, but I don't think enough to justify not including it. |
https://github.com/wolf188/emscripten_project.git |
…rovided in core Emscripten libraries. #5318.
|
…rovided in core Emscripten libraries. emscripten-core#5318.
This issue has been automatically marked as stale because there has been no activity in the past 2 years. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant. |
appear some error message when compile. for example,
emmake make
Scanning dependencies of target hello.html
[ 50%] Building CXX object CMakeFiles/hello.html.dir/src/main.cpp.o
[100%] Linking CXX executable hello.html
WARNING:root:emcc: cannot find library "dl"
warning: unresolved symbol: glfwWindowHint
[100%] Built target hello.html
The text was updated successfully, but these errors were encountered: