nel-all
[Top][All Lists]
Advanced

[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:27:07 +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


gcc-3.3.3 allow non c++ standard code!!!

gcc-3.4.1 (and 3.4 branch) is come back to a strict acceptation of only strict c++ standard...

please make it compile under gcc-3.4.1, or you will not be able to use your program under mandrake 10.1!!!



this is the reason I am obbliged to apply the joined patch :

without :
make[3]: Entering directory `/opt/tmp/code.orig/nel/src/3d'
source='anim_ctrl.cpp' object='anim_ctrl.lo' libtool=yes \
depfile='.deps/anim_ctrl.Plo' tmpdepfile='.deps/anim_ctrl.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 -g -O2 -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 anim_ctrl.lo `test -f 'anim_ctrl.cpp' || echo './'`anim_ctrl.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../src -I/usr/include/freetype2 -g -O3 -DNL_RELEASE_DEBUG -g -O2 -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 anim_ctrl.cpp -MT anim_ctrl.lo -MD -MP -MF .deps/anim_ctrl.TPlo -fPIC -DPIC -o .libs/anim_ctrl.o
In file included from ../../src/3d/lighting_manager.h:30,
                 from ../../src/3d/transform.h:38,
                 from std3d.h:29,
                 from anim_ctrl.cpp:26:
../../src/3d/quad_grid.h: In constructor `NL3D::CQuadGrid<T>::CIterator::CIterator()': ../../src/3d/quad_grid.h:368: error: `_Ptr' undeclared (first use this function) ../../src/3d/quad_grid.h:368: error: (Each undeclared identifier is reported only once for each function it appears in.) ../../src/3d/quad_grid.h: In member function `T& NL3D::CQuadGrid<T>::CIterator::operator*() const': ../../src/3d/quad_grid.h:371: error: `_Ptr' undeclared (first use this function) ../../src/3d/quad_grid.h: In member function `NL3D::CQuadGrid<T>::CIterator& NL3D::CQuadGrid<T>::CIterator::operator++()': ../../src/3d/quad_grid.h:376: error: `_Ptr' undeclared (first use this function) ../../src/3d/quad_grid.h: In member function `NL3D::CQuadGrid<T>::CIterator& NL3D::CQuadGrid<T>::CIterator::operator--()': ../../src/3d/quad_grid.h:380: error: `_Ptr' undeclared (first use this function) ../../src/3d/quad_grid.h: In member function `bool NL3D::CQuadGrid<T>::CIterator::operator==(const NL3D::CQuadGrid<T>::const_iterator&) const': ../../src/3d/quad_grid.h:384: error: `_Ptr' undeclared (first use this function)
make[3]: *** [anim_ctrl.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/

diff -urNp code/nel/src/3d/quad_grid.h~gcc3.4-buildfix 
code/nel/src/3d/quad_grid.h
--- code/nel/src/3d/quad_grid.h~gcc3.4-buildfix 2004-08-23 00:07:57.188389680 
+0200
+++ code/nel/src/3d/quad_grid.h 2004-08-23 00:06:49.278713520 +0200
@@ -385,7 +385,9 @@ public:
                bool operator!=(const const_iterator& x) const
                        {return (!(*this == x)); }
        protected:
+               CNode   *_Ptr;
                friend class CQuadGrid<T>;
+               friend class const_iterator;
        };
 
 

reply via email to

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