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
Using toolchains from MinGW-w64, one can build both x86 and x64 binaries for Windows using GCC.
Unfortunately, the required dependencies for 64-bit MinGW are missing, resulting in undefined reference errors (in the below case, to FreeType symbols):
Linking CXX shared library ..\..\..\lib\sfml-graphics-2.dll
Creating library file: ..\..\..\lib\libsfml-graphics.a
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x884): undefined reference to `FT_Set_Pixel_Sizes'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x927): undefined reference to `FT_Get_Char_Index'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x939): undefined reference to `FT_Get_Char_Index'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x953): undefined reference to `FT_Get_Kerning'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x10e1): undefined reference to `FT_Done_Face'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x10fc): undefined reference to `FT_Done_FreeType'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x113d): undefined reference to `FT_Init_FreeType'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x1208): undefined reference to `FT_Open_Face'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x121b): undefined reference to `FT_Select_Charmap'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x13af): undefined reference to `FT_Init_FreeType'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x13d7): undefined reference to `FT_New_Memory_Face'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x13ea): undefined reference to `FT_Select_Charmap'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x150b): undefined reference to `FT_Init_FreeType'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x152b): undefined reference to `FT_New_Face'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x153e): undefined reference to `FT_Select_Charmap'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x16bf): undefined reference to `FT_Init_FreeType'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x16f2): undefined reference to `FT_New_Memory_Face'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x1705): undefined reference to `FT_Select_Charmap'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x32e0): undefined reference to `FT_Load_Char'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x32fa): undefined reference to `FT_Get_Glyph'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x3342): undefined reference to `FT_Glyph_To_Bitmap'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x3372): undefined reference to `FT_Bitmap_Embolden'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x33bf): undefined reference to `FT_Glyph_To_Bitmap'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x340c): undefined reference to `FT_Done_Glyph'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x3901): undefined reference to `FT_Outline_Embolden'
CMakeFiles\sfml-graphics.dir/objects.a(Font.cpp.obj):Font.cpp:(.text+0x3919): undefined reference to `FT_Glyph_To_Bitmap'
If you need assistance in building the dependencies or installing a MinGW-w64 toolchain, I'll be very glad to help with that.
The text was updated successfully, but these errors were encountered:
I am working on just this very issue actually. I've gotten libfreetype and libglew built with ruben's most recent win64 mingw64 release. The libjpeg from mingw64's sourceforge site seems to work as a 64-bit replacement.
There are already 64-bits versions of the libopenal and libsndfile DLLs in the SFML repository, so all you have to do is to regenerate the import libraries, there's no need to compile them.
Using toolchains from MinGW-w64, one can build both x86 and x64 binaries for Windows using GCC.
Unfortunately, the required dependencies for 64-bit MinGW are missing, resulting in undefined reference errors (in the below case, to FreeType symbols):
If you need assistance in building the dependencies or installing a MinGW-w64 toolchain, I'll be very glad to help with that.
The text was updated successfully, but these errors were encountered: