[ODE] problem compiling test_trimesh.cpp

Darío Mariani mariani.dario at gmail.com
Fri Jul 15 10:46:18 MST 2005


You did not compile tri-mesh support. Reconfigure ODE with:

$ ./configure --with-opcode

I also use --enable-release and --with-double-precision switches.

       Darío

On 7/15/05, e990152 at dee.isep.ipp.pt <e990152 at dee.isep.ipp.pt> wrote:
> 
> 
> I have problem of linking during compilation of test_trimesh.cpp.
> Down i show the compilation error.
> 
> Best regards
> Goulart
> 
> 
> 
> g++ -o odetest odetest.cpp    -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/lib/X11R6
> -L/usr/lib/X11 -lX11 -lGL -lGLU -lm -lode
> 
> /tmp/ccsOL50R.o(.text+0x1690): In function `main':
> : undefined reference to `dGeomTriMeshDataCreate'
> /tmp/ccsOL50R.o(.text+0x16ac): In function `main':
> : undefined reference to `dGeomTriMeshDataBuildSimple'
> /tmp/ccsOL50R.o(.text+0x16c6): In function `main':
> : undefined reference to `dCreateTriMesh'
> collect2: ld returned 1 exit status
> 
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>



More information about the ODE mailing list