[Nel] Linux compiling (was: TCP vs. UDP)
Cyril Corvazier
corvazier@nevrax.com
Thu, 12 Jul 2001 09:32:00 +0200
Hi,
This error is a NeL compilation error, not a STLport version problem.
This should be fixed now. Thanks for the report.
Regards,
Cyril Corvazier
Lead 3d programmer
Nevrax France
----- Original Message -----
From: "Ed Landa" <elanda@xeme.com>
To: <nel@nevrax.org>
Sent: Wednesday, July 11, 2001 7:34 PM
Subject: [Nel] Linux compiling (was: TCP vs. UDP)
> > Ok, normally, it should works on all linux distribution with gcc 2.95 or
> > greater
> > We tested it on radhat, debian and it works well. But you have to
install
>
> I've tried using STLport 4.0 and 4.5, but I still end up with an error in
> one section. It's too much C++ for this C programmer to be able to debug,
so
> I thought I'd ask the list if anyone else is having this problem:
>
> (this isn't pretty, but it looks to me like it is trying to make a STL
call
> that doesn't exist)
>
> $ rpm -q gcc
> gcc-2.96-85
>
> make[1]: Entering directory `/home/elanda/NeL/code/nel/src/3d'
> /bin/sh ../../libtool --mode=compile
c++ -DHAVE_CONFIG_H -I. -I/home/elanda/NeL/
>
code/nel/src/3d -I../../include -I/usr/include/freetype2 -O3 -I/usr/inclu
de/s
>
tlport -I/home/elanda/NeL/code/nel/src -Wno-multichar -D_REENTRANT -I/usr/
X11R
> 6/include -c tile_bank.cpp
> rm -f .libs/tile_bank.lo
>
c++ -DHAVE_CONFIG_H -I. -I/home/elanda/NeL/code/nel/src/3d -I../../include -
I/us
>
r/include/freetype2 -O3 -I/usr/include/stlport -I/home/elanda/NeL/code/nel/s
rc -
>
Wno-multichar -D_REENTRANT -I/usr/X11R6/include -Wp,-MD,.deps/tile_bank.pp -
c ti
> le_bank.cpp -fPIC -DPIC -o .libs/tile_bank.lo
> ../../include/nel/misc/stream.h: In method `void
> NLMISC::IStream::serialSTLContLen (T &, int) [with T =
> _STL::set<string, _STL::less<string>, _STL::allocator<string> >]':
> tile_bank.cpp:616: instantiated from here
> ../../include/nel/misc/stream.h:570: no matching function for call to
> `_STL::set<string, _STL::less<string>, _STL::allocator<string>
> >::insert (_STL::_Rb_tree_iterator<string, _STL::_Const_traits<string>
> >)'
> /usr/include/stlport/stl/_set.h:134: candidates are:
> _STL::pair<typename _STL::_Rb_tree<_Key, _Key, _STL::_Identity<_Tp>,
> _Compare, _Alloc>::const_iterator, bool> _STL::set<_Key, _Compare,
> _Alloc>::insert (const _Key &) [with _Key = string, _Compare =
> _STL::less<string>, _Alloc = _STL::allocator<string>]
> /usr/include/stlport/stl/_set.h:139: typename
> _STL::_Rb_tree<_Key, _Key, _STL::_Identity<_Tp>, _Compare,
> _Alloc>::const_iterator _STL::set<_Key, _Compare, _Alloc>::insert
> (typename _STL::_Rb_tree<_Key, _Key, _STL::_Identity<_Tp>, _Compare,
> _Alloc>::const_iterator, const _Key &) [with _Key = string, _Compare =
> _STL::less<string>, _Alloc = _STL::allocator<string>]
> make[1]: *** [tile_bank.lo] Error 1
>
>
>
> Also, I've put together a .spec file for making a STLport RPM. If anyone
wants
> it, just drop me a line.
>
> Ed
>
> _______________________________________________
> Nel mailing list
> Nel@nevrax.org
> /mailman/listinfo.cgi/nel
>