Compilation errors with compiling a program with boost libraries 1.39
Hello, I am trying to compile an C++ program on Linux(Most distros) called GHost One. Some Linux distributions have problems with the makefile not containing the correct references to boost libraries. Is there a way to add something to the makefile to fix this, or to anything else?
If it makes any difference I compiled boost by: Code:
wget http://ihigh.myvnc.com/koola_project/boost_1_39_0.tar.gz2 I know that one way is to find out the exact names of the boost lib .so files and using them by Code:
ls -l /usr/lib/libboost*.so |
Welcome to LQ.
Which Linux are you using ? Like Fedora 11, Ubuntu 9.04, CentOS 5.4 . And please provide a valid link to Ghost_One ..... |
If you are building your own version of boost (instead of using the one that is in the repository for your distro), you need the header files to be accessible by the compiler. This means that they will need to be somewhere like /usr/include or /usr/local/include.
You could make a symbolic link from the boost headers directory to '/usr/include/boost', or use compiler flags so that the headers can be found. For example, you might move the headers to /usr/include/boost_1-39 and then make a symbolic link to /usr/include/boost. |
Quote:
http://www.codelain.com/forum/index.php Quote:
Quote:
|
So where are the headers hiding ?
Example using headers in e.g. /usr/local/include/boost_1-39/boost/<files.hpp> : 1) cd /usr/local/include/ 2) su 3) ln -s boost_1-39/boost/ ... which will create /usr/local/include/boost ..... ..... P.S. : I am still interested in a link to the software, and an exact file / package name. Chop++ ? ? ..... |
|
All times are GMT -5. The time now is 08:51 AM. |