[ODE] ode won't build on vc7.0?
Jon Watte
hplus-ode at mindcontrol.org
Tue May 11 17:27:10 MST 2004
You don't have to shift anything around. You can easily set up the project file to point at the existing includes, using relative or absolute paths. This is all about knowing the tool you're using, and almost nothing at all about ODE itself.
I zipped up the project files I use to build "libode". You'll need to copy config.h (I'm using floats and with trimesh) into include/; that's the extent of the modifications necessary in the standard ODE install. I last updated from CVS about two weeks ago I think. The archive should be un-zipped next to the "ode" directory at the top level for the relative paths to work.
http://www.mindcontrol.org/~hplus/ode-msvc71.zip
You could add this as a "contrib" if you want, but the paths are not set up to work well from the "contrib" location. Also, I may have missed some paths; I'm not sure that they are all relative -- you'll notice if this is the case :-)
Cheers,
/ h+
-----Original Message-----
From: Mike Reinstein [mailto:web_fella at hotmail.com]
Sent: Tuesday, May 11, 2004 5:02 PM
To: hplus-ode at mindcontrol.org; ode at q12.org
Subject: RE: [ODE] ode won't build on vc7.0?
For some reason, it still wont build.
I create a new win32 project in vc7, remove all the files such as stadafx.h,
stadafx.cpp, all of the *.rc and *.ico files. Then I copy all of the h and
cpp files out of ode/src into my project folder. I also copy include/
directory to my projects directory. I click rebuild all. OPCODE seems to
build fine, but when I try to build the main ode stuff, I get errors saying
"cannot open include file <ode/config.h>"
along with several other headers. I add the path to the include directory to
my list of Additional include directory list for the project, still nothing.
I even copy the ode directory to my visual studio/vc7/include directory, and
I still get nothing.
What am I doing wrong here? We really should add a vc7 workspace to ODE, so
that developers using modern microsoft compilers dont have to shift stuff
around every time we want to checkout the code from cvs...vc6 workspaces are
very outdated, and ODE includes that in the src...can we add a vc7 workspace
that builds? If someone can help me get this working I can cvs my own copy
at the same level as the vc6 directory if y'all like.
kind regards,
Neko
>From: "Jon Watte" <hplus-ode at mindcontrol.org>
>To: "Mike Reinstein"
<web_fella at hotmail.com>,<ode at q12.org>
>Subject: RE: [ODE] ode won't build on vc7.0?
>Date: Tue, 11 May 2004 15:33:17 -0700
>
>
>I just add all the .cpp files to a project, copy the appropriate
config.h into the ODE include, set the access paths, and go. It works fine,
although you may need to disable the 64-bit warnings. Also, there used to be
a few .cpp files you shouldn't add, because they were "old" --
some of them are deleted now, but I don't know if all of them are.
>
>Cheers,
>
> / h+
>
>
>-----Original Message-----
>From: ode-bounces at q12.org [mailto:ode-bounces at q12.org]On Behalf Of Mike
>Reinstein
>Sent: Tuesday, May 11, 2004 2:54 PM
>To: ode at q12.org
>Subject: [ODE] ode won't build on vc7.0?
>
>
>
>Is anyone else having problems building ODE on a windows system with
>microsoft visual studio.net vc7.0?
>
>I used to be able to build it fine, but I was using vc6.0. Now it doesnt
>seem to build.
>Heres my build steps:
>
>1) checkout a copy of ode from cvs to c:\cvs\ode
>
>2) download the make utility from:
>http://q12.org/ode/bin/make.exe
>
>3) put the make.exe file in my windows/system32/ directory
>
>4) open up c:\cvs\ode\config\user_settings, and I use the following
>settings:
>PLATFORM=msvc
>PRECISION=SINGLE
>BUILD=debug
>WINDOWS16=0
>
>5) I open up a console window and try to build..heres my output
>
>C:\CVS\ODE>make
>cl /nologo /DWIN32 /DdSINGLE /Feconfigurator.exe configurator.c
>process_begin: CreateProcess((null), cl /nologo /DWIN32 /DdSINGLE
>/Feconfigurato
>r.exe configurator.c, ...) failed.
>make (e=2): The system cannot find the file specified.
>MAKE: *** [configurator.exe] Error 2
>
>C:\CVS\ODE>make configure
>cl /nologo /DWIN32 /DdSINGLE /Feconfigurator.exe configurator.c
>process_begin: CreateProcess((null), cl /nologo /DWIN32 /DdSINGLE
>/Feconfigurato
>r.exe configurator.c, ...) failed.
>make (e=2): The system cannot find the file specified.
>MAKE: *** [configurator.exe] Error 2
>
>
>What am I doing wrong? Its obviously failing when attempting to build
the
>configurator tool
>
>thanks for pardoning my ignorance :P
>
>-Neko
>
>_________________________________________________________________
>Best Restaurant Giveaway Ever! Vote for your favorites for a chance to
win
>$1 million! http://local.msn.com/special/giveaway.asp
>
>_______________________________________________
>ODE mailing list
>ODE at q12.org
>http://q12.org/mailman/listinfo/ode
>
_________________________________________________________________
Watch LIVE baseball games on your computer with MLB.TV, included with MSN
Premium!
http://join.msn.com/?page=features/mlb&pgmarket=en-us/go/onm00200439ave/direct/01/
More information about the ODE
mailing list