Board index » cppbuilder » Using libraries in C++ Builder 6

Using libraries in C++ Builder 6


2003-12-24 02:46:35 AM
cppbuilder56
Hi guys,
I have a problem: I downloaded a library and I want to use it in my project. This library (the SDL library) has 2 directory, one with the SDL.lib file, and one with the header files.
What I have to do to use it in my project?
In fact if I write #include <SDL.h>obviously the compiler tells me :
[C++ Error] Main.cpp(4): E2209 Unable to open include file 'SDL.h'
 
 

Re:Using libraries in C++ Builder 6

Quote
In fact if I write #include <path:\SDL.h>obviously the compiler tells me
:
you have to include the path where to find it to it.
Chris.
Marco < XXXX@XXXXX.COM >schreef in berichtnieuws
3fe89b9b$ XXXX@XXXXX.COM ...
Quote

Hi guys,
I have a problem: I downloaded a library and I want to use it in my
project. This library (the SDL library) has 2 directory, one with the
SDL.lib file, and one with the header files.
Quote
What I have to do to use it in my project?
In fact if I write #include <SDL.h>obviously the compiler tells me :
[C++ Error] Main.cpp(4): E2209 Unable to open include file 'SDL.h'