Dear,
I'm Stefaan Lhermitte and at the moment I'm working (or at least trying
to work) with the PCI Software Development Kit (SDK) but I'm not
experienced in programming in C/C++.
What I want to do is program additional features for the PCI Geomatica
software. Normally VC++ is supported by PCI, but we don't have Visual
Studio. We are trying if perhaps another (open source) compiler could be
used and at the moment we are working with Dev-C++ 4.
What I'm doing now is trying to compile one of the PCI example scripts
(lrp.c) that are included on the SDK-cd.
When I try to do this, the compilers gives the following error output:
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x19d):test.c: undefined reference to `IMPSTATUS'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x200):test.c: undefined reference to
`IMPErrChar'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x208):test.c: undefined reference to
`ALLRegister'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x219):test.c: undefined reference to `GDBOpen'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x243):test.c: undefined reference to `CheckChan'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x261):test.c: undefined reference to `CheckWin'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x2a6):test.c: undefined reference to `IMPErrInt'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x2ca):test.c: undefined reference to
`GDBSizeInfo'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x31c):test.c: undefined reference to `IMPErrInt'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x388):test.c: undefined reference to `IMPErrInt'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x3d5):test.c: undefined reference to
`GDBWriteHistory'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x4ac):test.c: undefined reference to
`GDBRealChanIO'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x53a):test.c: undefined reference to
`GDBRealChanIO'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x5c1):test.c: undefined reference to
`GDBRealChanIO'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x637):test.c: undefined reference to
`GDBRealChanIO'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x6f4):test.c: undefined reference to
`GDBRealChanIO'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x719):test.c: undefined reference to
`IMPCounter'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x7b0):test.c: undefined reference to
`GDBWriteHistory'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x7cb):test.c: undefined reference to `GDBClose'
c:\documents and settings\stefaanlh\my
documents\cpp\test.o(.text+0x7d3):test.c: undefined reference to `IMPReturn'
Does anyone have experience with this type of errors?
I assume the problem is that Dev-C++. To avoid this, I tried to copy the
pci.lib file into C:\Dev-C++\Lib and rename it into libpci.a. I also
added the -lpci in the linker option (in project options). After doing
all this my script still doesn't work. Can anyone help me perhaps?
Thank you very much in advance!
Kind regards,
Stef
--
________________________________________________________________________
Stefaan Lhermitte
Research Associate
Lab of Geomatics and Forest Engineering K.U. Leuven
Vital Decosterstraat 102. B-3000 Leuven Belgium
Tel:+32-(0)16-329750 Fax: +32-(0)16-329760 Mobile: +32-(0)494-350842
ste...@ag...
Business Card:
http://perswww.kuleuven.ac.be/~u0027178/VCard/mycard.php?name=stefaanl
________________________________________________________________________
|