2 problems getting SDL to work in Visual C++ 2005

Started by
3 comments, last by Drakkcon 18 years, 10 months ago
Problem 1: Okay, I extracted SDL to all the proper directories, and turned off precompiled headers. I'm linking SDLmain.lib and sdl.lib . Visual C++ gives me the error "cannot open file uuid.lib". I have no clue what or where this file is. Problem 2: I can't set up global include directories. I want all of my programs to be able to include SDL by using #include "SDL.h" . I looked this up on MSDN help, and it told me to go to options and VC++ directories and change the directory info. All I see is this: Thanks for any help.
Advertisement
Have you configured the project to use multithreaded library?

If you're having problems including directories to the INCLUDE/LIB/PATH environment variables in Visual C++ you can go to the [control panel]->[system icon]->[advanced folder]->[environment variables button] and just do it from there.
Yes, it's using a multithreaded debug dll.

Also, what should I name the variable in environment variables, and how do I use it?
Include
Lib
Path

You add the headers path to the Include env variable, the libs path to the Lib env variable and the bins path to the Path env variable.
Awesome, thanks! Now what to do about that error message?

This topic is closed to new replies.

Advertisement