Wasn't really sure where to put this question specially after trying to do a bit of searching and coming up short.
I recently wanted to try out Thor and SFGUI but as I'm rather new and not familiar with building libraries myself I was going to use one of the sets off of the nightlybuild site. So I went over and picked this section to play around with.
http://www.nightlybuilds.ch/compiler/show/13/MinGW-builds-490r2-64/ I first downloaded the compiler and installed it, I then downloaded and installed the sfml package before going any further. I decided to test the pong example included using
g++ Pong.cpp -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio
to build it and it worked just fine. I then figured I'd try to link it statically. Now from using the one prebuilt library from the official website I believe the correct call would have been
g++ Pong.cpp -DSFML_STATIC -lsfml-graphics-s -lsfml-window-s -lsfml-system-s -lsfml-audio-s
just produces this for me.
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(RenderWindow.cpp.obj):Render
Window.cpp:(.text+0x3a3): undefined reference to `glReadPixels'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x13b): undefined reference to `FT_Set_Pixel_Sizes'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x31b): undefined reference to `FT_Set_Pixel_Sizes'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x35f): undefined reference to `FT_MulFix'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x50b): undefined reference to `FT_Set_Pixel_Sizes'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x551): undefined reference to `FT_MulFix'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x6f8): undefined reference to `FT_Set_Pixel_Sizes'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x8e7): undefined reference to `FT_Get_Char_Index'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x8f3): undefined reference to `FT_Get_Char_Index'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x90d): undefined reference to `FT_Get_Kerning'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0xf24): undefined reference to `FT_Done_Face'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0xf47): undefined reference to `FT_Done_FreeType'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x103c): undefined reference to `FT_Init_FreeType'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x1064): undefined reference to `FT_New_Memory_Face'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x107b): undefined reference to `FT_Select_Charmap'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x117f): undefined reference to `FT_Done_Face'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x119e): undefined reference to `FT_Done_FreeType'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x1238): undefined reference to `FT_Done_Face'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x1359): undefined reference to `FT_Init_FreeType'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x1379): undefined reference to `FT_New_Face'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x138c): undefined reference to `FT_Select_Charmap'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x14e0): undefined reference to `FT_Done_Face'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x14ff): undefined reference to `FT_Done_FreeType'
E:/Programming/Tools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../..
/x86_64-w64-mingw32/lib/../lib/libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.tex
t+0x15bf): undefined reference to `FT_Done_Face'
So... What exactly am I doing wrong?