Re: TerraGear CVS compile problem under Cygwin
"Curtis L. Olson" <[email protected]> Mon, 19 Dec 2005 11:10:42 -0600
| Newsgroups | gmane.games.flightgear.terragear.devel |
|---|---|
| Message-ID | <[email protected]> |
Norman Princen wrote:
> I am trying to build TerraGear using the current version of Cygwin. I
> have downloaded the current TerraGear CVS version and am using the
> following other packages:
>
> gpc232.zip
> gts-0.7.4.tar.gz
> newmat11.tar.gz
> plib-1.8.4.tar.gz
> SimGear-0.3.9.tar.gz
>
> All of these have already been compiled without errors and installed
> in my /usr/local/lib directory. I then successfully executed:
>
> ./autogen.sh
> LDFLAGS="-L/usr/local/lib" ./configure
> make
>
> Unfortunately, compilation goes for a while and then stops with the
> following error:
>
> Making all in MergerClipper
> make[3]: Entering directory
> `/usr/local/source/terragear/src/Prep/MergerClipper'
>
> if g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include
> -I../../../src/Lib -g -O2 -MT testmerger.o -MD -MP -MF
> ".deps/testmerger.Tpo" -c -o testmerger.o testmerger.cxx; \
> then mv -f ".deps/testmerger.Tpo" ".deps/testmerger.Po"; else rm -f
> ".deps/testmerger.Tpo"; exit1; fi
> In file included from
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/vector:72,
> from /usr/local/include/simgear/math/sg_types.hxx:40,
> from merger.hxx:35,
> from testmerger.cxx:29:
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h: In
> member function `void std::vector<bool,
> _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 before '(' token
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h: In
> member function `void std::vector<bool,
> _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 before '(' token
> In file included from
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/vector:75,
> from /usr/local/include/simgear/math/sg_types.hxx:40,
> from merger.hxx:35,
> from testmerger.cxx:29:
> /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_iterator<typename
> _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 before '(' token
> /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_iterator<typename
> _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 before '(' token
> make[3]: *** [testmerger.o] Error 1
> make[3]: Leaving directory
> `/usr/local/source/terragear/src/Prep/MergerClipper'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/source/terragear/src/Prep'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/source/terragear/src'
> make: *** [all-recursive] Error 1
>
> Could someone please help me sort this out? I am relatively
> inexperienced at this sort of thing.
Frederic sent me some patches which I have just committed to terragear
CVS. Perhaps you could try this again with a latest cvs version of the
code and see if you are able to get a bit further.
Regards,
Curt.
--
Curtis Olson http://www.flightgear.org/~curt
HumanFIRST Program http://www.humanfirst.umn.edu/
FlightGear Project http://www.flightgear.org
Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d
_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d