Re: [C++-sig] boost.python errors on Linux

2010-12-11 Thread scom
W dniu 2010-12-11 17:17, Stefan Seefeld pisze: On 12/11/2010 11:10 AM, Max Stricker wrote: I tried your suggestions but it leads to the same error message (using g++ -shared foo.cpp -o foo.so -I /usr/include/python2.6 -lpython2.6 -lboost_python). Could there be something wrong with the inst

Re: [C++-sig] boost.python errors on Linux

2010-12-11 Thread Stefan Seefeld
On 12/11/2010 11:10 AM, Max Stricker wrote: I tried your suggestions but it leads to the same error message (using g++ -shared foo.cpp -o foo.so -I /usr/include/python2.6 -lpython2.6 -lboost_python). Could there be something wrong with the installation? Your error message suggests the compi

Re: [C++-sig] boost.python errors on Linux

2010-12-11 Thread Max Stricker
Am 11.12.2010 um 15:03 schrieb Stefan Seefeld: > On 12/11/2010 07:29 AM, Max Stricker wrote: >> Hi, >> >> i need to expose some C++ methods to python and came accross boost.python. >> I installed libboost-python1.42-dev on an Ubuntu machine and tried to work >> with a >> simple program found in

Re: [C++-sig] boost.python errors on Linux

2010-12-11 Thread Stefan Seefeld
On 12/11/2010 07:29 AM, Max Stricker wrote: Hi, i need to expose some C++ methods to python and came accross boost.python. I installed libboost-python1.42-dev on an Ubuntu machine and tried to work with a simple program found in the docs: #include class Foo { public: v

[C++-sig] boost.python errors on Linux

2010-12-11 Thread Max Stricker
Hi, i need to expose some C++ methods to python and came accross boost.python. I installed libboost-python1.42-dev on an Ubuntu machine and tried to work with a simple program found in the docs: #include class Foo { public: void bar() { std::cout