Hi Everyone, I just started to use boost.python and having problem trying to get my first program working.
I have a C++ class foo.cpp, defined in foo.h, I wrote a wrapper class for it to generate a python module. #include "Foo.h" #include <boost/python/module.hpp> #include <boost/python/def.hpp> #include <boost/python.hpp> using namespace boost::python; BOOST_PYTHON_MODULE(mymodule) { class_<Foo>("Foo") .def ("init", &Foo:init) } The problem is that when I bjam it, the compiler cannot find the header file <Foo.h>, although I had the location of Foo.h added into $PATH. I can make it work by copying Foo.h into the working directory, but Foo.h is also depended on other libraries, so I need a generic way to recognize the header files. Thanks for any hit, Qun -- http://mail.python.org/mailman/listinfo/python-list