How to compile library

I have downloaded stanfordcpp library. What should i do now to use that library
as a standard library. So that when i include any header file in stanford library
it should export me the function prototyped in that header file.
The stanfordcpp library folder contains ".h" , ".cpp" extension file. and there
are two additional folders one is named as Private and other is named as
Stacktrace.

The OS i am using is UBUNTU 14.04 LTS
and compiler is g++.
Last edited on
reference I used from another developer website 'how to'

1) put the header files in a location which your compiler is aware of (typically IDE allows to set so-called include directories, otherwise you specify a flag like "-I<path-to-headers>" when invoking the compiler)

2) put the dll files in a location which your linker is aware of (surely your IDE will allow that, otherwise you specify a flag like "-L<path-to-libraries> -l<name-of-libraries>"
Topic archived. No new replies allowed.