Boost logo

Boost Users :

From: Sebastien Fortier (sebastien.fortier_at_[hidden])
Date: 2006-11-09 07:46:03


Alexander Eisenhuth wrote:

> Hello,
>
> [snip]
>
> Jamfiele:
> ----------------------------------------------
> # This is the top of our own project tree
> project-root ;
>
> # Include definitions needed for Python modules
> import python ;
>
> # ----- getting_started1 -------
>
> # Declare a Python extension called getting_started1
> extension getting_started1
> : # sources
> getting_started1.cpp
>
> # requirements and dependencies for Boost.Python extensions
> <template>@boost/libs/python/build/extension
> ;
> -------------------------------------------------
> Thanks a lot
> Regards Alexander
>
you could try the following...

extension getting_started1
      :
        getting_started1.cpp
      :
        <runtime-link>dynamic # this is optional .so vs .a I think?
        <linkflags>-L/path/to/boost/compiled/libs
        <find-library>boost_thread-gcc

;

By the way I think you should adress this message to the Boost build list.

Hope this helps!

p.s. remember to set your python_version and python_root if they are not
already correct

-- 
Sébastien Fortier


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net