I also tried out the SVN, which in turn returns the following errors, at 68% of 
the building process:

[ 68%] Building CXX object 
src/osgPlugins/ive/CMakeFiles/osgdb_ive.dir/DOFTransform.o
In file included from 
/usr/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../include/c++/4.4.2/ios:45,
                 from 
/usr/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../include/c++/4.4.2/ostream:41,
                 from 
/usr/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../include/c++/4.4.2/iostream:41,
                 from 
/home/nang/OpenSceneGraph/src/osgPlugins/ive/DataInputStream.h:6,
                 from 
/home/nang/OpenSceneGraph/src/osgPlugins/ive/ReadWrite.h:5,
                 from 
/home/nang/OpenSceneGraph/src/osgPlugins/ive/DOFTransform.h:6,
                 from 
/home/nang/OpenSceneGraph/src/osgPlugins/ive/DOFTransform.cpp:16:
/usr/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../include/c++/4.4.2/streambuf:163:
 error: ‘&’ cannot appear in a constant-expression
/usr/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../include/c++/4.4.2/streambuf:163:
 error: ‘&’ cannot appear in a constant-expression
/usr/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../include/c++/4.4.2/streambuf:163:
 error: a function call cannot appear in a constant-expression
/usr/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../include/c++/4.4.2/streambuf:163:
 error: template argument 1 is invalid
/usr/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../include/c++/4.4.2/streambuf:163:
 error: template argument 2 is invalid
/usr/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../include/c++/4.4.2/streambuf:163:
 error: template argument 3 is invalid
/usr/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../include/c++/4.4.2/streambuf:163:
 error: expected ‘)’ before ‘;’ token
make[2]: *** [src/osgPlugins/ive/CMakeFiles/osgdb_ive.dir/DOFTransform.o] Error 
1
make[1]: *** [src/osgPlugins/ive/CMakeFiles/osgdb_ive.dir/all] Error 2
make: *** [all] Error 2

Oh, by the way, I use GCC 4.4.2. Sorry about before...

From: muadiba...@hotmail.com
To: flightgear-users@lists.sourceforge.net
Subject: OSG compiling error on Fedora
Date: Wed, 30 Dec 2009 11:22:06 +0000








Greetings!

I am new in FlightGear and I started compiling from source since my distro's 
version is way too old (0.9.6.something). So I started building the 
prerequisites required, but now I am stuck on OSG, which, after doing 

     unzip OpenSceneGraph-2.8.2.zip
     cd OpenSceneGraph-2.8.2/
     ./configure 
     nano cmake_install.cmake  (for changing the install dir to "/usr")
     make

and after having successfully built all the Objects, it gives me these errors 
when it comes to osgviewer, which I posted on pastebin:

http://pastebin.com/m1f24a157

My machine: p...@3ghz, Fedora 8 with kernel 2.6.26.8-57, ATI Radeon 9550, GCC 
4.1.2

Thanks in advance, folks!  :)
                                          
                                          
_________________________________________________________________
Windows Live: Dina vänner får dina uppdateringar från Flickr, Yelp och Digg när 
de skickar e-post till dig.
http://www.microsoft.com/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:sv-se:SI_SB_3:092010
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to