nel-all
[Top][All Lists]
Advanced

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

[Nel] Compile Error on Linux


From: Andy Smith
Subject: [Nel] Compile Error on Linux
Date: Wed, 03 Nov 2004 06:57:45 -0500
User-agent: Mozilla Thunderbird 0.8 (X11/20040913)

Hello,

I have recently pulled the CVS tree for Nel. I am attempting to compile on a Mandrake 10.0 Linux workstation. While trying to compile Nel I received the following error:

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/local/include/stlport -I../../include -DHAVE_NELCONFIG_H -Wp,-MD,.deps/patch_render.pp -c patch_render.cpp -fPIC -DPIC -o .libs/patch_render.lo
In file included from std3d.h:38,
                 from patch_render.cpp:26:
../../src/3d/debug_vb.h:74:7: warning: no newline at end of file
In file included from ../../src/3d/driver.h:38,
                 from ../../src/3d/patch_rdr_pass.h:31,
                 from ../../src/3d/landscape.h:36,
                 from patch_render.cpp:33:
../../src/3d/texture.h: In copy constructor `NL3D::ITexture::ITexture(const NL3D::ITexture&)': ../../src/3d/texture.h:198: warning: base class `class NLMISC::CBitmap' should be explicitly initialized in the copy constructor ../../src/3d/texture.h:198: warning: base class `class NLMISC::CRefCount' should be explicitly initialized in the copy constructor ../../src/3d/texture.h:198: warning: base class `class NLMISC::IStreamable' should be explicitly initialized in the copy constructor
In file included from ../../src/3d/driver.h:43,
                 from ../../src/3d/patch_rdr_pass.h:31,
                 from ../../src/3d/landscape.h:36,
                 from patch_render.cpp:33:
../../src/3d/material.h: In copy constructor `NL3D::CMaterial::CMaterial(const NL3D::CMaterial&)': ../../src/3d/material.h:272: warning: base class `class NLMISC::CRefCount' should be explicitly initialized in the copy constructor patch_render.cpp: In function `void NL3D::renderFaceVector(TLandscapeIndexType*)':
patch_render.cpp:563: error: pointer of type `void *' used in arithmetic
make[3]: *** [patch_render.lo] Error 1
make[3]: Leaving directory `/home/room/src/nel/code/nel/src/3d'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/room/src/nel/code/nel/src/3d'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/room/src/nel/code/nel/src'
make: *** [all-recursive] Error 1

I can see that the code attempts to += a void pointer with another vaulue nTriIndex. Is there something I am missing? Any suggestions?

Regards,
Andy




reply via email to

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