Bug 165650 - dev-games/ogre-1.2.4 fails to build with cegui-0.5.0
Bug#: 165650 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: theli@ukr.net
Component: Games
URL: 
Summary: dev-games/ogre-1.2.4 fails to build with cegui-0.5.0
Keywords:  
Status Whiteboard: 
Opened: 2007-02-06 17:46 0000
Description:   Opened: 2007-02-06 17:46 0000
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../OgreMain/include
-I../../../../Samples/Common/CEGUIRenderer/include
-I../../../../OgreMain/include -I/usr/include/CEGUI -march=athlon-xp
-mfpmath=sse -O2 -pipe -fomit-frame-pointer -m3dnow -mmmx -msse -pthread -MT
OgreCEGUITexture.lo -MD -MP -MF .deps/OgreCEGUITexture.Tpo -c
OgreCEGUITexture.cpp  -fPIC -DPIC -o .libs/OgreCEGUITexture.o
OgreCEGUIRenderer.cpp: In member function 'virtual CEGUI::Texture*
CEGUI::OgreCEGUIRenderer::createTexture()':
OgreCEGUIRenderer.cpp:360: error: cannot allocate an object of abstract type
'CEGUI::OgreCEGUITexture'
../../../../Samples/Common/CEGUIRenderer/include/OgreCEGUITexture.h:42: note:  
because the following virtual functions are pure within
'CEGUI::OgreCEGUITexture':
/usr/include/CEGUI/CEGUITexture.h:169: note:    virtual void
CEGUI::Texture::loadFromMemory(const void*, CEGUI::uint, CEGUI::uint,
CEGUI::Texture::PixelFormat)


Reproducible: Always

------- Comment #1 From Anton Romanov 2007-02-06 18:08:56 0000 -------
Created an attachment (id=109355) [details]
emerge --info output

------- Comment #2 From Mr. Bones. 2007-02-07 02:40:54 0000 -------
Attach the output from "emerge -evp ogre" as text/plain please.

------- Comment #3 From Mr. Bones. 2007-02-07 04:33:12 0000 -------
reopen after attaching that.  Thanks.

------- Comment #4 From Anton Romanov 2007-02-07 05:03:01 0000 -------
Created an attachment (id=109402) [details]
emerge -evp ogre

------- Comment #5 From Anton Romanov 2007-02-07 05:03:26 0000 -------
attached

------- Comment #6 From Mr. Bones. 2007-02-07 07:47:16 0000 -------
Use cegui-0.4.1.  The newer ogre releases don't work with cegui-0.5.0.

------- Comment #7 From James Steven Supancic III 2007-02-10 13:06:31 0000 -------
So is this an upstream problem? 
Could the ogre ebuild be modified to present an error if cegui-0.5.0 is
installed?

Thank you for your time,
James Steven Supancic III

------- Comment #8 From Petr Kocmid 2007-02-14 01:06:44 0000 -------
(In reply to comment #6)
> Use cegui-0.4.1.  The newer ogre releases don't work with cegui-0.5.0.
> 

I feel much better solution will be putting cegui in slots. Or upgrading ogre
to 1.4 since 1.2.5 is so ancient today. Or both.

------- Comment #9 From Tristan Heaven 2007-02-14 13:05:15 0000 -------
*** Bug 166821 has been marked as a duplicate of this bug. ***

------- Comment #10 From Mr. Bones. 2007-02-14 20:14:26 0000 -------
Added big fat warnings for threads and dies if you have cegui-0.5 installed.

As fixed as it gets with ogre-1.2.5