[ODE] trouble compiling: msvc makefile

Filipe Dias Filipe Dias" <fdias at mind.pt
Mon May 20 08:16:02 2002


This is a multi-part message in MIME format.

------=_NextPart_000_0033_01C20018.9E892B80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

ooo, a bat file for variable setting!  that is practical..
magic stuff... I don't like magic stuff... At least if it isn't magic =
one is
forced to know what he is doing... :-)

Thanks, I will try that when I get home! :-!

Fil.

> Hi,
>
> I managed to get ODE to compile fine under MSVC 6 without changing any
> of the makefiles or anything complicated like that;
> - I assume you're using the make exe from
> "http://q12.org/ode/bin/make.exe" ? (Saved to the root ode folder)
> - Make sure you set the MSVC environment variables. On my system run
> this command from a DOS prompt (including the quotes);
>         "D:\Program Files\Microsoft Visual =
Studio\VC98\bin\vcvars32.bat"
> - Then from the same DOS prompt in the ode root folder just run =
"make".
> And everything just magically compiles. Hopefully.
>
> Hope that helps.
> Cheers,
> Ed.
>
>
> Filipe Dias wrote:
>
> >Hi,  am having trouble with the makefile in instalation..  I am =
blaming my
> >troubles on my knowledge on makefiles, as I am not keen in them....
> >
> >I am using Visual Studio 6, and I am having two problems in =
compilation:
stdio.h
> >needs to be included from a certain path, and the libraries are not =
being
found
> >by the linker..
> >
> >
> >the first time i tried runing make.exe, the error was =
"configurator.c, line
50
> >(stdio.h): no include path specified"
> >To solve this, I decided to include "/I c:\program files\visual
studio\microsoft
> >bla bla\include" in the rule of makefile for the compilation of the
configurator
> >This error disapeared, and a new one showed up: "can not something
???60.dll",
> >as a temporary solution I decided to copy the *60.dll and other =
needed dlls
do
> >the directory where i was compiling.
> >And it worked, I managed to compile the configurator..  "one down, a =
lot more
to
> >go!"
> >
> >I then decided to look into the makefile in order to find a include =
path that
I
> >would have to set so I could compile everything.  I found it, but if =
I try to
> >write something with spaces (such as "program files") makefile syntax =
errors
> >appear! If i use '"' to delimit it the same happens.
> >
> >Can anyone suggest me what I have to edit in the makefile to get =
everything
in
> >order?
> >
> >I tryed setting the %path% variable, but with no effect..
> >
> >
> >Fil.
> >
> >
> >_______________________________________________
> >ODE mailing list
> >ODE@q12.org
> >http://q12.org/mailman/listinfo/ode
> >
>
>


------=_NextPart_000_0033_01C20018.9E892B80
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.2712.300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#fbf4d9>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>ooo, a bat file=20
for variable setting!&nbsp; that is practical..<BR>magic stuff... I =
don't like=20
magic stuff... At least if it isn't magic one is<BR>forced to know what =
he is=20
doing... :-)<BR><BR>Thanks, I will try that when I get home!=20
:-!<BR><BR>Fil.<BR><BR>&gt; Hi,<BR>&gt;<BR>&gt; I managed to get ODE to =
compile=20
fine under MSVC 6 without changing any<BR>&gt; of the makefiles or =
anything=20
complicated like that;<BR>&gt; - I assume you're using the make exe =
from<BR>&gt;=20
"</FONT><A href=3D"http://q12.org/ode/bin/make.exe"><FONT face=3D"Times =
New Roman"=20
size=3D3>http://q12.org/ode/bin/make.exe</FONT></A><FONT face=3D"Times =
New Roman"=20
size=3D3>" ? (Saved to the root ode folder)<BR>&gt; - Make sure you set =
the MSVC=20
environment variables. On my system run<BR>&gt; this command from a DOS =
prompt=20
(including the =
quotes);<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
"D:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat"<BR>&gt; =
- Then=20
from the same DOS prompt in the ode root folder just run "make".<BR>&gt; =
And=20
everything just magically compiles. Hopefully.<BR>&gt;<BR>&gt; Hope that =

helps.<BR>&gt; Cheers,<BR>&gt; Ed.<BR>&gt;<BR>&gt;<BR>&gt; Filipe Dias=20
wrote:<BR>&gt;<BR>&gt; &gt;Hi,&nbsp; am having trouble with the makefile =
in=20
instalation..&nbsp; I am blaming my<BR>&gt; &gt;troubles on my knowledge =
on=20
makefiles, as I am not keen in them....<BR>&gt; &gt;<BR>&gt; &gt;I am =
using=20
Visual Studio 6, and I am having two problems in =
compilation:<BR>stdio.h<BR>&gt;=20
&gt;needs to be included from a certain path, and the libraries are not=20
being<BR>found<BR>&gt; &gt;by the linker..<BR>&gt; &gt;<BR>&gt; =
&gt;<BR>&gt;=20
&gt;the first time i tried runing make.exe, the error was =
"configurator.c,=20
line<BR>50<BR>&gt; &gt;(stdio.h): no include path specified"<BR>&gt; =
&gt;To=20
solve this, I decided to include "/I c:\program=20
files\visual<BR>studio\microsoft<BR>&gt; &gt;bla bla\include" in the =
rule of=20
makefile for the compilation of the<BR>configurator<BR>&gt; &gt;This =
error=20
disapeared, and a new one showed up: "can not =
something<BR>???60.dll",<BR>&gt;=20
&gt;as a temporary solution I decided to copy the *60.dll and other =
needed=20
dlls<BR>do<BR>&gt; &gt;the directory where i was compiling.<BR>&gt; =
&gt;And it=20
worked, I managed to compile the configurator..&nbsp; "one down, a lot=20
more<BR>to<BR>&gt; &gt;go!"<BR>&gt; &gt;<BR>&gt; &gt;I then decided to =
look into=20
the makefile in order to find a include path that<BR>I<BR>&gt; &gt;would =
have to=20
set so I could compile everything.&nbsp; I found it, but if I try =
to<BR>&gt;=20
&gt;write something with spaces (such as "program files") makefile =
syntax=20
errors<BR>&gt; &gt;appear! If i use '"' to delimit it the same =
happens.<BR>&gt;=20
&gt;<BR>&gt; &gt;Can anyone suggest me what I have to edit in the =
makefile to=20
get everything<BR>in<BR>&gt; &gt;order?<BR>&gt; &gt;<BR>&gt; &gt;I tryed =
setting=20
the %path% variable, but with no effect..<BR>&gt; &gt;<BR>&gt; =
&gt;<BR>&gt;=20
&gt;Fil.<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt;=20
&gt;_______________________________________________<BR>&gt; &gt;ODE =
mailing=20
list<BR>&gt; &gt;ODE@q12.org<BR>&gt;=20
&gt;http://q12.org/mailman/listinfo/ode<BR>&gt;=20
&gt;<BR>&gt;<BR>&gt;</FONT><BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_0033_01C20018.9E892B80--