CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2010
    Posts
    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.

  2. #2
    Join Date
    Jan 2009
    Posts
    1,689

    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.

  3. #3
    Join Date
    Jun 2007
    Location
    Vercelli, Italy
    Posts
    87

    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
  •  





Click Here to Expand Forum to Full Width

Featured