|
-
August 15th, 2010, 04:46 AM
#1
Where to put downloaded Libraries
I downloaded the freeimage library to process images.
I am not sure where to put the folder so i can include the freeimage header file.
I ran an example which came in the folder but it couldn't run it showed an error that it couldn't include the header.
I am using borland c++ 3.0 because it was the only free version i could find and i have put the folder in both the include and lib folders.
-
August 15th, 2010, 09:57 AM
#2
Re: Where to put downloaded Libraries
Never used borland, but I'll assume that it's set up very much like g++. g++ has folders called Include and Lib in it's structure. You can put them there. If you post what the directory structure for borland's compailer looks like I'm sure we can give you a better response.
-
August 15th, 2010, 11:33 AM
#3
Re: Where to put downloaded Libraries
If you downloaded the library as a precompiled lib file for Win32, chances are it was compiled using Visual Studio. You may not be able to use it in Borland C++; but you can get VS Express for free from Microsoft's site.
If you put the folder in both the include and lib folders that Borland uses, then make sure that the code includes (supposing "freeinclude" is the name of the header) "freeimage/freeimage.h" rather than "freeimage.h".
I owe Paul McKenzie a pizza.
I am no expert; but they say I can make concepts easy to understand. That's why newbies questions are mine!!! XD
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|