embed python in C++

Alex Martelli aleax at aleax.it
Mon Aug 20 10:15:50 EDT 2001


"wkuang" <wkuang at usc.edu> wrote in message
news:Pine.GSO.4.21.0108101436070.18685-100000 at aludra.usc.edu...
> Is there anyone know how to install boost.python. The website said most
> boost libary are implemented entirely within their header files, but the
> makefile for linux have libboost_python.a, so I assume boost.python is one
> of the exception. Basically, I havenot been able to run a single example
> successfully. Any idea? Thanks.
>
> I am using linux 7.1 with KCC 4.0e, gcc2.96 is kind of ok.

Right.  Go to boost_1_23_0\libs\python\build where you've unpacked
the sources and you'll see a file named linux_gcc.mak.  Run GNU
make, specifying that file as the makefile, and off you go.


Alex






More information about the Python-list mailing list