[ODE] OSX compile problems...

Adam D. Moss aspirin at ntlworld.com
Thu Jan 9 15:36:02 2003


orange144 wrote:
> and when i re-make, here is what i get then:
> 
> 109 [23:18:29] ~/Desktop/ode-0.03 > make ode-test
> gcc -o ode/test/test_chain2.exe ode/test/test_chain2.o lib/libode.a lib/libdrawstuff.a -L/usr/X11R6/lib -lX11 -lGL -lGLU -lm
> ld: Undefined symbols:
> operator delete[](void*)
> operator delete(void*)
> operator new[](unsigned long)
> operator new(unsigned long)
> make: *** [ode/test/test_chain2.exe] Error 1
> 
> something's missing, huh? i guess it may be a problem related to X11 more than ode, but if someone has an idea, it will be very appreciated.

It's not related to X11.  Try linking using g++ instead of gcc.
Alternatively, putting -lstdc++ on the command line might work.
(In either case edit makefile.unix-gcc, which I presume you're using,
or try out makefile.osx)

Regards,
--Adam
-- 
Adam D. Moss   . ,,^^   adam@gimp.org   http://www.foxbox.org/   co:3
"She felt rudderless and directionless, like the dead
 sheep the November rains had carried down the river."