|
From: Sam S. <sd...@gn...> - 2003-07-31 17:53:41
|
First of all, many thanks to everyone who answered my questions so patiently! I have a library <http://norsys.com/netica_c_api.htm> which includes a .lib, .dll and .h files (no sources) and I am trying to use it with mingw. it compiles fine but gives many many link errors like $ gcc -mno-cygwin Demo.c -lnetica -L. /cygdrive/c/Temp/ccWKOXYb.o(.text+0x1c):Demo.c: undefined reference to `_imp__NewStreamFile_ns@12' /cygdrive/c/Temp/ccWKOXYb.o(.text+0x3d):Demo.c: undefined reference to `_imp__HasNodeTable_bn@8' /cygdrive/c/Temp/ccWKOXYb.o(.text+0x59):Demo.c: undefined reference to `_imp__GetNodeType_bn@4' /cygdrive/c/Temp/ccWKOXYb.o(.text+0x91):Demo.c: undefined reference to `_imp__GetNodeType_bn@4' /cygdrive/c/Temp/ccWKOXYb.o(.text+0xc9):Demo.c: undefined reference to `_imp__SetNodeFuncState_bn@12' /cygdrive/c/Temp/ccWKOXYb.o(.text+0xf0):Demo.c: undefined reference to `_imp__SetNodeFuncReal_bn@16' msvs links it just fine. is there a way for me to use this library with mingw? thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html> MS: our tomorrow's software will run on your tomorrow's HW at today's speed. |