Johnny Lollipop schrieb:
> I am following the instructions at: 
> http://www.flightgear.org/Docs/Tutorials/fg_cygwin/fgfs_cygwin.htm
>
> This part works I think: ./configure -–prefix=/fg-cvs
>
> I am having trouble with make.  If you would like the make readout as a 
> notepad txt file I can send it directly to your personal e-mail address. 
>   Otherwise here it is.  Because of the error it is really short.
>
>
> ../../simgear/math/SGQuat.hxx:134:35: macro "min" requires 2 arguments, 
> but only
>   1 given
>   

I had the same problem and the solution was given to me by some nice 
people here on the list - sorry I have no link to the old theme!

Simple way to solve it:

CPPFLAGS=-DNOMINMAX ./configure --prefix=/fg-cvs
(^^ added to ./configure... ^^^^)

or you add to your local .bash_profile file (...home/yourname/..)

LDFLAGS="-L/usr/local/lib"
CXXFLAGS="-pipe -O2 -Wall -DWIN32 -DNOMINMAX -DHAVE_WINDOWS_H"
CFLAGS=$CXXFLAGS
export LDFLAGS
export CXXFLAGS
export CFLAGS


Regards
Georg "HeliFlyer" EDDW

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to