[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nel] nel doesn't compil (here I am realy blocked)!!! PLEASE REPLY!!
From: |
Rapsys|Phoenix |
Subject: |
Re: [Nel] nel doesn't compil (here I am realy blocked)!!! PLEASE REPLY!!! |
Date: |
Tue, 24 Aug 2004 17:36:44 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7.2) Gecko/20040804 |
Rapsys|Phoenix a écrit :
Vianney Lecroart a écrit :
Hi,
I compiled nel on GNU/Linux yesterday evening and I fixed one bug in
driver_opengl.h, some missing file in Makefile.am and the png problem.
Everything else compiled and I linked Mtp Target without problem.
I use gcc 3.3.3 and stlport 4.6. I'll not apply the patch you sent
about autogen.sh since It's not our business but the distro one to
have auto tool name correct. I suggest you to add symlink to these tools.
For the quad_grid.h I didn't have any error so I'll not apply it
without knowing why is this fix for.
Regards,
Vianney
here an other reathon why you need to apply key patch :
the second error log is the result after apply the patch
the third one is the error log i get after applying the two patches...
but I don't know how to fix the least errors...
could you say me how to fix it ???
The error :
make[3]: Entering directory `/opt/tmp/code.orig/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:31,
from animation_optimizer.cpp:32:
../../src/3d/key.h: In member function `void
NL3D::CKeyTCB<T>::serial(NLMISC::IStream&)':
../../src/3d/key.h:101: error: `Value' undeclared (first use this function)
../../src/3d/key.h:101: error: (Each undeclared identifier is reported
only once for each function it appears in.)
../../src/3d/key.h: In member function `void
NL3D::CKeyBezier<T>::serial(NLMISC::IStream&)':
../../src/3d/key.h:148: error: `Value' undeclared (first use this function)
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:254: error: `_MapKey' undeclared (first use
this function)
../../src/3d/track_tcb.h:254: 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:266: 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:276: 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:283: 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:287: 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:300: 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[3]: *** [animation_optimizer.lo] Erreur 1
make[3]: Leaving directory `/opt/tmp/code.orig/nel/src/3d'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/opt/tmp/code.orig/nel/src/3d'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/opt/tmp/code.orig/nel/src'
make: *** [all-recursive] Erreur 1
---------------------------------------------------------------------------------
make[3]: Entering directory `/opt/tmp/code.orig/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:254: error: `_MapKey' undeclared (first use
this function)
../../src/3d/track_tcb.h:254: error: (Each undeclared identifier is
reported only once for each function it appears in.)
../../src/3d/track_tcb.h:254: 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:266: 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:276: 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:283: 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:287: 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:300: 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[3]: *** [animation_optimizer.lo] Erreur 1
make[3]: Leaving directory `/opt/tmp/code.orig/nel/src/3d'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/opt/tmp/code.orig/nel/src/3d'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/opt/tmp/code.orig/nel/src'
make: *** [all-recursive] Erreur 1
----------------------------------------------------------------------------------
make[3]: Entering directory `/opt/tmp/code.orig/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[3]: *** [animation_optimizer.lo] Erreur 1
make[3]: Leaving directory `/opt/tmp/code.orig/nel/src/3d'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/opt/tmp/code.orig/nel/src/3d'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/opt/tmp/code.orig/nel/src'
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/
--- code/nel/src/3d/key.h~gcc3.4-buildfix 2004-08-23 01:28:38.045467544
+0200
+++ code/nel/src/3d/key.h 2004-08-23 01:37:04.752436376 +0200
@@ -106,6 +106,7 @@ public:
f.serial (EaseFrom);
};
+ T Value;
float Tension;
float Continuity;
float Bias;
@@ -162,6 +163,7 @@ public:
*
*/
// @{
+ T Value;
T InTan;
T OutTan;
bool Step;