Jump to content
  • Advertisement
Sign in to follow this  
serafim911

I can't set up SDL

This topic is 2801 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 need help setting up SDL for Visual C++ 2010.
I tried LazyFoo's tutorial, but I ran into a HUGE problem:
For some ridiculous reason "C/C++" will not appear in my property pages.
Therefore I cannot change the runtime library in code generation under C/C++.

i.e.

> Common Properties
v Configuration Properties
----General
----Debugging
----VC++ Directories
****************************
--> C/C++ -NOT THERE!-
****************************
--> Linker
--> Manifest Tool
--> XML Document Generator
--> Browse Information
--> Build Event
--> Custom Build Step

Because "C/C++" isn't in my Property Pages I cannot go to "Code Generation" and
edit my Runtime Library.

What am I doing wrong?

Share this post


Link to post
Share on other sites
Advertisement
Do you actually have any C or C++ source files added to the project? You must have at least one before you get the options relevant to C and C++.

Share this post


Link to post
Share on other sites
Quote:
Original post by oler1s
Do you actually have any C or C++ source files added to the project? You must have at least one before you get the options relevant to C and C++.

Yes. I created a C++ file while following the tutorial, then I made it to the step where I was supposed to edit my Runtime Library.

Share this post


Link to post
Share on other sites
Are you sure you're following the correct guide.

If not then let me point you to:
http://www.lazyfoo.net/SDL_tutorials/lesson01/windows/msvsnet2010e/index.php

That's for 2010. I assume you're trying to follow the VC2008 version because there isn't supposed to be a C/C++ in the property pages.

Hope that helps! =D

Share this post


Link to post
Share on other sites
Quote:
Original post by SaLiVa
Are you sure you're following the correct guide.

If not then let me point you to:
http://www.lazyfoo.net/SDL_tutorials/lesson01/windows/msvsnet2010e/index.php

That's for 2010. I assume you're trying to follow the VC2008 version because there isn't supposed to be a C/C++ in the property pages.

Hope that helps! =D


I was following the guide for VC2010.
It would be silly of me to follow a guide for a version I do not own.

Share this post


Link to post
Share on other sites
Right I see which step you're on now. Sorry for the hasty reply.

The only other thing I can point it to is Step 9 to set the SubSystem to Windows since the screenshots don't show C/C++ until that step.

Also this might seem silly, but it could be your Visual Studio Express installation not having the C/C++ compiler installed correctly.

Other than that I don't think I can help you.

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!