1
General / Re: Trying to build with DEV-C++, getting linked errors
« on: January 19, 2020, 12:14:51 am »
Sorry to bother, seems I needed to install the 32bit compiler since the libraries are 32bit. This can be deleted.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
- C++ Compiler: C:\TDM-GCC-64\bin\g++.exe
- Command: g++.exe "C:\Users\darba\Desktop\Other Projects\16_Games\01 Tetris\main.cpp" -o "C:\Users\darba\Desktop\Other Projects\16_Games\01 Tetris\main.exe" -I"C:\SFML-2.5.1\include" -I"C:\TDM-GCC-64\include" -I"C:\TDM-GCC-64\x86_64-w64-mingw32\include" -I"C:\TDM-GCC-64\lib\gcc\x86_64-w64-mingw32\5.1.0\include" -I"C:\TDM-GCC-64\lib\gcc\x86_64-w64-mingw32\5.1.0\include\c++" -L"C:\SFML-2.5.1\lib" -L"C:\TDM-GCC-64\lib" -L"C:\TDM-GCC-64\x86_64-w64-mingw32\lib" -l sfml-graphics -l sfml-window -l sfml-system
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\SFML-2.5.1\lib/libsfml-graphics.a when searching for -lsfml-graphics
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\SFML-2.5.1\lib\libsfml-graphics.a when searching for -lsfml-graphics
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\SFML-2.5.1\lib/libsfml-graphics.a when searching for -lsfml-graphics
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-graphics
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\SFML-2.5.1\lib/libsfml-window.a when searching for -lsfml-window
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\SFML-2.5.1\lib\libsfml-window.a when searching for -lsfml-window
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\SFML-2.5.1\lib/libsfml-window.a when searching for -lsfml-window
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-window
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\SFML-2.5.1\lib/libsfml-system.a when searching for -lsfml-system
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\SFML-2.5.1\lib\libsfml-system.a when searching for -lsfml-system
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\SFML-2.5.1\lib/libsfml-system.a when searching for -lsfml-system
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-system
collect2.exe: error: ld returned 1 exit status