I had this problem yesterday when I switched my python library to
Stackless, which I compiled myself. The problem is that python can
be built two ways - with 2-byte wide chars (USC2), or with 4-byte
wide chars (USC4). In my case it was the case that boost was trying
and f
It's hard to get the includes/libs right by hand on the command line.
Better to use a build-tool like bjam, cmake, or something.
Can you try this cmake build:
https://github.com/aewallin/sandbox/tree/master/boost_python_helloworld
cmake .
and then
make
if you want to see the actual command-line cm
Hello,
I am trying to compile and link boost-python hello world example and I have
some linking problems.
OS: Ubuntu
g++ -fPIC -w Test2.cpp -I ../../../Libs/Python/Python-2.7.3/Include -I
../../../Libs/Python/Python-2.7.3 -I ../../../Libs/Boost/boost_1_52_0
-Wl,-rpath,../../../Libs/Python/Python