Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 165650

Summary: dev-games/ogre-1.2.4 fails to build with cegui-0.5.0
Product: Gentoo Linux Reporter: Anton Romanov <theli.ua>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: arrummzen, Petr.Kocmid, seventhguardian
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info output
emerge -evp ogre

Description Anton Romanov 2007-02-06 17:46:05 UTC
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 Anton Romanov 2007-02-06 18:08:56 UTC
Created attachment 109355 [details]
emerge --info output
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2007-02-07 02:40:54 UTC
Attach the output from "emerge -evp ogre" as text/plain please.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2007-02-07 04:33:12 UTC
reopen after attaching that.  Thanks.
Comment 4 Anton Romanov 2007-02-07 05:03:01 UTC
Created attachment 109402 [details]
emerge -evp ogre
Comment 5 Anton Romanov 2007-02-07 05:03:26 UTC
attached
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2007-02-07 07:47:16 UTC
Use cegui-0.4.1.  The newer ogre releases don't work with cegui-0.5.0.
Comment 7 James Steven Supancic III 2007-02-10 13:06:31 UTC
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 Petr Kocmid 2007-02-14 01:06:44 UTC
(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 Tristan Heaven (RETIRED) gentoo-dev 2007-02-14 13:05:15 UTC
*** Bug 166821 has been marked as a duplicate of this bug. ***
Comment 10 Mr. Bones. (RETIRED) gentoo-dev 2007-02-14 20:14:26 UTC
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