need help

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
Habari
Novice
Novice
Posts: 249
Joined: 25 Nov 2007, 17:04

need help

Post by Habari » 26 Mar 2008, 21:41

i get the following error wen compiling

Code: Select all

Project   : The Mana World
Compiler  : GNU GCC Compiler (called directly)
Directory : C:\Documents and Settings\Thomas\Desktop\tmw\
--------------------------------------------------------------------------------
Switching to target: default
Linking executable: tmw.exe
C:\Program Files\CodeBlocks\lib/libSDLmain.a(SDL_win32_main.o): In function `console_main':
C:/msys/home/eugenio/SDL-1.2.12/./src/main/win32/SDL_win32_main.c:217: undefined reference to `SDL_main'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 1 seconds)
1 errors, 0 warnings
 
User avatar
leeor_net
Novice
Novice
Posts: 180
Joined: 03 Feb 2008, 10:17
Location: Ohio, USA
Contact:

Re: need help

Post by leeor_net » 26 Mar 2008, 23:08

That message is telling you that it can't find a link to the SDL libraries. Chances are you don't have them set up properly in the Code::Blocks environment. You really should google problems like this before asking for help as this is a very common one.
- Leeor

"Oh, no thanks. I ate a boulder on the way in." - Shrek
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Re: need help

Post by ElvenProgrammer » 27 Mar 2008, 10:39

This error has already been reported by matt. I tested the new devpak on a clean system and it worked for me. So I suppose it's just some remnants of old installations. Considering also latest devpak comes with SDL 1.2.13.
You should try a clean build environment.
Post Reply