[ODE] Am I missing something

Garvin Haslett G.A.Haslett at sussex.ac.uk
Mon Nov 17 13:43:08 MST 2003


I am trying to use ODE on a machine at my University.  ODE is installed in 
a common directory and I have copied one of the example programs to my own 
development area.  When I try to compile the test example I get the 
following response:


gah21 at aethelstan ~/src/dstest
$ g++ -I/usr/local/src/ode/ode-0.039/include 
-L/usr/local/src/ode/ode-0.039/lib
/libdrawstuff.a dstest.cpp
/usr/local/lib/gcc-lib/m68k-unknown-elf/3.2/../../../../m68k-unknown-elf/bi
n/ld:
 warning: cannot find entry symbol _start; defaulting to 80000080
/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o: In function `start()':
/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o(.text+0x12): undefined 
refer
ence to `dsGetViewpoint'
/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o(.text+0x3a): undefined 
refer
ence to `dsSetViewpoint'
/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o: In function 
`simLoop(int)':

/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o(.text+0xd2): undefined 
refer
ence to `dsSetTexture'
/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o(.text+0x1ca): undefined 
refe
rence to `dsSetColor'
/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o(.text+0x1e6): undefined 
refe
rence to `dsDrawSphere'
/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o(.text+0x1f2): undefined 
refe
rence to `dsSetTexture'
/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o(.text+0x276): undefined 
refe
rence to `dsSetColor'
/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o(.text+0x292): undefined 
refe
rence to `dsDrawBox'
/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o(.text+0x2a0): undefined 
refe
rence to `dsSetTexture'
/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o(.text+0x3a0): undefined 
refe
rence to `dsSetColor'
/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o(.text+0x3c0): undefined 
refe
rence to `dsDrawCylinder'
/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o(.text+0x422): undefined 
refe
rence to `dsSetColor'
/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o(.text+0x444): undefined 
refe
rence to `dsDrawCappedCylinder'
/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o: In function 
`command(int)':

/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o(.text+0x464): undefined 
refe
rence to `dsPrint'
/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o: In function `main':
/cygdrive/c/DOCUME~1/gah21/LOCALS~1/Temp/ccOINBxT.o(.text+0x4b2): undefined 
refe
rence to `dsSimulationLoop'
collect2: ld returned 1 exit status

The installation is a cygwin bash shell running on an XP machine, however I 
don't think the problem is platform dependant as I have recreated the 
problem on a my home machine which is running Mandrake Linux 9.0.

Could somone let me know what extra library I need to link in?

Thanks,

Garvin.


More information about the ODE mailing list