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

Re: cegui library for ogre



Addition at bottom :-

2011/7/4 shirish शिरीष <shirishag75@gmail.com>:
> Hi all,
>    First of all please CC me if somebody responds. I am not
> subscribed to the list.
>
>  I want/ed to build a game called sumwars.
>
> See http://sumwars.org/index.php?p=2
>
> As can be seen from that webpage it needs
>
> "Note that Summoning Wars 0.5.4 requires Ogre version>=1.7.0 and CEGUI
> Version>=0.7.0 . If you have trouble getting these libs, try using the
> precompiled build"
>
> So I put up bug 631543
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631543
>
> Where Manuel says
>
> Hello,
>
> As the changelog entry of 1.7.1-1 says:
>   * CEGUI-OGRE Renderer is not present (so the 3 related binary packages go
>     away).
>
> Also:
> http://www.ogre3d.org/tikiwiki/Building+CEGUI
>
> In other words, AFAIK the OgreCEGUIRenderer (or CEGUIOgreRenderer?) is now
> in CEGUI and not in Ogre, and this bug should be closed or reassigned to
> CEGUI, I think.
>
> Now I am just a user, not a programmer. I do see that there is now a
> separate CEGUI library as well.
>
> $ aptitude show libcegui-mk2-0.7.5
> Package: libcegui-mk2-0.7.5
> State: installed
> Automatically installed: no
> Version: 0.7.5-1
> Priority: optional
> Section: libs
> Maintainer: Muammar El Khatib <muammar@debian.org>
> Uncompressed Size: 5,214 k
> Depends: libc6 (>= 2.2.5), libdevil1c2, libexpat1 (>= 1.95.8), libfreeimage3
>         (>= 3.10.0), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:4.1.1),
>         libgl1-mesa-glx | libgl1, libglu1-mesa | libglu1, libjpeg62 (>=
>         6b1), liblcms1 (>= 1.15-1), liblua5.1-0, libmng1 (>= 1.0.10),
>         libpcre3 (>= 7.7), libpng12-0 (>= 1.2.13-4), libstdc++6 (>= 4.4.0),
>         libtiff4, libxcursor1 (> 1.1.2), libxerces-c28, libxml2 (>= 2.7.4),
>         libxpm4, libxxf86vm1, zlib1g (>= 1:1.1.4)
> Conflicts: libcegui-mk2-0c2a
> Replaces: libcegui-mk2-0c2a
> Description: Crazy Eddie's GUI (libraries)
>  CEGUI is a free library providing windowing and widgets for graphics APIs
>  and engines where such functionality is not natively available or is
>  severely lacking. The library is written in C++, is object oriented, and is
>  primarily targeted at games developers who should be spending their time
>  creating great games, not building GUI sub-systems
>
>  This version of CEGUI natively supports the OpenGL rendering target.
> Homepage: http://www.cegui.org.uk/
>
> I do see couple of other packages as well,
>
> libcegui-mk2-1 and libcegui-mk2-dev
>
> Reading from the description as can be seen the last line :-
>
> "This version of CEGUI natively supports the OpenGL rendering target."
>
> Now nowhere in the description is ogre mentioned.
>
> I also read the page at http://www.ogre3d.org/tikiwiki/Building+CEGUI
>
> Perhaps the most relevant line :-
>
> "The recommended approach however is to build CEGUI against the Ogre
> version you want to use. "
>
> Now does it mean that there is a need of another library something like
>
> libcegui-ogre-0.7 or some name like this ? or am I misunderstanding
> the whole thing ?
>
> Looking forward for info.
>
> Sorry for all the noise.
I asked because I tried to compile it and I got/get the following error :-

/usr/local/src/sumwars$ cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/local/bin/gcc
-- Check for working C compiler: /usr/local/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/c++
-- Check for working CXX compiler: /usr/local/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for OGRE...
-- OGRE_PREFIX_WATCH changed.
-- checking for module 'OGRE'
--   found OGRE, version 1.7.3
-- Found Ogre Cthugha (1.7.3)
-- Found OGRE: optimized;/usr/lib/libOgreMain.so;debug;/usr/lib/libOgreMain.so
-- Looking for OIS...
-- OIS_PREFIX_PATH changed.
-- checking for module 'OIS'
--   found OIS, version 1.3.0
-- Found OIS: optimized;/usr/lib/libOIS.so;debug;/usr/lib/libOIS.so
-- Found Lua51: /usr/lib/liblua5.1.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Found CEGUI: /usr/lib/libCEGUIBase.so
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91
(MESSAGE):
  Could NOT find CEGUIOGRE (version requirements: at least ) (missing:
  CEGUIOGRE_INCLUDE_DIRS)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252
(_FPHSA_FAILURE_MESSAGE)
  CMakeModules/FindPackageHandleAdvancedArgs.cmake:44
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeModules/FindCEGUIOGRE.cmake:49 (FIND_PACKAGE_HANDLE_ADVANCED_ARGS)
  CMakeLists.txt:67 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!

As can be seen the error is :-

"/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
  Could NOT find CEGUIOGRE (version requirements: at least ) (missing:
  CEGUIOGRE_INCLUDE_DIRS)"

I also read the INSTALL notes and it said there is a resource at :-

https://launchpad.net/~andrewfenn/+archive/ogredev

I do see a libceguiogre-dev but its only for 1.6.4 and not 1.7.3

$ apt-show-versions -a libceguiogre-dev
Not installed
libceguiogre-dev 1.6.4.dfsg1-1 stable http.us.debian.org
No testing version
No unstable version
libceguiogre-dev not installed

Dunno how to change the bug-report so it reflects that the package is
libceguiogre-dev that needs to be for the new version.

-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17


Reply to: