Skip to main content
gamedev.net
🔒 Locked

SDL

Started by tstrimp Dec 5, 2002 at 3:56 PM 9 replies 650+ views
Original Post
tstrimp
tstrimp
ok, I've decided to try SDL over GLUT, I've downloaded it but I'm having trouble accessing it with VC++. Could any one help me get this installed? The installation documentation was terrible. [edited by - tstrimp on December 5, 2002 4:57:06 PM]
tstrimp
tstrimp
Ok first of it says to unzip the visualC.zip file into the folder that has VisualC.html in it.

There was no visualC.zip file and the VisualC.html file is in the folder I downloaded.

Then it says to open SDL.dsw, which also is nowhere to be found, and goes on to tell you to build the files. Any idea what this thing is talking about?
NeonGE
NeonGE
Check this tutorial:
Link
--------------------------------------------- If God with me, Who against me?Personal Web Samuel Prince Blog...
MARS_999
MARS_999
Go to www.libsdl.org download the runtime and development libraries. Then unzip them they should have a .html document on how to setup VC++. Its not hard to do. I use SDL and its easy.

Signatures are lame!! =)
tstrimp
tstrimp
Thanks Neon I looked at thing link and ran into another problem... I'm using VC++.NET and as far as I can tell there isn't a Project->Settings menu! Maybe they moved it, I don't know.

MARS_999 The problems I mentioned before were while trying to use the HTML file you pointed out.

Edit: Ok I've found where they hid the Project->Settings menu but it only comes up if you have a class in your app. Whatever. I'll be ok now, Thanks for the help!


[edited by - tstrimp on December 5, 2002 11:19:06 PM]
tstrimp
tstrimp
New problem! Figures eh? I think I''m almost done; however, when I include I get an error: fatal error LNK1561: entry point must be defined... I thought that ment that you hadn''t called main but I have, and if I comment out the #include <stl/stl.h> I build with no errors. Any ideas? anyone?
tstrimp
tstrimp
quote:
Original post by Aldacron
I assume you mean and not ? Did you link to SDLmain.lib as per the instructions?


Yep thats what I ment, although I had no idea what you were talking about before I quoted it, the things inside the <> didn''t show up. And yes I did include SDLmain.lib although I couldn''t find the exact place to put it because some of the menu names are diffrent in .NET. I THINK I got it in the right place because I no longer get the invalid token error.

I did a google search on that error and it somtimes has to do with the DLL not having an entry point defined, but like before the VS.NET environment has changed some of the menus since 6.0

tstrimp
tstrimp
Can anyone help me?
Jan Wassenberg
Jan Wassenberg
try setting Project Properties->Linker->Advanced->Entry Point to mainCRTStartup; also, SDL.h must be #included in the file that contains main().

HTH
Jan
E8 17 00 42 CE DC D2 DC E4 EA C4 40 CA DA C2 D8 CC 40 CA D0 E8 40E0 CA CA 96 5B B0 16 50 D7 D4 02 B2 02 86 E2 CD 21 58 48 79 F2 C3

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.