[ODE] Problems with Make msvc-dll - Solved

Clay Larabie c-larabie at rogers.com
Fri Jul 5 21:08:02 2002


This is a multi-part message in MIME format.

------=_NextPart_000_0019_01C20CEE.51D44210
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

If anyone is having problems building the msvc-dll makefile, here's what =
I did to solve it.

I was getting the following error:

LINK : fatal error LNK1104: cannot open file "lib/ode.dll"
make: *** [lib/ode.lib] Error 1104

I think the main problem is that by default, when you download from cvs =
it doesn't create a /lib folder, so the make fails.=20

Full process below:

Get the latest version of ODE using WinCvs.

'-----wincvs stuff---------'
To retrieve latest CVS snapshot, do the following. (skip this if you use =
command line cvs or don't care)
Download WinCvs if you don't have it already. I'm using version 1.2
Open WinCvs, go to Admin->Preferences
Under CVSRoot enter: anonymous@q12.org:/cvsroot
Authentication: "password" file on the cvs server
Use version: cvs 1.1 (standard)

Click Admin->Login and enter "anonymous" for the password.
It'll say "CVS exited normally with code 0", which is good, we're logged =
in.
Click Create->Checkout Module
Under Enter the module name on the server, type "ode"
Enter the local folder where you want ode downloaded to, and then click =
OK.
'-----end wincvs stuff-------'

Rename the user-settings.example file as "user-settings"
Change user-settings to look like this:

PLATFORM=3Dmsvc-dll
PRECISION=3DSINGLE
BUILD=3Drelease
WINDOWS16=3D0

***Create a folder named Lib below the root ODE folder***

Download make.exe and copy to the ODE folder, you can find a link to it =
from the documentation.

From DOS, run VCVARS32.BAT from Program Files\Microsoft Visual =
Studio\VC98\Bin\
From the ODE folder in dos, type "make"

That's how I got it to work.=20

Clay








------=_NextPart_000_0019_01C20CEE.51D44210
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>If anyone is having problems building =
the msvc-dll=20
makefile, here's what I did to solve it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>I was getting the following =
error:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>LINK : fatal error LNK1104: cannot open =
file=20
"lib/ode.dll"<BR>make: *** [lib/ode.lib] Error 1104</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></DIV>
<DIV><FONT face=3DArial size=3D2>I think the main problem is that by =
default, when=20
you download from cvs it doesn't create a /lib folder, so the make =
fails.=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Full process below:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Get the latest version of ODE using=20
WinCvs.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>'-----wincvs =
stuff---------'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>To retrieve latest CVS snapshot, do the =
following.=20
(skip this if you use command line cvs or don't care)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Download WinCvs if you don't have it =
already. I'm=20
using version 1.2</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Open WinCvs, go to=20
Admin-&gt;Preferences</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Under CVSRoot enter: <A=20
href=3D"mailto:anonymous@q12.org:/cvsroot">anonymous@q12.org:/cvsroot</A>=
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Authentication: "password" file on the =
cvs=20
server</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Use version: cvs 1.1 =
(standard)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Click Admin-&gt;Login and enter =
"anonymous" for the=20
password.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>It'll&nbsp;say&nbsp;"<FONT size=3D2>CVS =
exited=20
normally with code 0", which is good, we're logged =
in.</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Click Create-&gt;Checkout =
Module</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Under Enter the module name on the =
server, type=20
"ode"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Enter the local folder where you want =
ode=20
downloaded to, and then click OK.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>'-----end wincvs =
stuff-------'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Rename the user-settings.example file =
as=20
"user-settings"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Change user-settings to look like=20
this:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>PLATFORM=3Dmsvc-dll</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>PRECISION=3DSINGLE</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>BUILD=3Drelease</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>WINDOWS16=3D0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>***Create a folder named Lib below the =
root ODE=20
folder***</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Download&nbsp;make.exe and copy to the =
ODE folder,=20
you can find&nbsp;a link to it from the documentation.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>From DOS, r</FONT><FONT face=3DArial =
size=3D2>un=20
VCVARS32.BAT from Program Files\Microsoft Visual =
Studio\VC98\Bin\</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>From the ODE folder in dos,&nbsp;type=20
"make"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>That's how I got it to work. =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Clay</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0019_01C20CEE.51D44210--