Compil error with Code::Blocks

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
User avatar
KaTSuo
Novice
Novice
Posts: 53
Joined: 25 Sep 2005, 19:01
Location: France
Contact:

Compil error with Code::Blocks

Post by KaTSuo »

Hi !

It seems there is something wrong in SDL... When I compil, it fails when he try to link the tmw.exe...

Code: Select all

Linking executable: tmw.exe
.objs\src\gui\gui.o:gui.cpp:(.text+0x210): undefined reference to `SDLInput::SDLInput()'
.objs\src\gui\gui.o:gui.cpp:(.text+0x170c): undefined reference to `SDLInput::SDLInput()'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 8 seconds)
0 errors, 0 warnings
There is also an error with Key::Delete in guichan. But I've deleted the parts which don't work...

Regards,
I'm French, sorry for my bad english XD !
Image
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Post by Crush »

As usual the project files are outdated. Add the files src/gui/sdlinput.cpp and src/gui/sdlinput.h manually to the project and it should work.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Rotonen
TMW Adviser
TMW Adviser
Posts: 3154
Joined: 08 Sep 2004, 19:48
Location: Bern, Switzerland

Post by Rotonen »

You could always set up an MSYS environment, in which you could just use the autotools oriented files, which are kept up to date more likely.

http://www.mingw.org/msys.shtml
This message used to be meaningful.
Post Reply