[python] 1.41.0 importing python extensions fails

19 Nov
2009
19 Nov
'09
9:57 p.m.
Using MSVC 2008 on windows server 2003, Python 2.6.2 Importing python extension modules fails. As an example I compiled the tutorial hello world example; char const* greet() { return "hello, world"; } #include <boost/python.hpp> BOOST_PYTHON_MODULE(hello_ext) { using namespace boost::python; def("greet", greet); in to a dll named hello_ext.pyd. When I try to import the extension I get;
In the debugger I see that hello_ext.pyd is loaded and unloaded; 'python': Loaded 'D:\Projects\GAIUS\owillebo\temp\test\Debug\hello_ext.pyd' 'python': Unloaded 'D:\Projects\GAIUS\owillebo\temp\test\Debug\hello_ext.pyd' Digging in to it. Can anyone confirm this?
5699
Age (days ago)
5699
Last active (days ago)
0 comments
1 participants
participants (1)
-
Okko Willeboordse