Include directories are for the compiler. Library (lib) directories are for the linker. Include the link in Project Options, Directories, Include Directories.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all...
<dev-cpp 4.9.9.2 on xp>
Im trying to link Freetype up to my project,
to use with SDL_Tty so I can output text in SDL.
Ive linked up SDL_Tty but it also requires Freetype.
The site I got Frretype from says...
"Locate the FreeType 2 include directory.
You have to add it to your compilation include path."
This is the location on my comp of the Freetype include dir...
C:\DevCpp\include\freetype2
Can someone here possably tell me what I must type in and whether its in the compiler box or linker box that it must be typed.
I hope someone can help,
peace and luv.
thanks for the answer.
I wrote C:\DevCpp\include\freetype2 straight into the include directories box and thats good.
The reason I asked what I must type in is because to link up a library I must go -l......
I thought that it was wrong to simply add the directory path for includes.
Anyway,thanks.
Kurgusov.
Include directories are for the compiler. Library (lib) directories are for the linker. Include the link in Project Options, Directories, Include Directories.