[ODE] dTRIMESH_ENABLED worked here for PC

Russ Smith russ at q12.org
Fri Jul 4 15:28:02 2003


> It seems that it's not.  There must be some errors in the makefile and
> I know little to nothing about those makefiles. But i've finaly
> managed to compile ode+opcode into 1 dll.

there was a bug in the makefile. it's fixed in CVS, but anon CVS is
24hrs out of date (very annoying, i know). the fix is simply to move the
following block

	# support TriMesh/OPCODE on the compiler command line
	ifdef OPCODE_DIRECTORY
	DEFINES+=$(C_DEF)dTRIMESH_ENABLED
	INC_OPCODE=$(C_INC)$(OPCODE_DIRECTORY)
	OPCODE_LIB=$(OPCODE_DIRECTORY)/$(LIB_PREFIX)opcode$(LIB_SUFFIX)
	endif

after the line

	DEFINES=

russ.

-- 
Russell Smith
http://www.q12.org