dermont
05-06-2013 10:08:08
Ogre 1.9 latest hg revsion.
1) Trying a local installation fails, the build attempts to install FindOgreProcedural.cmake to the CMake root dir.
I'm not sure why this is needed since it is already installed to ${CMAKE_INSTALL_PREFIX}/lib/OgreProcedural/cmake
2) Running Illustrations fails when building or running from the bin dir.
It appears that all plugins in plugins.cfg are commented out. I think the problem is in ProceduralMacros.cmake, e.g:
3) For later versions of boost Ogre doesn't include linking to library to boost_system in its pkg-config file, so I had to fudge the CMake file to link against it.
4) After the above updates running illustrations fails creating the following image. I don't have a back trace. Any ideas where to start looking.
5) There appears to be no pkg-config file for Linux. Is this intended or someone hasn't just got round to updating the build to create one?
1) Trying a local installation fails, the build attempts to install FindOgreProcedural.cmake to the CMake root dir.
"/media/sda1/Libraries/OGRE/ogre-addons/ogre-procedural-default/CMake/Packages/FindOgreProcedural.cmake"
to "/usr/share/cmake-2.8/Modules/FindOgreProcedural.cmake".
I'm not sure why this is needed since it is already installed to ${CMAKE_INSTALL_PREFIX}/lib/OgreProcedural/cmake
CMake/CmakeLitst.txt
install(FILES Packages/FindOgreProcedural.cmake DESTINATION ${CMAKE_ROOT}/Modules)
2) Running Illustrations fails when building or running from the bin dir.
*-*-* OGRE Initialising
*-*-* Version 1.9.0unstable (Ghadamon)
Creating resource group Essential
Added resource location '/media/sda1/Libraries/OGRE/ogre-addons/ogre-procedural-default/samples/media' of type 'FileSystem' to resource group 'Essential'
Added resource location '/media/sda1/Libraries/OGRE/ogre-addons/ogre-procedural-default/samples/media/SdkTrays.zip' of type 'Zip' to resource group 'Essential'
Added resource location '/media/sda1/Libraries/OGRE/ogre-addons/ogre-procedural-default/samples/media/RTShaderLib.zip' of type 'Zip' to resource group 'Essential'
Creating resource group Scripts
Added resource location '/media/sda1/Libraries/OGRE/ogre-addons/ogre-procedural-default/samples/media' of type 'FileSystem' to resource group 'Scripts'
Segmentation fault
make[2]: *** [bin/Illustrations] Error 139
make[1]: *** [docs/manual/illustrations/CMakeFiles/Illustrations.dir/all] Error 2
make: *** [all] Error 2
It appears that all plugins in plugins.cfg are commented out. I think the problem is in ProceduralMacros.cmake, e.g:
//if(NOT EXISTS ${OGRE_RenderSystem_GL_REL})
if(NOT EXISTS ${OGRE_RenderSystem_GL_LIBRARY_REL})
set(OgreProcedural_COMMENT_RENDERSYSTEM_GL "#")
endif()
3) For later versions of boost Ogre doesn't include linking to library to boost_system in its pkg-config file, so I had to fudge the CMake file to link against it.
4) After the above updates running illustrations fails creating the following image. I don't have a back trace. Any ideas where to start looking.
Texture: road.png: Loading 1 faces(PF_R8G8B8,128x256x1) with 8 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x256x1.
An exception has occured: OGRE EXCEPTION(7:InternalErrorException): FreeType ERROR: FT_New_Face - 1 in Procedural::TextShape::realizeShapes() at /media/sda1/Libraries/OGRE/ogre-addons/ogre-procedural-default/library/src/ProceduralMultiShapeGenerators.cpp (line 64)
5) There appears to be no pkg-config file for Linux. Is this intended or someone hasn't just got round to updating the build to create one?