ANGLE : Runtime Error

33 views
Skip to first unread message

Abhishek Deshpande

unread,
Oct 3, 2024, 8:40:43 AMOct 3
to angleproject
Hi,

I built ANGLE with below args

angle_assert_always_on = true
is_clang = false
angle_enable_d3d9 = false
angle_enable_d3d11 = false
angle_enable_gl = false
angle_enable_metal = false
angle_enable_null = false
angle_enable_vulkan = true
angle_enable_essl = true
angle_enable_glsl = true
angle_use_vulkan_display = true


Once I try to use the lib to run my GLES app, I get below error

Error loading EGL entry points: failed to load library (SearchType::ModuleDir) C:\ANGLE_Experiment\Work\libGLESv2.dll

The code points to 2 places where this error is reflected and I could guess that I would have to set something like ANGLE_DISPATCH_LIBRARY during the build. Note that I have to build angle on one machine and use it on another. I hope that wont be causing any issues.

Am I missing something ?

Thanks,
Abhishek

Geoff Lang

unread,
Oct 3, 2024, 9:52:20 AMOct 3
to abhi...@gmail.com, angleproject
You will need to make sure libEGL.dll and libGLESv2.dll are in the same directory. For the Vulkan backend to work, you may also need to copy some libvulkan dlls from the ANGLE output directory.

--
You received this message because you are subscribed to the Google Groups "angleproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angleproject...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/angleproject/2cf329ca-a84a-4e7f-b2d4-e1f13a040445n%40googlegroups.com.

Abhishek Deshpande

unread,
Oct 3, 2024, 11:36:15 AMOct 3
to angleproject
Thanks , somehow, it needed third_party_zlib.dll , after which it started to run fine. 

Shahbaz Youssefi

unread,
Oct 3, 2024, 2:05:58 PMOct 3
to angleproject
You might want to consider setting `is_component_build = false` in your args.gn.
Reply all
Reply to author
Forward
0 new messages