Manfred Nowak m.nowak at mncom.de
Sat Feb 22 00:58:31 CET 2003

Hi all,

I have build a python-interface to a database with SWIG.
( database is an old version of FairCom ctree - no sql )

Linux and Cygwin-Version runs fine.

The App should run under Windows ( wxPython )
Under Windows I could not import the module.
Same procedure with the example from the tutorial,
so I give the example-Code here:


swig -python -module $SWIGMOD  $SWIGMOD.c
gcc  -c  $SWIGMOD'.c'      $SWIGMOD'_wrap.c' \
     -I /usr/local/include/python2.2

gcc -shared   $SWIGMOD'.o'  $SWIGMOD'_wrap.o' \
     -L /lib/python2.2/config  -lpython2.2.dll  -lc -o '_'$SWIGMOD'.dll'

Error from import example :
assertion "!wait_sig_inited" failed: file
"/netrel/src/cygwin-1.3.20-1/winsup/cygwin/sigproc.cc", line 657

I have found dllhelpers-0.4.1, but that give me no hints.

Any help ???

Best regards

More information about the Python-list mailing list