Hi Ryan,
I tried out your code (g++, python2.6, boost-1.40) and it worked just
fine. However, I had to make a few changes to your compilation command
to get it working. The python module you're defining is called
"testing", but your command is generating a "libclassical.so"; you
need to output "te
Hi All,
I am testing boost python with the following code:
#include
#include
#include
using namespace boost::python;
int pyrun_main();
BOOST_PYTHON_MODULE(testing)
{
def("pyrun_main",pyrun_main);
}
int pyrun_main(){
try{
throw std::exception();
}
catch(std::excepti