[ODE] Makefile.msvc

Krister Wolff wolff at fy.chalmers.se
Tue Mar 12 01:15:02 2002


Hi,
I'm using ode to simulate a humanoid to evolve walking behavior with Genetic
Programming.
Previously I used ode 0.025 and it worked out nice for me, but when I
decided to upgrade my system to ode 0.03 I've experinced some problems...
I noted that there was a makfile for msvc and I thought that was perfect,
since it should fit better together with my GP-stuff.
I can't simply have Make to build the ode on my system (Win2k and msvc6 with
sp5). Previously with ode 0.025 I used Make with makefile.win32 (which is no
more included with the ode distribution). (I haven't tried to use the
makefile.win32 with the 0.03 distribution, maybe that's the next thing for
me to do?)

I get some errors when i try to build (make all):

cl /nologo /DWIN32 /DMSVC  /DdNODEBUG /Fectest.exe ctest.c
ctest.c
ctest.c(1) : fatal error C1083: Cannot open include file:  'alloca.h': No
such fi
le or directory
tools\rm ctest.c

cl /nologo /DWIN32 /DMSVC  /DdNODEBUG /Fectest.exe ctest.c
ctest.c
ctest.c(2) : error C2143: syntax error : missing ')' before ':'
ctest.c(2) : error C2059: syntax error : ')'
tools\rm ctest.c

*** configurator succeeded ***

lib /nologo /OUT:lib/ode.lib ode/src/array.obj  ode/src/error.obj
ode/src/memory.
obj ode/src/obstack.obj ode/src/odemath.obj ode/src/matrix.obj
ode/src/misc.obj
ode/src/rotation.obj ode/src/mass.obj ode/src/ode.obj  ode/src/step.obj
ode/src/l
cp.obj ode/src/joint.obj ode/src/space.obj ode/src/geom.obj
ode/src/timer.obj od
e/src/mat.obj ode/src/testing.obj ode/src/fastldlt.obj
ode/src/fastlsolve.obj od
e/src/fastltsolve.obj ode/src/fastdot.obj
LIB : fatal error LNK1104: cannot open file "lib/ode.lib"
c:\ode-0.03\make.exe: *** [lib/ode.lib] Error 1104


Has anyone else experinced similar problems with Make and Makefile.msvc?
Grateful for any clues on what I have missed or what I could do about it.

//krister



+---------------------------------------+
 Krister Wolff, MSc
 Department of Physical Resource Theory
 Chalmers University of Technology
 Göteborg University
 S-41296 Göteborg
 Room...: Origo 6154
 Phone..: +46 (0)31 772 3126
 Fax....: +46 (0)31 772 3150
 Email..: wolff@fy.chalmers.se
+---------------------------------------+