nel-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nel] nel doesn't compil (here I am realy blocked)!!! PLEASE REPLY!!!


From: Rapsys|Phoenix
Subject: [Nel] nel doesn't compil (here I am realy blocked)!!! PLEASE REPLY!!!
Date: Mon, 23 Aug 2004 04:07:07 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7.2) Gecko/20040804

I have fixed one more compiling error

please merge the patch in cvs

It would be great if you followed the c++ standard!!!

but I am not able to fix the following one, please fix it!


here is the error I get :
make[1]: Entering directory `/opt/tmp/code/nel/src/3d'
source='animation_optimizer.cpp' object='animation_optimizer.lo' libtool=yes \ depfile='.deps/animation_optimizer.Plo' tmpdepfile='.deps/animation_optimizer.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../src -I/usr/include/freetype2 -g -O3 -DNL_RELEASE_DEBUG -fpermissive -ftemplate-depth-24 -D_REENTRANT -Wall -ansi -W -Wpointer-arith -Wsign-compare -Wno-deprecated-declarations -Wno-multichar -Wno-long-long -Wno-unused -I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/stlport -I../../include -DHAVE_NELCONFIG_H -c -o animation_optimizer.lo `test -f 'animation_optimizer.cpp' || echo './'`animation_optimizer.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../src -I/usr/include/freetype2 -g -O3 -DNL_RELEASE_DEBUG -fpermissive -ftemplate-depth-24 -D_REENTRANT -Wall -ansi -W -Wpointer-arith -Wsign-compare -Wno-deprecated-declarations -Wno-multichar -Wno-long-long -Wno-unused -I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/stlport -I../../include -DHAVE_NELCONFIG_H -c animation_optimizer.cpp -MT animation_optimizer.lo -MD -MP -MF .deps/animation_optimizer.TPlo -fPIC -DPIC -o .libs/animation_optimizer.o
In file included from ../../src/3d/track_keyframer.h:632,
                 from animation_optimizer.cpp:32:
../../src/3d/track_tcb.h: In member function `virtual void NL3D::CTrackKeyFramerTCB<CKeyT, T>::evalKey(const CKeyT*, const CKeyT*, NL3D::TAnimationTime, NL3D::TAnimationTime, NL3D::TAnimationTime, NL3D::IAnimatedValue&)': ../../src/3d/track_tcb.h:233: warning: there are no arguments to `computeHermiteBasis' that depend on a template parameter, so a declaration of `computeHermiteBasis' must be available ../../src/3d/track_tcb.h: In member function `virtual void NL3D::CTrackKeyFramerTCB<CKeyT, T>::compile()': ../../src/3d/track_tcb.h:257: warning: there are no arguments to `getLoopMode' that depend on a template parameter, so a declaration of `getLoopMode' must be available ../../src/3d/track_tcb.h:269: warning: there are no arguments to `getLoopMode' that depend on a template parameter, so a declaration of `getLoopMode' must be available ../../src/3d/track_tcb.h:279: warning: there are no arguments to `getCompiledRangeDelta' that depend on a template parameter, so a declaration of `getCompiledRangeDelta' must be available ../../src/3d/track_tcb.h:286: warning: there are no arguments to `getLoopMode' that depend on a template parameter, so a declaration of `getLoopMode' must be available ../../src/3d/track_tcb.h:290: warning: there are no arguments to `getLoopMode' that depend on a template parameter, so a declaration of `getLoopMode' must be available ../../src/3d/track_tcb.h:303: warning: there are no arguments to `getLoopMode' that depend on a template parameter, so a declaration of `getLoopMode' must be available ../../src/3d/track_keyframer.h: In member function `void NL3D::ITrackKeyFramer<CKeyT>::addKey(const CKeyT&, NL3D::TAnimationTime) [with CKeyT = NL3D::CKeyFloat]':
../../src/3d/track_keyframer.h:707:   instantiated from here
../../src/3d/track_keyframer.h:93: error: dependent-name `_STL::map<NL3D::TAnimationTime, CKeyT, _STL::less<NL3D::TAnimationTime>, _STL::allocator<_STL::pair<const NL3D::TAnimationTime, CKeyT> > >::value_type' is parsed as a non-type, but instantiation yields a type ../../src/3d/track_keyframer.h:93: note: say `typename _STL::map<NL3D::TAnimationTime, CKeyT, _STL::less<NL3D::TAnimationTime>, _STL::allocator<_STL::pair<const NL3D::TAnimationTime, CKeyT> > >::value_type' if a type is meant ../../src/3d/track_keyframer.h: In member function `void NL3D::ITrackKeyFramer<CKeyT>::addKey(const CKeyT&, NL3D::TAnimationTime) [with CKeyT = NL3D::CKeyTCBFloat]':
../../src/3d/track_keyframer.h:753:   instantiated from here
../../src/3d/track_keyframer.h:93: error: dependent-name `_STL::map<NL3D::TAnimationTime, CKeyT, _STL::less<NL3D::TAnimationTime>, _STL::allocator<_STL::pair<const NL3D::TAnimationTime, CKeyT> > >::value_type' is parsed as a non-type, but instantiation yields a type ../../src/3d/track_keyframer.h:93: note: say `typename _STL::map<NL3D::TAnimationTime, CKeyT, _STL::less<NL3D::TAnimationTime>, _STL::allocator<_STL::pair<const NL3D::TAnimationTime, CKeyT> > >::value_type' if a type is meant ../../src/3d/track_keyframer.h: In member function `void NL3D::ITrackKeyFramer<CKeyT>::addKey(const CKeyT&, NL3D::TAnimationTime) [with CKeyT = NL3D::CKeyBezierFloat]':
../../src/3d/track_keyframer.h:798:   instantiated from here
../../src/3d/track_keyframer.h:93: error: dependent-name `_STL::map<NL3D::TAnimationTime, CKeyT, _STL::less<NL3D::TAnimationTime>, _STL::allocator<_STL::pair<const NL3D::TAnimationTime, CKeyT> > >::value_type' is parsed as a non-type, but instantiation yields a type ../../src/3d/track_keyframer.h:93: note: say `typename _STL::map<NL3D::TAnimationTime, CKeyT, _STL::less<NL3D::TAnimationTime>, _STL::allocator<_STL::pair<const NL3D::TAnimationTime, CKeyT> > >::value_type' if a type is meant
make[1]: *** [animation_optimizer.lo] Erreur 1
make[1]: Leaving directory `/opt/tmp/code/nel/src/3d'
make: *** [all-recursive] Erreur 1


--

Software is like sex it's better when it's free.
                                                Linus Tolward

All my rpm there : ftp://ftp.pcds.ch/pub/people/rapsys/
My site : http://rapsys.free.fr/
Besoin d'aide faite un tour ici : http://linuxonfire.free.fr/

diff -urNp code/nel/src/3d/track_tcb.h~gcc3.4-buildfix 
code/nel/src/3d/track_tcb.h
--- code/nel/src/3d/track_tcb.h~gcc3.4-buildfix 2004-08-23 01:49:07.000000000 
+0200
+++ code/nel/src/3d/track_tcb.h 2004-08-23 03:29:30.626907576 +0200
@@ -250,6 +250,9 @@ protected:
        {
                ITrackKeyFramer<CKeyT>::compile();
 
+               typedef typename ITrackKeyFramer<CKeyT>::TMapTimeCKey   
TMapTimeCKeyIterator;
+               TMapTimeCKeyIterator    _MapKey;
+
                // Ease Precompute.
                compileTCBEase(_MapKey, getLoopMode());
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]