• Advertisement
Sign in to follow this  

SDL problems

This topic is 4908 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I compiled my first sdl program and got the following run-time error: "the procedure entry point SDL_SetModuleHandle could not be located in the dynamic link library sdl.dll" any help? thanks! [Edited by - jakpandora on September 18, 2004 1:00:20 PM]

Share this post


Link to post
Share on other sites
Advertisement
if I recall, that is used in the replacement WinMain. so that would point in the SDL_main stuff. (linking with the libSDLmain.a?)

btw, the thread title should probably be changed to SDL problems [8^)

Share this post


Link to post
Share on other sites
ok, I had no idea what that meant. the tutorial im using(cone3d) doesnt really explain what any of that stuff was. I just cut and pasted the exact code he had. could that possibly be explained in a simpiler way?

Share this post


Link to post
Share on other sites
yep, there are things that need to be added to the project besides the code. I believe there is a zipped file with the whole project on the site:

yep
http://cone3d.gamedev.net/files/sdlgfx/sdlDevCPP-1.2.4.zip

I say start there, then begin changing things.

NeHe also has a "SDL basecode" you can start with, doing all the tedious stuff for you.

Share this post


Link to post
Share on other sites
the dev C++ pack was actually what i downloaded. I added everything to the project that the tutorial said to. any idea whats wrong? also, I didnt anything on the nehe site about an SDL codebase. perhaps I missed it.

Share this post


Link to post
Share on other sites
I downloaded the latest version. however, the nehe site you pointed out apparently doesnt exist. ill just work with what I have. thanks.

Share this post


Link to post
Share on other sites
Quote:
Original post by jakpandora
I downloaded the latest version. however, the nehe site you pointed out apparently doesnt exist. ill just work with what I have. thanks.


No, nehe just doesnt allow hotlinking, you have to copy and paste the url.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement