Package: ogre-contrib
Version: 1.0.6-1
Severity: serious
Tags: patch
When building 'ogre-contrib' on amd64/unstable,
I get the following error:
Making all in src
make[4]: Entering directory
`/ogre-contrib-1.0.6/build-tree/ogre-contrib/PlugIns/CgProgramManager/src'
if /bin/sh ../../../libtool --tag=CXX --mode=compile x86_64-linux-gnu-g++
-DHAVE_CONFIG_H -I. -I. -I../../../OgreMain/include
-I../../../PlugIns/CgProgramManager/include -I../../../OgreMain/include -g
-O2 -fPIC -MT OgreCgProgram.lo -MD -MP -MF ".deps/OgreCgProgram.Tpo" -c -o
OgreCgProgram.lo OgreCgProgram.cpp; \
then mv -f ".deps/OgreCgProgram.Tpo" ".deps/OgreCgProgram.Plo"; else rm
-f ".deps/OgreCgProgram.Tpo"; exit 1; fi
mkdir .libs
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../OgreMain/include
-I../../../PlugIns/CgProgramManager/include -I../../../OgreMain/include -g -O2
-fPIC -MT OgreCgProgram.lo -MD -MP -MF .deps/OgreCgProgram.Tpo -c
OgreCgProgram.cpp -fPIC -DPIC -o .libs/OgreCgProgram.o
../../../OgreMain/include/OgreImage.h:142: error: extra qualification
'Ogre::Image::' on member 'loadDynamicImage'
make[4]: *** [OgreCgProgram.lo] Error 1
make[4]: Leaving directory
`/ogre-contrib-1.0.6/build-tree/ogre-contrib/PlugIns/CgProgramManager/src'
With the attached patch 'ogre-contrib' can be compiled
on amd64 using gcc-4.1.
Regards
Andreas Jochens
diff -urN ../tmp-orig/ogre-contrib-1.0.6/debian/patches/02_gcc-4.1
./debian/patches/02_gcc-4.1
--- ../tmp-orig/ogre-contrib-1.0.6/debian/patches/02_gcc-4.1 1970-01-01
00:00:00.000000000 +0000
+++ ./debian/patches/02_gcc-4.1 2006-08-13 07:46:47.000000000 +0000
@@ -0,0 +1,12 @@
+diff -urN tmp/OgreMain/include/OgreImage.h
ogre-contrib/OgreMain/include/OgreImage.h
+--- tmp/OgreMain/include/OgreImage.h 2005-04-06 13:30:43.000000000 +0000
++++ ogre-contrib/OgreMain/include/OgreImage.h 2006-08-13 07:46:05.000000000
+0000
+@@ -136,7 +136,7 @@
+ @remarks
+ The size of the buffer must be
numFaces*PixelUtil::getMemorySize(width, height, depth, format)
+ */
+- Image& Image::loadDynamicImage( uchar* pData, size_t uWidth,
size_t uHeight,
++ Image& loadDynamicImage( uchar* pData, size_t uWidth, size_t
uHeight,
+ size_t depth,
+ PixelFormat eFormat,
bool autoDelete = false,
+ size_t numFaces = 1,
size_t numMipMaps = 0);
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]