I can't set up SDL

Started by
4 comments, last by SaLiVa 13 years, 5 months ago
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?
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++.
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.
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
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.
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.

This topic is closed to new replies.

Advertisement