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
Peon
Peon
Posts: 53
Joined: Sun Sep 25, 2005 8:01 pm
Location: France
Contact:

Compil error with Code::Blocks

Post by KaTSuo » Sun Sep 30, 2007 6:13 pm

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: Thu Aug 25, 2005 5:08 pm
Location: Germany

Post by Crush » Sun Sep 30, 2007 6:23 pm

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: Wed Sep 08, 2004 8:48 pm
Location: Espoo, Finland

Post by Rotonen » Sun Sep 30, 2007 8:50 pm

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