1、准备好文件
2、make ogre 见之前文章
http://blog.csdn.net/pathfinder163/article/details/7078368
3、make cegui
dengpei@dengpei-pc:~/ogre/cegui/CEGUI-0.7.5$ lsacinclude.m4 cegui configure install-sh Makefile.am Samples
aclocal.m4 config.guess configure.ac lib Makefile.in
autom4te.cache config.log datafiles libtool missing
bin config.status depcomp ltmain.sh Ogre.log
bootstrap config.sub doc Makefile projects
dengpei@dengpei-pc:~/ogre/cegui/CEGUI-0.7.5$
dengpei@dengpei-pc:~/ogre/cegui/CEGUI-0.7.5$ cd bin/
dengpei@dengpei-pc:~/ogre/cegui/CEGUI-0.7.5/bin$ ls
CEGUI.log DragDropDemo FontDemo ScrollablePaneDemo TreeDemo
Demo6 FalagardDemo1 Minesweeper TabControlDemo
Demo7 FirstWindow Ogre.log TextDemo
-- CEGUI Sample Application Framework --
Please select a renderer:
1. Ogre3D GUI Renderer.
2. OpenGL GUI Renderer.
1
Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
DDS codec registering
FreeImage version: 3.15.1
This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,sti
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
plugins.cfg not found, automatic plugin loading disabled.
*-*-* OGRE Initialising
*-*-* Version 1.7.3 (Cthugha)
Error: Shell widget menu has zero width and/or height
dengpei@dengpei-pc:~/ogre/cegui/CEGUI-0.7.5/bin$
提示 plugins.cfg not found
把 ogre plugins.cfg resources.cfg
拷贝到 cegui bin 目录下即可
运行: