Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

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.


Messages - m1ndas5

Pages: [1]
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.

2
General / Trying to build with DEV-C++, getting linked errors
« on: January 19, 2020, 12:11:58 am »
Greetings,

I'm trying to build / launch some games found on the web with DEV-C++ IDE.

I have:
- Installed TDM GCC 5.1.0 (verified against simple programs).
- Configured the include path: -I"C:\SFML-2.5.1\include"
- Configured the library path: -L"C:\SFML-2.5.1\lib"
- Added the linked library switches:

Quote
- 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

Pages: [1]
anything