provides a second -I option, which includes /opt/local/include/. I don't know if this was a good idea but it got me to the next error:
building 'pyepl.hardware.vr.avatar' extension
creating build/temp.macosx-10.8-x86_64-2.6/code/hardware/vr
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -pipe -Os -fwrapv -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c code/hardware/vr/avatar.c -o build/temp.macosx-10.8-x86_64-2.6/code/hardware/vr/avatar.o
In file included from code/hardware/vr/avatar.c:30:
In file included from /usr/local/include/ode/ode.h:30:
/usr/local/include/ode/common.h:102:2: error: You must #define dSINGLE or dDOUBLE
#error You must #define dSINGLE or dDOUBLE
^
/usr/local/include/ode/common.h:130:9: error: unknown type name 'dReal'
typedef dReal dVector3[4];
^
/usr/local/include/ode/common.h:131:9: error: unknown type name 'dReal'
typedef dReal dVector4[4];
^
/usr/local/include/ode/common.h:132:9: error: unknown type name 'dReal'
typedef dReal dMatrix3[4*3];
^
/usr/local/include/ode/common.h:133:9: error: unknown type name 'dReal'
typedef dReal dMatrix4[4*4];
^
…
/usr/local/include/ode/contact.h:62:3: error: unknown type name 'dReal'
dReal soft_cfm;
^
/usr/local/include/ode/contact.h:63:3: error: unknown type name 'dReal'
dReal motion1,motion2,motionN;
^
/usr/local/include/ode/contact.h:64:3: error: unknown type name 'dReal'
dReal slip1,slip2;
^
/usr/local/include/ode/contact.h:85:3: error: unknown type name 'dReal'
dReal depth; ///< penetration depth
^
In file included from code/hardware/vr/avatar.c:30:
In file included from /usr/local/include/ode/ode.h:35:
/usr/local/include/ode/odemath.h:45:31: error: unknown type name 'dReal'
PURE_INLINE void dAddVectors3(dReal *res, const dReal *a, const dReal *b)
^
/usr/local/include/ode/odemath.h:45:49: error: unknown type name 'dReal'
PURE_INLINE void dAddVectors3(dReal *res, const dReal *a, const dReal *b)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: command '/usr/bin/clang' failed with exit status 1
hmmm…
Last edit: Iain 2014-01-14
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Adding $(INCLUDEDIR) the end of this line in the sound makefile:
g++ -bundle -undefined suppress -flat_namespace soundFile_wrap.o soundFile.o -lsndfile -lsamplerate -o _soundFile.so $(LIBDIR)
provides a second -I option, which includes /opt/local/include/. I don't know if this was a good idea but it got me to the next error:
hmmm…
Last edit: Iain 2014-01-14