Horde3D

Next-Generation Graphics Engine
It is currently 25.11.2024, 12:48

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: newbie question
PostPosted: 11.11.2007, 16:40 
Offline

Joined: 11.11.2007, 16:31
Posts: 1
As a first step, I'm trying to compile the Chicago sample program. I'm using Dev-C++ on XP. I found the right .h dependencies and got it to compile, but after that I get a bunch of linker errors, like:

[Linker error] undefined reference to `SDL_Init'

I specified the location of the proper .lib files, so I'm not sure why this should happen. Any ideas?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 12.11.2007, 10:28 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
I assume that you haven't just set the lib directory but also explicitely linked to the SDLmain.lib?

If that's the case the problem could be that the lib files are not completely compatible between different compilers. I have included the VC8 version, but on the official site of libSDL you can also find precompiled VC6 and mingw versions which you could try. If that also doesn't work you have to recompile the SDL using your compiler.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group