Compil error with Code::Blocks

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

Compil error with Code::Blocks

Post by KaTSuo » 30 Sep 2007, 18:13

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

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

Post by Crush » 30 Sep 2007, 18:23

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
TMW Adviser
TMW Adviser
Posts: 3154
Joined: 08 Sep 2004, 20:48
Location: Espoo, Finland

Post by Rotonen » 30 Sep 2007, 20:50

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.
This message used to be meaningful.
Post Reply