Package Details: ogre-1.8 1.8.1-4

Git Clone URL: https://aur.archlinux.org/ogre-1.8.git (read-only, click to copy)
Package Base: ogre-1.8
Description: Scene-oriented, flexible 3D engine written in C++. Version 1.8.
Upstream URL: http://www.ogre3d.org
Licenses: custom:MIT
Provides: ogre
Submitter: bchretien
Maintainer: None
Last Packager: bchretien
Votes: 6
Popularity: 0.000000
First Submitted: 2013-12-10 17:56 (UTC)
Last Updated: 2015-06-21 07:16 (UTC)

Latest Comments

osvein commented on 2017-06-14 11:28 (UTC)

CXXFLAGS+=' -Wno-narrowing' seems to work too.

Singularity commented on 2017-04-30 16:48 (UTC)

the CXXFLAGS+=' -std=gnu++98' line posted by Megameneer fixes building, please add this.

Megameneer commented on 2016-07-06 11:36 (UTC)

I have found a solution at the forum today at https://bbs.archlinux.org/viewtopic.php?id=214518 The build process should be this: build() { cd ${srcdir}/${_src_dir} # patching CMake script for Freetype patch -p1 -i ${startdir}/freetype.patch # get a clean build dir [[ -d build ]] && rm -rf build mkdir build && cd build CXXFLAGS+=' -std=gnu++98' # generate CMake Makefile cmake .. \ -DCMAKE_INSTALL_PREFIX=/opt/${_dir} \ -DOGRE_INSTALL_PLUGINS_HEADERS=TRUE \ -DOGRE_INSTALL_SAMPLES=TRUE \ -DOGRE_INSTALL_DOCS=FALSE \ -DOGRE_INSTALL_MEDIA=TRUE \ -DOGRE_INSTALL_SAMPLES_SOURCE=TRUE \ -DCMAKE_BUILD_TYPE=Release # set =Debug for debugging version # compile make } Please update this

Megameneer commented on 2016-06-26 20:15 (UTC)

I had an error when I tried to compile this thing. These were the last lines on the terminal: [ 42%] Building CXX object RenderSystems/GL/CMakeFiles/RenderSystem_GL.dir/src/atifs/src/ATI_FS_GLGpuProgram.cpp.o In file included from /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/OgreMain/include/OgreNode.h:34:0, from /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/OgreMain/include/OgreSceneNode.h:33, from /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/OgreMain/include/OgreSceneManager.h:37, from /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/OgreMain/include/OgreSceneManagerEnumerator.h:33, from /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/OgreMain/include/OgreRoot.h:36, from /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ATI_FS_GLGpuProgram.cpp:31: /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/OgreMain/include/OgreMatrix3.h: In member function ‘Ogre::Real* Ogre::Matrix3::operator[](size_t) const’: /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/OgreMain/include/OgreMatrix3.h:117:24: warning: cast from type ‘const Real* {aka const float*}’ to type ‘Ogre::Real* {aka float*}’ casts away qualifiers [-Wcast-qual] return (Real*)m[iRow]; ^ [ 42%] Building CXX object RenderSystems/GL/CMakeFiles/RenderSystem_GL.dir/src/atifs/src/Compiler2Pass.cpp.o [ 42%] Building CXX object RenderSystems/GL/CMakeFiles/RenderSystem_GL.dir/src/atifs/src/ps_1_4.cpp.o /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:689:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] }; ^ /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:689:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:689:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:689:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:689:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:689:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:751:1: error: narrowing conversion of ‘-35025’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] }; ^ /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:751:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:751:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:751:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:791:1: error: narrowing conversion of ‘-35025’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] }; ^ /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:791:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:791:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:791:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:791:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:791:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:823:1: error: narrowing conversion of ‘-35025’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] }; ^ /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:823:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:823:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:861:1: error: narrowing conversion of ‘-35025’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] }; ^ /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:861:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:861:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:861:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:1003:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] }; ^ /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:1003:1: error: narrowing conversion of ‘-35051’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:1003:1: error: narrowing conversion of ‘-35133’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] /tmp/yaourt-tmp-dennis/aur-ogre-1.8/src/ogre_src_v1-8-1/RenderSystems/GL/src/atifs/src/ps_1_4.cpp:1003:1: error: narrowing conversion of ‘-35133’ from ‘int’ to ‘uint {aka unsigned int}’ inside { } [-Wnarrowing] make[2]: *** [RenderSystems/GL/CMakeFiles/RenderSystem_GL.dir/build.make:279: RenderSystems/GL/CMakeFiles/RenderSystem_GL.dir/src/atifs/src/ps_1_4.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:159: RenderSystems/GL/CMakeFiles/RenderSystem_GL.dir/all] Error 2 make: *** [Makefile:150: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build ogre-1.8. ==> Restart building ogre-1.8 ? [y/N] ==> --------------------------------- ==> Could you please fix this, since I need this for Rigs of Rods

bchretien commented on 2014-01-16 21:12 (UTC)

@Dunkelheit: thanks :-) If you encounter problems when trying to build/link with Ogre 1.8, check my packages that require it.

Dunkelheit commented on 2014-01-16 21:03 (UTC)

I'm having problems with 1.9 overlay system,i'm gonna reroll to this. Thanks for the package,you make my life easier ;)

bchretien commented on 2013-12-21 15:32 (UTC)

I updated the package to remove the conflict with 'ogre'.