luckiezhou/DynamicTriad

boost_pylib

mirrezaei opened this issue · 1 comments

I know how to assign boostroot but CMake cannot detect the value of boost_pylib. Could you please help me?

I got the following errors:

/usr/bin/ld: cannot find -lboost_python-2.7
collect2: error: ld returned 1 exit status
CMakeFiles/mygraph.dir/build.make:188: recipe for target 'mygraph.so' failed
make[2]: *** [mygraph.so] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/mygraph.dir/all' failed
make[1]: *** [CMakeFiles/mygraph.dir/all] Error 2
Makefile:83: recipe for target 'all' failed

Appreciated in advance :)

Can you find the boost_python shared object in the boost root directory? (usually in $boostroot/stage/lib)

Is the shared object named libboost_python-2.7.so? If the library is there with an unexpected name, an option in the build script ('name for boost_python library?') helps to solve this problem.

If everything seems to be correct, could you post the full output of the following command
VERBOSE=1 bash build.sh
in order to clarify the problem? (you may remove your personal information from the output such as the building path)