Unsolved A proper way to link libEGL.lib
-
I have an app that links libEGL.lib and libGLESv2.lib in .pro file as follows (for working with raw OpenGLES 2.0 calls on Win32 and UWP platforms):
win32 { debug { LIBS += libEGLd.lib libGLESv2d.lib } release { LIBS += libEGL.lib libGLESv2.lib } }
as far as I remember, previously libEGL.lib linked successfully, but with QT 5.13 there is the following error:
link /NOLOGO /DYNAMICBASE /NXCOMPAT /NODEFAULTLIB:ole32.lib /APPCONTAINER /MACHINE:X64 /NODEFAULTLIB:kernel32.lib /DEBUG /SUBSYSTEM:WINDOWS /MANIFEST:NO /OUT:debug\MyApp.exe @C:\Users\D-Ef\AppData\Local\Temp\MyApp.exe.12740.170688.jom LINK : fatal error LNK1104: cannot open file 'libEGLd.lib'
what is the proper way to fix this?
-
@dmitriano said in A proper way to link libEGL.lib:
what is the proper way to fix this?
Search for the lib on your system and pass this path to the linker so it can be found during link time.
-
the libs are in C:\Qt\Qt5.13.0\5.13.0\msvc2017_64\lib folder, but the linker cannot find them.
-
So did you try to pass that path to the linker? Please show us your pro-file