Jump to content
  • Advertisement
Sign in to follow this  
Dalphin

Can't get SDL working

This topic is 1427 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

Hello everyone,

 

I've made several attempts to install SDL 1.2.15 on my Code::Blocks IDE.

I did it in the way this site (http://www.cprogramming.com/tutorial/sdl/setup.html) told me to,

but if i run the most simple programs, i get the following error: 

 

"e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld\..\mingwrt-4.0.3-1-mingw32-src\src\libcrt\crt\init.c|241|undefined reference to `__mingw_glob'|"

 

I'm using Windows 7, with this version of Code::Blocks: codeblocks-13.12mingw-setup-TDM-GCC-481.exe.

 

Thanks in advance.

 

 

 

 

 

Share this post


Link to post
Share on other sites
Advertisement
Is there a particular reason for you to use SDL 1.2.15? There is a 2.0 version out now. I just looked at the tutorial that you link and it does not cover anything. You have to set up links and includes in codeblocks for it to work. Get SDL 2.0 and Follow the tutorials from http://lazyfoo.net/tutorials/SDL/index.php

Share this post


Link to post
Share on other sites

Is there a particular reason for you to use SDL 1.2.15? There is a 2.0 version out now. I just looked at the tutorial that you link and it does not cover anything. You have to set up links and includes in codeblocks for it to work. Get SDL 2.0 and Follow the tutorials from http://lazyfoo.net/tutorials/SDL/index.php

Well yeah, because the team i work with, works with SDl 1.2.15, but i don't know if i can use 2.0 then?

Share this post


Link to post
Share on other sites

Well yeah, because the team i work with, works with SDl 1.2.15...

 

Ask your team? Presumably they got it to work on their machines.

 

- Eck

Edited by Eck

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!