Re: [C++-sig] import extension module in python on OSX

2013-09-11 Thread Wojciech Mamrak
why didn't you follow the example to the end? Your module is called 'hello_ext'. 2013/9/10 Simon W : > Hello, > > I've compiled the example code for Boost.Python: > > #include > > char const* greet() > > { > > return "hello, world"; > > } > > BOOST_PYTHON_MODULE(hello_ext) > > { > > usin

[C++-sig] import extension module in python on OSX

2013-09-11 Thread Simon W
Hello, I've compiled the example code for Boost.Python: #include char const* greet() { return "hello, world"; } BOOST_PYTHON_MODULE(hello_ext) { using namespace boost::python; def("greet", greet); } It compiles and I got an BoostPythonTest.dylib produced by Xcode. I've tri