Closed coruscateor closed 4 years ago
You need to have libglfw3.a
to link examples correctly.
However, binary glfw distribution for Windows provide this file for msvc and MinGW-W64(msvcrt.dll) and this will not be suitable for llvm-mingw (ucrt.dll) compiler. You need to build glfw from source (just cmake . -D "MinGW Makefiles" && mingw32-make
from the same llvm-mingw environment will create suitable libglfw3.a
)
I use the MSVC compiler through the build tools that came with Visual Studio to compile things like that. I had to build glad.c with the "x64 native build tools" command prompt which took me a while to figure out.
V 0.1.24 06f581e Windows 7 x64
What did you do? Try to build the tetris example after downloading the freetype Windows binaries into ...\v\thirdparty\freetype
What did you expect to see? Successful compilation
What did you see instead?
The previous issue I created regarding this was closed prematurely.