You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File setup
-> GameEngine.Core.exe
-> glfw.dll (renamed from glfw3.dll in zip at /lib-vc2019)
-> glfw.lib (renamed from glfw3.lib in zip at /lib-vc2019)
-> glfwdll.lib (renamed from glfw3dll.lib in zip at /lib-vc2019)
Crash:
The text was updated successfully, but these errors were encountered:
The BadImageFormat means that the native DLL and managed assembly have mismatched CPU architecture (i.e. you are building x86 assembly, but referencing native x64 libraries, or vice-versa). GLFW offers binaries for both architectures, though your managed assembly will need to be built with the matching architecture.
If you want to build your project for for x86, you would only need to get the native x86 DLL to make it work.
On a side note, the only binaries you need are the .dll ones, not the ones with .lib extension. The .lib files are mainly for static linking in C/C++, you only need the dynamic ones.
GLFW downloaded from: https://github.com/glfw/glfw/releases/tag/3.3.2 (WINDOWS 64)
File setup
-> GameEngine.Core.exe
-> glfw.dll (renamed from glfw3.dll in zip at /lib-vc2019)
-> glfw.lib (renamed from glfw3.lib in zip at /lib-vc2019)
-> glfwdll.lib (renamed from glfw3dll.lib in zip at /lib-vc2019)
Crash:
The text was updated successfully, but these errors were encountered: