Just undefine APIENTRY in your glut.h and you should be good to go.

On 12/22/06, Aleksey Y. Ulasevich (STAKANOV) <[EMAIL PROTECTED]> wrote:
> OS: Slackware 11.0
>
> I install OSG from
> ftp://ftp.uni-duisburg.de/FlightGear/Misc_maf/OpenSceneGraph-20061114/OSG_OP_OT-1.2-Flightgear.tar.gz
>
> I get SimGear and FlightGear from CVS with -rHEAD.
> I build SimGear withour errors, but when try to compile FlightGear I see:
> ...
> if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src
> -I/usr/X11R6/include -I/usr/local/include  -g -O2 -D_REENTRANT -MT
> atis.o -MD -MP -MF ".deps/atis.Tpo" -c -o atis.o atis.cxx; \
>         then mv -f ".deps/atis.Tpo" ".deps/atis.Po"; else rm -f
> ".deps/atis.Tpo"; exit 1; fi
> In file included from /usr/local/include/osg/Image:17,
>                  from /usr/local/include/osg/Texture:18,
>                  from /usr/local/include/osg/Texture2D:17,
>                  from /usr/local/include/simgear/scene/model/model.hxx:22,
>                  from AIPlane.hxx:25,
>                  from tower.hxx:37,
>                  from ATCmgr.hxx:34,
>                  from atis.cxx:50:
> /usr/local/include/osg/BufferObject:173: error: expected `)' before '*'
> token
> /usr/local/include/osg/BufferObject:174: error: expected `)' before '*'
> token
> /usr/local/include/osg/BufferObject:175: error: expected `)' before '*'
> token
> /usr/local/include/osg/BufferObject:176: error: expected `)' before '*'
> token
> /usr/local/include/osg/BufferObject:177: error: expected `)' before '*'
> token
>
> ...
> How to correct it?
>
> Thank you.
>
> -------------------------------------------------------------------------
> 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-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>


-- 
http://www.vikaskumar.org/

-------------------------------------------------------------------------
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-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to