[Flightgear-devel] Another error: Building SimGear CVS under Cygwin
Hi Erik and Vivian, thank you for your quick replies. I am sorry to show up here again with another error message .. but one solved, the next came :-/ Erik: /Anyhow, I have fixed this in CVS now Georg, thanks for reporting this. /Erik This is solved, thank you! but this is the (very long, sorry) error output of make: (BTW: getting this errors is very educational. I had to read nearly an hour until I found out how to redirect the *error* messages under Cygwin bash with 2. But the bash and me get more and more friends :-) ) (not translated, I only changed the German expressions Zeichen = char Fehler = error) In file included from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/vector:72, from ../../simgear/math/sg_types.hxx:40, from ../../simgear/misc/sg_path.hxx:36, from ../../simgear/ephemeris/stardata.hxx:31, from ephemeris.hxx:45, from ephemeris.cxx:28: /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h: In member function `void std::vectorbool, _Alloc::_M_insert_range(std::_Bit_iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag)': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h:522: error: expected unqualified-id vor (-char /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h: In member function `void std::vectorbool, _Alloc::_M_fill_insert(std::_Bit_iterator, size_t, bool)': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h:823: error: expected unqualified-id vor (-char In file included from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/vector:75, from ../../simgear/math/sg_types.hxx:40, from ../../simgear/misc/sg_path.hxx:36, from ../../simgear/ephemeris/stardata.hxx:31, from ephemeris.hxx:45, from ephemeris.cxx:28: /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/vector.tcc: In member function `void std::vector_Tp, _Alloc::_M_fill_insert(__gnu_cxx::__normal_iteratortypename _Alloc::pointer, std::vector_Tp, _Alloc , size_t, const _Tp)': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/vector.tcc:307: error: expected unqualified-id vor (-char /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/vector.tcc: In member function `void std::vector_Tp, _Alloc::_M_range_insert(__gnu_cxx::__normal_iteratortypename _Alloc::pointer, std::vector_Tp, _Alloc , _ForwardIterator, _ForwardIterator, std::forward_iterator_tag)': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/vector.tcc:384: error: expected unqualified-id vor (-char make[3]: *** [ephemeris.o] error 1 make[2]: *** [all-recursive] error 1 make[1]: *** [all] error 2 make: *** [all-recursive] error 1 Is this a gcc-error or error in ephemeris.* ??? Vivian: /If you are using Norman Vines pre-prepared OpenAL stuff there is a further /.. /Vivian If I *only* get to the FlightGear stuff then I'll remember your hint. Erik and Vivian, thank you once again! Georg ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Another error: Building SimGear CVS under Cygwin
Georg Vollnhals wrote: But the bash and me get more and more friends :-) ) (not translated, I only changed the German expressions Zeichen = char Fehler = error) No need, I can read German (and understand it as well). In file included from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/vector:72, from ../../simgear/math/sg_types.hxx:40, from ../../simgear/misc/sg_path.hxx:36, from ../../simgear/ephemeris/stardata.hxx:31, from ephemeris.hxx:45, from ephemeris.cxx:28: /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h: In member function `void std::vectorbool, _Alloc::_M_insert_range(std::_Bit_iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag)': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h:522: error: expected unqualified-id vor (-char /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h: In member function `void std::vectorbool, _Alloc::_M_fill_insert(std::_Bit_iterator, size_t, bool)': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h:823: error: expected unqualified-id vor (-char In file included from Ouch, this is a tough one. I've searched all over the place, but g++ 3.4.x seems not to accept one or more of the declarations in math/sg_types.h which is accepted by almost all other compilers. I have no clue which one it doesn't accept :-( Erik ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Another error: Building SimGear CVS under Cygwin
Quoting Erik Hofman: Georg Vollnhals wrote: But the bash and me get more and more friends :-) ) (not translated, I only changed the German expressions Zeichen = char Fehler = error) No need, I can read German (and understand it as well). In file included from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/vector:72, from ../../simgear/math/sg_types.hxx:40, from ../../simgear/misc/sg_path.hxx:36, from ../../simgear/ephemeris/stardata.hxx:31, from ephemeris.hxx:45, from ephemeris.cxx:28: /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h: In member function `void std::vectorbool, _Alloc::_M_insert_range(std::_Bit_iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag)': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h:522: error: expected unqualified-id vor (-char /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h: In member function `void std::vectorbool, _Alloc::_M_fill_insert(std::_Bit_iterator, size_t, bool)': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h:823: error: expected unqualified-id vor (-char In file included from Ouch, this is a tough one. I've searched all over the place, but g++ 3.4.x seems not to accept one or more of the declarations in math/sg_types.h which is accepted by almost all other compilers. I have no clue which one it doesn't accept :-( Does it help to put #include vector *before* #include simgear/compiler.h in math/sg_types.hxx -Fred ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] Another error: Building SimGear CVS under Cygwin
Georg Vollnhals thank you for your quick replies. I am sorry to show up here again with another error message .. but one solved, the next came :-/ Erik: /Anyhow, I have fixed this in CVS now Georg, thanks for reporting this. /Erik This is solved, thank you! but this is the (very long, sorry) error output of make: (BTW: getting this errors is very educational. I had to read nearly an hour until I found out how to redirect the *error* messages under Cygwin bash with 2. But the bash and me get more and more friends :-) ) not really necessary - just copy/paste from the Cygwin window. (not translated, I only changed the German expressions Zeichen = char Fehler = error) In file included from /usr/lib/gcc/i686-pc- cygwin/3.4.4/include/c++/vector:72, from ../../simgear/math/sg_types.hxx:40, from ../../simgear/misc/sg_path.hxx:36, from ../../simgear/ephemeris/stardata.hxx:31, from ephemeris.hxx:45, from ephemeris.cxx:28: /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h: In member function `void std::vectorbool, _Alloc::_M_insert_range(std::_Bit_iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag)': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h:522: error: expected unqualified-id vor (-char /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h: In member function `void std::vectorbool, _Alloc::_M_fill_insert(std::_Bit_iterator, size_t, bool)': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h:823: error: expected unqualified-id vor (-char In file included from /usr/lib/gcc/i686-pc- cygwin/3.4.4/include/c++/vector:75, from ../../simgear/math/sg_types.hxx:40, from ../../simgear/misc/sg_path.hxx:36, from ../../simgear/ephemeris/stardata.hxx:31, from ephemeris.hxx:45, from ephemeris.cxx:28: /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/vector.tcc: In member function `void std::vector_Tp, _Alloc::_M_fill_insert(__gnu_cxx::__normal_iteratortypename _Alloc::pointer, std::vector_Tp, _Alloc , size_t, const _Tp)': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/vector.tcc:307: error: expected unqualified-id vor (-char /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/vector.tcc: In member function `void std::vector_Tp, _Alloc::_M_range_insert(__gnu_cxx::__normal_iteratortypename _Alloc::pointer, std::vector_Tp, _Alloc , _ForwardIterator, _ForwardIterator, std::forward_iterator_tag)': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/vector.tcc:384: error: expected unqualified-id vor (-char make[3]: *** [ephemeris.o] error 1 make[2]: *** [all-recursive] error 1 make[1]: *** [all] error 2 make: *** [all-recursive] error 1 Is this a gcc-error or error in ephemeris.* ??? Well, all I can say is that it compiles here, using gcc 3.4.4 I have found it necessary to add the following to my bash_profile: LDFLAGS=-L/usr/local/lib CXXFLAGS=-pipe -O2 -Wall -DWIN32 -DNOMINMAX -DHAVE_WINDOWS_H CFLAGS=$CXXFLAGS export LDFLAGS export CXXFLAGS export CFLAGS Vivian ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] Another error: Building SimGear CVS under Cygwin
Hi Fred, /Does it help to put #include vector *before* #include simgear/compiler.h in /math/sg_types.hxx /-Fred I CHANGED THE POSITION OF #include vector: ... #include vector #include simgear/compiler.h #include STL_STRING //#include vector (original position) #include simgear/math/point3d.hxx ... but the result was the same (error as described) Regards Georg ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d