[ODE] Fwd: [ opende-Bugs-1538583 ] Does not build on MacOS 10.3

Jason Perkins starkos at gmail.com
Fri Aug 11 05:05:34 MST 2006


FYI...

---------- Forwarded message ----------
From: SourceForge.net <noreply at sourceforge.net>
Date: Aug 11, 2006 6:06 AM
Subject: [ opende-Bugs-1538583 ] Does not build on MacOS 10.3

Category: core
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Fabian Herb (cmdr)
Assigned to: Nobody/Anonymous (nobody)
Summary: Does not build on MacOS 10.3

Building ODE on my mac fails due to errors in OPCODE/Ice. Some
constants there begin with an underscore, but according to

http://gcc.gnu.org/ml/gcc-help/2005-02/msg00021.html

these are reserved for the compiler. Replacing all occurences of _X, _Y,
_Z and _W with something else in the files IceAxes.h, IceHPoint.h and
IcePoint.h resolves the problem.

Errors look similar to these:

/my/dir/libode/OPCODE/Ice/IceAxes.h:17: error: parse error before
numeric constant
/my/dir/libode/OPCODE/Ice/IceAxes.h:27: error: `_Y' was not declared
in this scope
/my/dir/libode/OPCODE/Ice/IceAxes.h:27: error: `_Z' was not declared
in this scope
/my/dir/libode/OPCODE/Ice/IceAxes.h:27: error: enumerator value for
`AXES_XYZ' not integer constant

gcc version 3.3 20030304 (Apple Computer, Inc. build 1666)

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=382799&aid=1538583&group_id=24884


More information about the ODE mailing list