-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[angle] copy libEGL.dll #30142
Comments
@FrankXie05 AFAIU it is not a core build issue but an issue with app-local deployment. |
@FrankXie05 the lib exists, but it doesn't copy all necessary binaries (.dll). CMAKE_TOOLCHAIN_FILE I passed. You can try to reproduce by your own. Or do you want to say that everything works fine? |
@wh1t3lord Could you pleae provide a simple cmake project to reproduce ? @dg0yt I want to make sure that there is no problem with the local provided, and then considering the use of it. |
@FrankXie05 maybe I didn't explain the situation correctly. I set output dir in cmake in order to collect all dlls and exe of my solution. Many of dependencies that were built as dlls through vcpkg are copied (x64-windows configuration), but angle's libraries are not copied. For that case I said that libEGL.dll is not in my output folder while other libraries are. Is it error on vcpkg side? I set output dirs like this set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) I have built libEGL.dll the problem is I don't want to manually copy that library to my solution. Somehow other libraries are copying to that dir))) |
It was because glfw didn't link to libEGL at all. It open libEGL dynamic library on runtime. See glfw/glfw#2114 and #29622 |
This is what I expected: DLL used as a module/plugin. This is not handled by vcpkg's app-local deployment, except for qt and magnum plugins. |
@xiaozhuai @dg0yt @wh1t3lord Duplicate of #29622 |
@FrankXie05 #29622 and #30142 are not the same problem. For #30142, user should mannully copy libEGL.dll or patch glfw to link to angle's libEGL. |
For simplicity.
I use glfw and I want to create EGL context. For this I need to use
But GLFW returns error with description: "EGL: Library not found"
I use in cmake the suggested heuristic for integration
But it copies only one library from angle it is libGLESv2.dll and there is no libEGL and as the result I can't run my solution successfully.
The text was updated successfully, but these errors were encountered: