Hi,
I am using the CodeLite IDE and I got SFML 64 bit (TDM) to work. I want my game to be able to run on 32 bit systems so I switched to the 32 bit TDM SFML. It won't compile and is giving me the following errors:
C:\Windows\system32\cmd.exe /c "mingw32-make.exe -j 8 -e -f Makefile"
"----------Building project:[ BitTanks - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'C:/Users/Alex/Desktop/BitTanksProject/BitTanks'
g++ -o ./Debug/BitTanks @"BitTanks.txt" -L. -LC:/Users/Alex/Desktop/BitTanksProject/SFML-2.1/lib -lsfml-graphics -lsfml-window -lsfml-audio -lsfml-network -lsfml-system
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/Alex/Desktop/BitTanksProject/SFML-2.1/lib/libsfml-graphics.a when searching for -lsfml-graphics
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/Alex/Desktop/BitTanksProject/SFML-2.1/lib\libsfml-graphics.a when searching for -lsfml-graphics
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/Alex/Desktop/BitTanksProject/SFML-2.1/lib/libsfml-graphics.a when searching for -lsfml-graphics
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-graphics
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/Alex/Desktop/BitTanksProject/SFML-2.1/lib/libsfml-window.a when searching for -lsfml-window
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/Alex/Desktop/BitTanksProject/SFML-2.1/lib\libsfml-window.a when searching for -lsfml-window
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/Alex/Desktop/BitTanksProject/SFML-2.1/lib/libsfml-window.a when searching for -lsfml-window
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-window
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/Alex/Desktop/BitTanksProject/SFML-2.1/lib/libsfml-audio.a when searching for -lsfml-audio
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/Alex/Desktop/BitTanksProject/SFML-2.1/lib\libsfml-audio.a when searching for -lsfml-audio
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/Alex/Desktop/BitTanksProject/SFML-2.1/lib/libsfml-audio.a when searching for -lsfml-audio
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-audio
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/Alex/Desktop/BitTanksProject/SFML-2.1/lib/libsfml-network.a when searching for -lsfml-network
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/Alex/Desktop/BitTanksProject/SFML-2.1/lib\libsfml-network.a when searching for -lsfml-network
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/Alex/Desktop/BitTanksProject/SFML-2.1/lib/libsfml-network.a when searching for -lsfml-network
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-network
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/Alex/Desktop/BitTanksProject/SFML-2.1/lib/libsfml-system.a when searching for -lsfml-system
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/Alex/Desktop/BitTanksProject/SFML-2.1/lib\libsfml-system.a when searching for -lsfml-system
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/Alex/Desktop/BitTanksProject/SFML-2.1/lib/libsfml-system.a when searching for -lsfml-system
c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-system
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[1]: *** [Debug/BitTanks] Error 1
BitTanks.mk:77: recipe for target 'Debug/BitTanks' failed
mingw32-make.exe[1]: Leaving directory 'C:/Users/Alex/Desktop/BitTanksProject/BitTanks'
mingw32-make.exe: *** [All] Error 2
Makefile:4: recipe for target 'All' failed
0 errors, 0 warnings
I'm not sure how to fix this. I installed TDM 32 and 64 bit. The bin folder of the TDM MinGW install in in my path variable. It compiled SFML 64 bit but not the 32 bit.
The only similar post I found was for linux so I'm not sure if it is the same, but it mentions needing a -m32 flag, which I'm not sure what is.
The post is:
http://en.sfml-dev.org/forums/index.php?topic=11584Any help appreciated, thanks!