[C++-sig] Import causes access violation

2011-02-07 Thread Julian Bailey
Hi, I am running through the basic examples on the boost website for embedding boost::python. My code currently reads: #include #include "./include/Python.h" #include "./boost/python.hpp" using namespace boost::python; intmain(void) { Py_Initialize(); object main_module = impo

Re: [C++-sig] Import causes access violation

2011-02-07 Thread Julian Bailey
Fixed, I think, needed to define BOOST_DEBUG_PYTHON in the c++ pre-processor definitions Now having a different problem...will get back to you guys if I still have problems Dr Julian Bailey Electronic Systems & Devices, School of Electronics and Computer Science, University of Southampton,