January 7th, 2013, 09:33 AM
Boost Python and Eclipse PyDev problem
When I try to run the practice code from the boost python tutorial in Eclipse's PyDev environment , I get the following error
Despite including the path to that file in the environment variable LD_LIBRARY_PATH.
I also copied the libboost_python.so.1.52.0 file in the same working directory of my python program
Also I included the path to the file in Eclipse's Linked resources property field, same error
This is the tutorial code I'm using
char const* greet()
return "hello, world";
using namespace boost::python;
Tried this too
Machine: Unix, boost 1.52, python 2.7
from libhelloext import *
Any suggestion? please
January 7th, 2013, 10:29 AM
Did you export LD_LIBRARY_PATH ? I'm using neither boost nor eclipse, but my first guess would be to try starting eclipse by commanding
$ LD_LIBRARY_PATH=path:$LD_LIBRARY_PATH eclipse
[/code] are essential for python code and Makefiles!
January 7th, 2013, 04:52 PM
thanks for the reply.
I set the value of LD_LIBRARY_PATH to the path of the missing file already