From: Michael A. K. <mko...@la...> - 2006-05-30 17:34:01
|
Hi, I am having a bit of trouble getting started with SWIG. I have a solution under Visual Studio 2005 and there are several different projects. All the code is C++ and some of the projects are 'dependent' on the other projects. I'm trying to write a gui to basically exercise the code. So, I thought I'd do it in python and wxpython. Anyhow, I'm sure I understand everything about SWIG.... I looked at the examples, and even wrote a simple interface file. I managed to get it to build under VS2005, but when I try to write a python program to import the module and use it, I get errors such as this: Traceback (most recent call last): File "test.py", line 1, in ? import example File "E:\dev\trunk\testServer\example.py", line 5, in ? import _example ImportError: dynamic module does not define init function (init_example) Can anyone help? Do you need more information? Please let me know. Thanks, -- Michael Kolakowski CCN-12 505-606-0934 ------------------------------------------------------------------------- 'Honest, boss, there's nobody here but us complicated thinking machines.' |