MogreBuilder has error! [solved: copy all needed files]

andyhebear1

30-01-2013 03:06:10

i use MogreBuilder to build mogre use office step

Copy & paste of the console outputs:
F:\Ogre3DEngine\mogrebuilder\bin_Debug>MogreBuilder F:\Ogre3DEngine\MogreNewBuil
d -config Default.cfg -vs2012

Using target directory: F:\Ogre3DEngine\MogreNewBuild
Priority for worker processes: BelowNormal

Checking for tools
Mercurial Distributed SCM (version 2.4.2)
(see http://mercurial.selenic.com for more information)
Copyright (C) 2005-2012 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

cmake version 2.8.10.2

Checking out the source code of Mogre (please be patient)
requesting all changes
adding changesets
adding manifests
adding file changes
added 29 changesets with 256 changes to 183 files (+1 heads)
updating to branch default
resolving manifests
getting .hgignore
getting BUILD
getting Codegen/AutoWrap/Attributes.xml
getting Codegen/AutoWrap/AutoWrap.csproj
getting Codegen/AutoWrap/AutoWrap_vs2010.csproj
getting Codegen/AutoWrap/AutoWrap_vs2010.sln

...

getting Tools/rcapsdump/src/main.cpp
3091 files updated, 0 files merged, 0 files removed, 0 files unresolved

Patching Ogre source tree
patching file `CMakeLists.txt'
patching file `OgreMain/CMakeLists.txt'
patching file `Components\Paging\include\OgreGrid2DPageStrategy.h'
patching file `Components\Paging\include\OgrePage.h'
patching file `Components\Paging\include\OgrePageContent.h'
patching file `Components\Paging\include\OgrePageContentCollection.h'
patching file `Components\Paging\include\OgrePageContentCollectionFactory.h'
patching file `Components\Paging\include\OgrePageContentFactory.h'
patching file `Components\Paging\include\OgrePagedWorld.h'
patching file `Components\Paging\include\OgrePagedWorldSection.h'
patching file `Components\Paging\include\OgrePageManager.h'
patching file `Components\Paging\include\OgrePageStrategy.h'
patching file `Components\Paging\include\OgreSimplePageContentCollection.h'
patching file `Components\Terrain\include\OgreTerrain.h'
patching file `Components\Terrain\include\OgreTerrainGroup.h'
patching file `Components\Terrain\include\OgreTerrainMaterialGenerator.h'
patching file `Components\Terrain\include\OgreTerrainMaterialGeneratorA.h'
patching file `Components\Terrain\include\OgreTerrainPagedWorldSection.h'
patching file `Components\Terrain\include\OgreTerrainQuadTreeNode.h'
....

getting versions.txt
1279 files updated, 0 files merged, 0 files removed, 0 files unresolved

Running CMake on Ogre source tree
-- The C compiler identification is MSVC 17.0.50727.1
-- The CXX compiler identification is MSVC 17.0.50727.1
-- Check for working C compiler using: Visual Studio 11
-- Check for working C compiler using: Visual Studio 11 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 11
-- Check for working CXX compiler using: Visual Studio 11 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring OGRE 1.7.4
-- Check size of void*
-- Check size of void* - done
-- Search path: F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/build/Dependencies;F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc
/ogre/Dependencies;F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/build/../Dependencies;F:/Ogre3DEngine/MogreNewBuild/Main/O
greSrc/ogre/../Dependencies
-- Looking for ZLIB...
-- Could not locate ZLIB
-- Looking for FreeImage...
-- Could not locate FreeImage
-- Looking for FREETYPE...
-- CMAKE_PREFIX_PATH: F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/build/Dependencies;F:/Ogre3DEngine/MogreNewBuild/Main/O
greSrc/ogre/Dependencies;F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/build/../Dependencies;F:/Ogre3DEngine/MogreNewBuild/
Main/OgreSrc/ogre/../Dependencies
-- Could not locate FREETYPE
-- Found OpenGL: opengl32
-- Looking for DirectX...
-- DirectX_PREFIX_PATH changed.
-- Found DirectX: d:/Microsoft DirectX SDK (June 2010)/Lib/x86/d3d9.lib
-- DX lib dir: d:/Microsoft DirectX SDK (June 2010)/Lib/x86
-- DX lib dir: d:/Microsoft DirectX SDK (June 2010)/Lib/x86
-- Looking for Cg...
-- Cg_PREFIX_PATH changed.
-- Could not locate Cg
-- Looking for POCO...
-- Could not locate POCO
-- Looking for TBB...
-- Could not locate TBB
-- Looking for OIS...
-- OIS_PREFIX_PATH changed.
-- Could not locate OIS
-- Looking for CppUnit...
-- Could not locate CppUnit
-- Looking for DirectX...
-- Check size of void*
-- Check size of void* - done
-- DX lib dir: d:/Microsoft DirectX SDK (June 2010)/Lib/x86
-- DX lib dir: d:/Microsoft DirectX SDK (June 2010)/Lib/x86
-- Check size of void*
-- Check size of void* - done
-- Configuring incomplete, errors occurred!
CMake Error at CMake/Utils/MacroLogFeature.cmake:100 (MESSAGE):
-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- Please install them before continuing this software installation.
-- If you are in Windows, try passing -DOGRE_DEPENDENCIES_DIR=<path to
dependencies>
-----------------------------------------------------------------------------
+ freetype: Portable font engine <http://www.freetype.org>;
-----------------------------------------------------------------------------
Call Stack (most recent call first):
CMake/Dependencies.cmake:208 (MACRO_DISPLAY_FEATURE_LOG)
CMakeLists.txt:177 (include)

Running CMake again to include fresh built Ogre depencies
-- Configuring OGRE 1.7.4
-- Search path: F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/build/Dependencies;F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc
/ogre/Dependencies;F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/build/../Dependencies;F:/Ogre3DEngine/MogreNewBuild/Main/O
greSrc/ogre/../Dependencies
-- Looking for ZLIB...
-- Found ZLIB: optimized;zlib;debug;zlib
-- Looking for ZZip...
-- Found ZZip: optimized;zziplib;debug;zziplib
-- Looking for FreeImage...
-- Found FreeImage: optimized;FreeImage;debug;FreeImage
-- Looking for FREETYPE...
-- CMAKE_PREFIX_PATH: F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/build/Dependencies;F:/Ogre3DEngine/MogreNewBuild/Main/O
greSrc/ogre/Dependencies;F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/build/../Dependencies;F:/Ogre3DEngine/MogreNewBuild/
Main/OgreSrc/ogre/../Dependencies
-- Found FREETYPE: optimized;freetype;debug;freetype
-- Looking for DirectX...
-- Found DirectX: d:/Microsoft DirectX SDK (June 2010)/Lib/x86/d3d9.lib
-- DX lib dir: d:/Microsoft DirectX SDK (June 2010)/Lib/x86
-- DX lib dir: d:/Microsoft DirectX SDK (June 2010)/Lib/x86
-- Looking for Cg...
-- Found Cg: optimized;F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Dependencies/src/Cg/lib/cg.lib;debug;F:/Ogre3DEng
ine/MogreNewBuild/Main/OgreSrc/ogre/Dependencies/src/Cg/lib/cg.lib
-- Looking for POCO...
-- Could not locate POCO
-- Looking for TBB...
-- Could not locate TBB
-- Looking for OIS...
-- Found OIS: optimized;OIS;debug;OIS
-- Looking for CppUnit...
-- Could not locate CppUnit
-- Looking for DirectX...
-- DX lib dir: d:/Microsoft DirectX SDK (June 2010)/Lib/x86
-- DX lib dir: d:/Microsoft DirectX SDK (June 2010)/Lib/x86
--
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ zlib
+ zziplib
+ freeimage
+ freetype
+ OpenGL
+ OpenGL ES
+ DirectX
+ cg
+ OIS
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ boost: Boost (general) <http://boost.org>;
+ boost-thread: Used for threading support <http://boost.org>;
+ boost-date_time: Used for threading support <http://boost.org>;
+ POCO: POCO framework <http://pocoproject.org/>;
+ tbb: Threading Building Blocks <http://www.threadingbuildingblocks.org/>;
+ Doxygen: Tool for building API documentation <http://doxygen.org>;
+ CppUnit: Library for performing unit tests <http://cppunit.sourceforge.net>;
-----------------------------------------------------------------------------
send_errorF:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Dependencies/src/bin/debug/OIS_d.dll did not exist, can't inst
all!
send_errorF:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Dependencies/src/bin/release/OIS.dll did not exist, can't inst
all!
--
----------------------------------------------------------------------------
FEATURE SUMMARY
----------------------------------------------------------------------------
Building components:
+ Paging
+ Terrain
+ RTShader System
+ RTShader System Core Shaders
+ RTShader System Extensions Shaders
Building plugins:
+ BSP scene manager
+ Cg program manager
+ Octree scene manager
+ Portal connected zone scene manager
+ Particle FX
Building rendersystems:
+ Direct3D 9
+ OpenGL
Building executables:
+ Samples
+ Tools
Building core features:
+ DDS image codec
+ PVRTC image codec
+ FreeImage codec
+ ZIP archives
Build type: dynamic
Threading support: none
Use double precision: disabled
Allocator type: nedmalloc (pooling)
STL containers use allocator: enabled
Strings use allocator: disabled
Memory tracker (debug): disabled
Memory tracker (release): disabled
Use new script compilers: enabled
Use Boost: disabled
----------------------------------------------------------------------------
-- Configuring done
-- Generating done
-- Build files have been written to: F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/build

Autowrapping Ogre classes
Running cpp2java to scan Ogre source tree and build meta-data
F:\Ogre3DEngine\MogreNewBuild\Codegen\cpp2java>mkdir build 2>nul
F:\Ogre3DEngine\MogreNewBuild\Codegen\cpp2java>mkdir build\doxyxml 2>nul
F:\Ogre3DEngine\MogreNewBuild\Codegen\cpp2java>bin\doxygen.exe ogre4j.doxygen
Searching for include files...
Searching for example files...
Searching for images...
Searching for dot files...
Searching for files to exclude
Searching for files to process...
Reading and parsing tag files
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrain.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrain.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrainGroup.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrainGroup.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrainLayerBlendMap.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrainLayerBlendMap.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrainMaterialGenerator.h.
..
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrainMaterialGenerator.h..
.
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrainMaterialGeneratorA.h
...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrainMaterialGeneratorA.h.
..
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrainPagedWorldSection.h.
..
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrainPagedWorldSection.h..
.
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrainPaging.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrainPaging.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrainPrerequisites.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrainPrerequisites.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrainQuadTreeNode.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/include/OgreTerrainQuadTreeNode.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgreGrid2DPageStrategy.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgreGrid2DPageStrategy.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePage.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePage.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePageConnection.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePageConnection.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePageContent.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePageContent.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePageContentCollection.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePageContentCollection.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePageContentCollectionFactory
.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePageContentCollectionFactory.
h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePageContentFactory.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePageContentFactory.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePagedWorld.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePagedWorld.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePagedWorldSection.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePagedWorldSection.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePageFileFormats.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePageFileFormats.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePageManager.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePageManager.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePageStrategy.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePageStrategy.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePaging.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePaging.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePagingPrerequisites.h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgrePagingPrerequisites.h...
Preprocessing F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgreSimplePageContentCollection.
h...
Parsing file F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/include/OgreSimplePageContentCollection.h
...

Building group list...
Building directory list...
Building namespace list...
Building file list...
Searching for included using directives...
Building class list...
Associating documentation with classes...
Computing nesting relations for classes...
Searching for members imported via using declarations...
Building example list...
Searching for documented variables...
Building member list...
Searching for friends...
Searching for documented defines...
Computing template instances...
Flushing cached template relations that have become invalid...
Creating members for template instances...
Computing class relations...
Searching for enumerations...
Searching for member function documentation...
Building page list...
Search for main page...
Computing page relations...
Determining the scope of groups...
Sorting lists...
Freeing entry tree
Determining which enums are documented
Computing member relations...
Building full member lists recursively...
Adding members to member groups.
Computing member references...
Generating disk names...
Adding source references...
Adding todo/test/bug list items...
Generating style sheet...
Counting data structures...
Resolving user defined references...
Combining using relations...
Finding anchors and sections in the documentation...
Generating index page...
Generating file index...
Generating example documentation...
Generating file sources...
Generating file documentation...
Generating docs for file asm_math.h...
...
...
Generate XML output for dir F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Paging/
Generate XML output for dir F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Components/Terrain/
Generate XML output for dir F:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/OgreMain/include/WIN32/
F:\Ogre3DEngine\MogreNewBuild\Codegen\cpp2java>copy /y fixedDoxygen\*.xml build\doxyxml
fixedDoxygen\classOgre_1_1ManualObject.xml
已复制 1 个文件。
F:\Ogre3DEngine\MogreNewBuild\Codegen\cpp2java>copy /y xslt\mycombine.xslt build\doxyxml\ 1>nul
F:\Ogre3DEngine\MogreNewBuild\Codegen\cpp2java>bin\transform.exe -s:build\doxyxml\index.xml -xsl:build\doxyxml\mycombine
.xslt -o:build\all.xml
F:\Ogre3DEngine\MogreNewBuild\Codegen\cpp2java>bin\transform.exe -s:build\all.xml -xsl:xslt\input.xslt -o:build\meta.xml

Building Mogre Autowrapper

Building AutoWrap_vs2010...................................
Running Mogre Autowrapper
OgreAnimable.h
...

Applying Cygon patch
patching file `Main\include\auto\Mogre-WIN32_OgreTimerImp.h'
...

Building Ogre without linking back to Mogre

OGRE (OgreMain:Rebuild;OgrePaging:Rebuild;OgreRTShaderSystem:Rebuild;OgreTerrain:Rebuild;Plugin_BSPSceneManager:Rebuild;
Plugin_CgProgramManager:Rebuild;Plugin_OctreeSceneManager:Rebuild;Plugin_OctreeZone:Rebuild;Plugin_ParticleFX:Rebuild;Pl
ugin_PCZSceneManager:Rebuild;RenderSystem_Direct3D9:Rebuild;RenderSystem_GL:Rebuild)....
Rebuilding OgreMain.vcxproj.
Rebuilding FreeImage...........................................
Rebuilding freetype..........................................
Rebuilding zlib..........................................
Rebuilding zziplib...........................................
Rebuilding OgreMain..................
Building manifest for FreeImage
Building manifest for freetype
Building manifest for zlib
Building manifest for zziplib.................
Linking FreeImage
Linking freetype
Linking zlib
Linking zziplib.................
Rebuilding OgrePaging.vcxproj..
Rebuilding OgrePaging..................
Building manifest for OgreMain...............
Linking OgreMain.................
Rebuilding OgreRTShaderSystem.vcxproj..
Rebuilding OgreRTShaderSystem..................
Building manifest for OgreMain...............
Linking OgreMain.................
Rebuilding OgreTerrain.vcxproj..
Rebuilding OgreTerrain..................
Building manifest for OgreMain
Building manifest for OgrePaging...............
Linking OgreMain
Linking OgrePaging.................
Rebuilding Plugin_BSPSceneManager.vcxproj..
Rebuilding Plugin_BSPSceneManager..................
Building manifest for OgreMain...............
Linking OgreMain.................
Rebuilding Plugin_CgProgramManager.vcxproj..
Rebuilding Plugin_CgProgramManager..................
Building manifest for OgreMain...............
Linking OgreMain.................
Rebuilding Plugin_OctreeSceneManager.vcxproj..
Rebuilding Plugin_OctreeSceneManager..................
Building manifest for OgreMain...............
Linking OgreMain.................
Rebuilding Plugin_OctreeZone.vcxproj.
Rebuilding Plugin_PCZSceneManager.vcxproj..
Rebuilding Plugin_PCZSceneManager..................
Building manifest for OgreMain...............
Linking OgreMain.................
Rebuilding Plugin_OctreeZone..................
Building manifest for OgreMain
Building manifest for Plugin_PCZSceneManager...............
Linking OgreMain
Linking Plugin_PCZSceneManager.................
Rebuilding Plugin_ParticleFX.vcxproj..
Rebuilding Plugin_ParticleFX..................
Building manifest for OgreMain...............
Linking OgreMain..................
Rebuilding RenderSystem_Direct3D9.vcxproj..
Rebuilding RenderSystem_Direct3D9..................
Building manifest for OgreMain...............
Linking OgreMain.................
Rebuilding RenderSystem_GL.vcxproj..
Rebuilding RenderSystem_GL..................
Building manifest for OgreMain...............
Linking OgreMain................

Updating Mogre Version
Mogre version: 1.7.4 (Cthugha)

Building Mogre

Rebuilding Mogre_vs2012......................................................

Building Ogre with linking back to Mogre

OGRE (OgreMain;OgrePaging;OgreRTShaderSystem;OgreTerrain;Plugin_BSPSceneManager;Plugin_CgProgramManager;Plugin_OctreeSce
neManager;Plugin_OctreeZone;Plugin_ParticleFX;Plugin_PCZSceneManager;RenderSystem_Direct3D9;RenderSystem_GL)....
OgreMain.vcxproj.
FreeImage...............................
freetype..............................
zlib..............................
zziplib...............................
OgreMain.....
Building manifest for FreeImage
Building manifest for freetype
Building manifest for zlib
Building manifest for zziplib.................
Linking FreeImage
Linking freetype
Linking zlib
Linking zziplib.................
OgrePaging.vcxproj..
OgrePaging.....
Building manifest for OgreMain...............
Linking OgreMain.................
OgreRTShaderSystem.vcxproj..
OgreRTShaderSystem.....
Building manifest for OgreMain...............
Linking OgreMain.................
OgreTerrain.vcxproj..
OgreTerrain.....
Building manifest for OgreMain
Building manifest for OgrePaging...............
Linking OgreMain
Linking OgrePaging.................
Plugin_BSPSceneManager.vcxproj..
Plugin_BSPSceneManager.....
Building manifest for OgreMain...............
Linking OgreMain.................
Plugin_CgProgramManager.vcxproj..
Plugin_CgProgramManager.....
Building manifest for OgreMain...............
Linking OgreMain.................
Plugin_OctreeSceneManager.vcxproj..
Plugin_OctreeSceneManager.....
Building manifest for OgreMain...............
Linking OgreMain.................
Plugin_OctreeZone.vcxproj.
Plugin_PCZSceneManager.vcxproj..
Plugin_PCZSceneManager.....
Building manifest for OgreMain...............
Linking OgreMain.................
Plugin_OctreeZone.....
Building manifest for OgreMain
Building manifest for Plugin_PCZSceneManager...............
Linking OgreMain
Linking Plugin_PCZSceneManager.................
Plugin_ParticleFX.vcxproj..
Plugin_ParticleFX.....
Building manifest for OgreMain...............
Linking OgreMain..................
RenderSystem_Direct3D9.vcxproj..
RenderSystem_Direct3D9.....
Building manifest for OgreMain...............
Linking OgreMain.................
RenderSystem_GL.vcxproj..
RenderSystem_GL.....
Building manifest for OgreMain...............
Linking OgreMain................

Assembling the generated binaries
Can't find binary directory: MogreAddons\MOIS\MOIS\bin\Release


===================== Feature summary =====================

Building components:
+ Paging
+ Terrain
+ RTShader System
+ RTShader System Core Shaders
+ RTShader System Extensions Shaders
Building plugins:
+ BSP scene manager
+ Cg program manager
+ Octree scene manager
+ Portal connected zone scene manager
+ Particle FX
Building rendersystems:
+ Direct3D 9
+ OpenGL
Building executables:
+ Samples
+ Tools
Building core features:
+ DDS image codec
+ PVRTC image codec
+ FreeImage codec
+ ZIP archives
Build type: dynamic
Threading support: none
Use double precision: disabled
Allocator type: nedmalloc (pooling)
STL containers use allocator: enabled
Strings use allocator: disabled
Memory tracker (debug): disabled
Memory tracker (release): disabled
Use new script compilers: enabled
Use Boost: disabled



===================== Repeat of all errors and warnings =====================


Running CMake on Ogre source tree
-- Could not locate ZLIB
-- Could not locate FreeImage
-- Could not locate FREETYPE
-- Could not locate Cg
-- Could not locate POCO
-- Could not locate TBB
-- Could not locate OIS
-- Could not locate CppUnit
CMake Error at CMake/Utils/MacroLogFeature.cmake:100 (MESSAGE):
-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- Please install them before continuing this software installation.
-- If you are in Windows, try passing -DOGRE_DEPENDENCIES_DIR=<path to
dependencies>
-----------------------------------------------------------------------------
+ freetype: Portable font engine <http://www.freetype.org>;
-----------------------------------------------------------------------------
Call Stack (most recent call first):
CMake/Dependencies.cmake:208 (MACRO_DISPLAY_FEATURE_LOG)
CMakeLists.txt:177 (include)
Running CMake again to include fresh built Ogre depencies
-- Could not locate POCO
-- Could not locate TBB
-- Could not locate CppUnit
-- The following OPTIONAL packages could NOT be located on your system.
send_errorF:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Dependencies/src/bin/debug/OIS_d.dll did not exist, can't inst
all!
send_errorF:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Dependencies/src/bin/release/OIS.dll did not exist, can't inst
all!
Assembling the generated binaries
Can't find binary directory: MogreAddons\MOIS\MOIS\bin\Release


===================== Result =====================

Mogre version: 1.7.4 (Cthugha)
Build configuration: Release

The Ogre/Mogre build process seems to be finished successfully (-:

You find the created binary files in:
F:\Ogre3DEngine\MogreNewBuild\bin\Release.NET4

Duration: 1 hour 37 minutes

Press any key to continue...

andyhebear1

30-01-2013 03:07:37

i has install cmake

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\rains>cmake
cmake version 2.8.10.2
Usage

cmake [options] <path-to-source>
cmake [options] <path-to-existing-build>

Options
-C <initial-cache> = Pre-load a script to populate the cache.
-D <var>:<type>=<value> = Create a cmake cache entry.
-U <globbing_expr> = Remove matching entries from CMake cache.
-G <generator-name> = Specify a makefile generator.
-Wno-dev = Suppress developer warnings.
-Wdev = Enable developer warnings.
-E = CMake command mode.
-i = Run in wizard mode.
-L[A][H] = List non-advanced cached variables.
--build <dir> = Build a CMake-generated project binary tree.
-N = View mode only.
-P <file> = Process script mode.
--find-package = Run in pkg-config like mode.
--graphviz=[file] = Generate graphviz of dependencies.
--system-information [file] = Dump information about this system.
--debug-trycompile = Do not delete the try_compile build tree.
Only useful on one try_compile at a time.
--debug-output = Put cmake in a debug mode.
--trace = Put cmake in trace mode.
--warn-uninitialized = Warn about uninitialized values.
--warn-unused-vars = Warn about unused variables.
--no-warn-unused-cli = Don't warn about command line options.
--check-system-vars = Find problems with variable usage in system
files.
--help-command cmd [file] = Print help for a single command and exit.
--help-command-list [file] = List available listfile commands and exit.
--help-commands [file] = Print help for all commands and exit.
--help-compatcommands [file]= Print help for compatibility commands.
--help-module module [file] = Print help for a single module and exit.
--help-module-list [file] = List available modules and exit.
--help-modules [file] = Print help for all modules and exit.
--help-custom-modules [file]= Print help for all custom modules and exit.
--help-policy cmp [file] = Print help for a single policy and exit.
--help-policies [file] = Print help for all policies and exit.
--help-property prop [file] = Print help for a single property and exit.
--help-property-list [file] = List available properties and exit.
--help-properties [file] = Print help for all properties and exit.
--help-variable var [file] = Print help for a single variable and exit.
--help-variable-list [file] = List documented variables and exit.
--help-variables [file] = Print help for all variables and exit.
--copyright [file] = Print the CMake copyright and exit.
--help,-help,-usage,-h,-H,/?= Print usage information and exit.
--help-full [file] = Print full help and exit.
--help-html [file] = Print full help in HTML format.
--help-man [file] = Print full help as a UNIX man page and exit.
--version,-version,/V [file]= Show program name/version banner and exit.

Generators

The following generators are available on this platform:
Borland Makefiles = Generates Borland makefiles.
MSYS Makefiles = Generates MSYS makefiles.
MinGW Makefiles = Generates a make file for use with
mingw32-make.
NMake Makefiles = Generates NMake makefiles.
NMake Makefiles JOM = Generates JOM makefiles.
Ninja = Generates build.ninja files (experimental).
Unix Makefiles = Generates standard UNIX makefiles.
Visual Studio 10 = Generates Visual Studio 10 project files.
Visual Studio 10 IA64 = Generates Visual Studio 10 Itanium project
files.
Visual Studio 10 Win64 = Generates Visual Studio 10 Win64 project
files.
Visual Studio 11 = Generates Visual Studio 11 project files.
Visual Studio 11 ARM = Generates Visual Studio 11 ARM project files.
Visual Studio 11 Win64 = Generates Visual Studio 11 Win64 project
files.
Visual Studio 6 = Generates Visual Studio 6 project files.
Visual Studio 7 = Generates Visual Studio .NET 2002 project
files.
Visual Studio 7 .NET 2003 = Generates Visual Studio .NET 2003 project
files.
Visual Studio 8 2005 = Generates Visual Studio 8 2005 project files.
Visual Studio 8 2005 Win64 = Generates Visual Studio 8 2005 Win64 project
files.
Visual Studio 9 2008 = Generates Visual Studio 9 2008 project files.
Visual Studio 9 2008 IA64 = Generates Visual Studio 9 2008 Itanium
project files.
Visual Studio 9 2008 Win64 = Generates Visual Studio 9 2008 Win64 project
files.
Watcom WMake = Generates Watcom WMake makefiles.
CodeBlocks - MinGW Makefiles= Generates CodeBlocks project files.
CodeBlocks - NMake Makefiles= Generates CodeBlocks project files.
CodeBlocks - Ninja = Generates CodeBlocks project files.
CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
Eclipse CDT4 - MinGW Makefiles
= Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - NMake Makefiles
= Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - Unix Makefiles
= Generates Eclipse CDT 4.0 project files.


C:\Users\rains>



Running CMake on Ogre source tree
-- Could not locate ZLIB
-- Could not locate FreeImage
-- Could not locate FREETYPE
-- Could not locate Cg
-- Could not locate POCO
-- Could not locate TBB
-- Could not locate OIS
-- Could not locate CppUnit
CMake Error at CMake/Utils/MacroLogFeature.cmake:100 (MESSAGE):
-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- Please install them before continuing this software installation.
-- If you are in Windows, try passing -DOGRE_DEPENDENCIES_DIR=<path to
dependencies>
-----------------------------------------------------------------------------
+ freetype: Portable font engine <http://www.freetype.org>;
-----------------------------------------------------------------------------
Call Stack (most recent call first):
CMake/Dependencies.cmake:208 (MACRO_DISPLAY_FEATURE_LOG)
CMakeLists.txt:177 (include)
Running CMake again to include fresh built Ogre depencies
-- Could not locate POCO
-- Could not locate TBB
-- Could not locate CppUnit
-- The following OPTIONAL packages could NOT be located on your system.
send_errorF:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Dependencies/src/bin/debug/OIS_d.dll did not exist, can't inst
all!
send_errorF:/Ogre3DEngine/MogreNewBuild/Main/OgreSrc/ogre/Dependencies/src/bin/release/OIS.dll did not exist, can't inst
all!
Assembling the generated binaries
Can't find binary directory: MogreAddons\MOIS\MOIS\bin\Release

===============
How to solve?

Beauty

30-01-2013 19:44:30

The run of your first post seems to produce a good result.
Is it right?

What happens with the second run?
Is there a crash?
Did MogreBuilder create the wanted dll files?

Assembling the generated binaries
Can't find binary directory: MogreAddons\MOIS\MOIS\bin\Release

The task "Assembling the generated binaries" copies the (important) generated files to the output directory.
It's strange, that it doesn't find the directory. (Perhaps only a tiny bug.)
Which target setting you used in your config file? Debug or Release?

Can you check if MogreBuilder creates one of these files:
OIS.dll, OIS_d.dll, MOIS.dll
If yes, what's the directory path?

Does the problem only happens with the -vs2012 option?

Beauty

30-01-2013 19:55:06

Can't find binary directory: MogreAddons\MOIS\MOIS\bin\Release
I recognised that the printed path is no global path.
Maybe it's not found, because it's only a relative path.
So we should check, the related part of the source code.
To add the target directory as prefix could help.

Currently I can't check the code, because I move to an other flat and this here is not my own computer.

Caprico

30-01-2013 21:50:02

Seems like your build process was successful. In your target directory there should be a directory "bin" with the DLL files. Or try to search your target directory for all "*.dll" files and copy them to a single directory.

The errors from CMake about missing dependencies are expected and can be ignored. I am still searching for a way to hide them.
The warnings about (M)OIS should disappear if you compile Mogre with the MOIS addon. Use the command line switch "-mois" when you call MogreBuilder.exe to do that. But they should be no problem too, as they are only warnings about nonexistent directories. I'll try to fix that in the next few days.

If nothing else helps you may try to compile Mogre yourself. Unfortunately all guides in the wiki and the repository are outdated. I am currently writing an updated guide. I have uploaded an incomplete version of it here. The steps below "TODO" are not tested yet but it work more or less.

andyhebear1

31-01-2013 02:09:35

i builder user config

MogreBuilder F:\Ogre3DEngine\MogreNewBuild -config Default.cfg -vs2012
pause

there not has mois.dll ois.dll
after i build mois

MogreBuilder F:\Ogre3DEngine\MogreNewBuild -config Default.cfg -vs2012 -mois
pause

compile ok,but there has error yet,but mois.dll compile ok(not have ois.dll all the same)
and i compile mogre sample,but it cann't run


"System.IO.FileLoadException" type of an unhandled exception in the unknown module.In place

Other information: failed to load the "Mogre.dll" into the.

se5a

12-01-2014 22:08:21

Yeah I seem to be having the same problem.
I'm doing this on win7 x64. VS2012
here's my commandline stuff for mogrebuilder:

MogreBuilder F:\Users\se5a\Documents\Projects-Code\MogreBuild -config Default.cfg -vs2012 -mois

I get these warnings at the end of the build:

===================== Repeat of all errors and warnings =====================

Running CMake again to include fresh built Ogre depencies
-- Could not locate POCO
-- Could not locate TBB
-- Could not locate OIS
-- Could not locate CppUnit
-- The following OPTIONAL packages could NOT be located on your system.


===================== Result =====================

Mogre version: 1.7.4 (Cthugha)
Build configuration: Release

The Ogre/Mogre build process seems to be finished successfully (-:

You find the created binary files in:
F:\Users\se5a\Documents\Projects-Code\MogreBuild\bin\Release.NET4


When I drop them into my project, the project compiles fine, but I get this error when I try run or debug:
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Mogreoids.exe
Additional information: Could not load file or assembly 'Mogre.dll' or one of its dependencies. The specified module could not be found.
I get the same error if I compile the project with anyCPU or with x86

Here's a link to one of my projects where I'm trying to test this, contains with older mogre version 1.7.1, which runs fine.
https://bitbucket.org/se5a/mogreoids

Beauty

15-01-2014 20:29:18

Thanks for your feedback.

These CMake warnings are normal.
Only for OIS I'm not shure if this should be build by default or only by an additional option.
Nevertheless OIS is not necessary for Mogre.
If you have no other errors or warnings, the binaries should be fine. (This is my experience.)

I'm doing this on win7 x64. VS2012
Win7 x64 is fine.
VS2012 I didn't tested until today, but it should be able to use the created Mogre binary files, too.
On the other hand: I suppose VS2012 should be able to compile Mogre, but I didn't tested it.

Could not load file or assembly 'Mogre.dll' or one of its dependencies. The specified module could not be found.
Did you copy all created binary files from MogreBuilder output to the binary directory of your project?
Not all files there are needed, but when you have all, then you can check if this is the reason for your error.
To find out, which fine is missing on runtime, you can use the tool Process Monitor. Use the filter to see only the wanted messages. In the filter create a rule to show messages where the result contains the string "not found". So you find out the name of missing dll files.
Also the Depency Walker is a useful tool to find out missing depencies.

Does your project create the file Ogre.log?
If yes, are there warnings / errors / exceptions listet?


I get the same error if I compile the project with anyCPU or with x86
Always set x86 as build target for Mogre applications.
If you use AnyCPU on a x64 system, then VS tries to compile against x64, but get in conflict with Mogre.dll, which is compiled against x86.

Can you post the name of all files, which are in the MogreBuilder output directory?

Here's a link to one of my projects where I'm trying to test this, contains with older mogre version 1.7.1, which runs fine.
https://bitbucket.org/se5a/mogreoids

There are only the VS config files. This isn't enough.

To be shure that your DirectX has the latest files, download and execute the DirectX web installer:
http://www.microsoft.com/en-us/download ... aspx?id=35

se5a

16-01-2014 01:01:40

Ah, thanks, yes the problem was I hadn't copied *all* the created DLLs,
it seems that 1.7.4 *also* requires:
OgrePaging.dll and
OgreTerrain.dll
which 1.7.1 did not appear to need.
1.7.1 only needed these files:
Mogre.dll
MOIS.dll (if using it)
OgreMain.dll

(and ofcourse the scenemanger dll and rendersystem dll plugins.)

I couldn't get process manager to see the error, might have been creating the filter wrong, but it wasn't picking it up.
Dependency walker showed the needed DLLs quite clearly once I knew what I was looking at.

using Any Cpu as a target appeared to work fine with the 1.7.1 version I had, and seems to work fine with 1.7.4 now that I've got all the required DLLs in the project. - Edit ah, I see. any CPU works fine in debug mode, but in release it doesnt.

Nope, Ogre was not creating a log, probably because mogre crashed before it got a chance to even call Ogre.

That Mogreoids project is all there, even the compiled debug exe. I guess you just didn't see the subfolder?
that was a little project to see if an asteroids clone with newtonian rotation would still be fun, and to learn a bit of newtonian physics. I never got as far as getting asteroids in, that was the procedural bit I was looking at and got stuck with. still, I did seem to prove that newtonian rotation could be an interesting mechanic.

But anyway, thanks, you have solved the mystery of why the newer 1.7.4 mogre was not running, I feel silly for not thinking of putting all the dlls in the folder to check that myself.

se5a

30-01-2014 02:47:00

Here's a slight oddity.
The above project, ( https://bitbucket.org/se5a/mogreoids ) is a .net 4.5 app, I tried to change it down to a .net 4.0 app, but it refused to compile:

"1>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3274: The primary reference "MOIS" could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0"."

However, when I right click MOIS in the references menu, and select properties, it clearly shows as Runtime Version v4.0.30319

What's going on here?

Beauty

09-02-2014 15:00:51


it seems that 1.7.4 *also* requires:
OgrePaging.dll and
OgreTerrain.dll

The files are needed, because Ogre / Mogre was build with enabled support of these components.

Currently the default setting of MogreBuilder is to compile the Mogre branch, which includes the Ogre components for terrain and paging.
One possibility for is to change the branch name in the config file. But I'm not shure if it's as fresh as the terrain and paging branch.
We would like to add an option for the MogreBuilder to enable / disable the components, but unfortunately its development is on idle status.
Nevertheless: In general MogreBuilder works fine.



Nope, Ogre was not creating a log, probably because mogre crashed before it got a chance to even call Ogre.

Possibly it helps to check the depencies:
viewtopic.php?p=102376#p102376


That Mogreoids project is all there
Sorry, I didn't recognised the sub directory. I thought it's just the headline / title of the repository.
What's the current state? Does it run?


newtonian rotation could be an interesting mechanic
I used the Newton physics engine for collision detection only. For this case it was fine and the Newtons developer helped to fix a seldom bug (which frequently deadlocked my application) and added an extra API function, which I needed.

If you work with cartesian rotations, you should have a view to the Euler Angle Class for Mogre.


The primary reference "MOIS" could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework.
I suppose, the problen can be solved, when you use a MOIS library, which was compiled against .NET 4.0.

se5a

09-02-2014 17:56:45


One possibility for is to change the branch name in the config file. But I'm not shure if it's as fresh as the terrain and paging branch.

oh it's not a bigie, just a gotcha if you're not aware that the newer version needed them.


Possibly it helps to check the depencies:
viewtopic.php?p=102376#p102376

yeah it was the previously mentioned dlls I was missing that did it.



I used the Newton physics engine for collision detection only...
If you work with cartesian rotations, you should have a view to the....

I'm not using any third party physics for this, I've written it all myself, mostly as an exercise to learn some of the math involved. the math and physics I'm using is a little outdated, I do have a newer one I've been updating on another project, however that project is using a fixed point number system rather than doubles and floats, so I need to convert it for this project. the collision is not done yet, I'll probably use RaySceneQueries for that, unless I can figure a way to do it easily without using ogre/mogre (I'd prefer to keep the physics and graphics completely separate, then I can put the physics on a totally different thread, though a RaySceneQueries probably wont hurt)


What's the current state? Does it run?

I think the version up on bitbucket does yes, there's also a couple of compiled versions under downloads - the latest is compiled for .net 4.0


I suppose, the problem can be solved, when you use a MOIS library, which was compiled against .NET 4.0.

The properties of the MOIS library I was using seemed to indicate that it HAD been compiled against 4.0
mogre builder builds MOIS too right? so it should have come out 4.0 with the rest of mogre? I'm pretty sure I didn't change anything in mogrebuilder or the source that would change what mois was compiled against.
I've gone back to the older version of mogre for now, till I get another chance to have another look.

Beauty

09-02-2014 20:10:20

I'll probably use RaySceneQueries
Note: RaySceneQueries just can hit the bounding box.
Here I wrote some information about and created a picture:
http://www.ogre3d.org/tikiwiki/Ray+query+with+MOGRE


If you want to use no third party libraries, you can raycast on polygon level - althouth this could be slower.

For this you can look here, but be aware. Don't use this code.
http://www.ogre3d.org/tikiwiki/Raycasti ... el+-+Mogre

I re-wrote the polygon raycasting:
Here you find my improved code: http://www.ogre3d.org/forums/viewtopic.php?p=446083
And here is a description of my code: http://www.ogre3d.org/forums/viewtopic. ... 51#p448551

Possibly MMOC (Mogre Minimal Ogre Collision) is something for you:
http://www.ogre3d.org/tikiwiki/Minimal+Ogre+Collision


I'd prefer to keep the physics and graphics completely separate, then I can put the physics on a totally different thread
When you do it totally different: Keep in mind that you need to synchronise your Ogre scene graph and your physics world.


The properties of the MOIS library I was using seemed to indicate that it HAD been compiled against 4.0
mogre builder builds MOIS too right? so it should have come out 4.0 with the rest of mogre? I'm pretty sure I didn't change anything in mogrebuilder or the source that would change what mois was compiled against.

I don't remember that. It's too long ago.
But user RMI wrote something about in the topic Mogre 1.7.4 64bits.
He wrote, MogreBuilder would build MOIS against .NET 4.5 (only related for the x64 setting??).
You can ask him for details.
I suppose it's not difficult to build MOIS, when you have all source files, which were created by MogreBuilder.
Maybe RMI additionally publish a binary x86 version version of it. So you can just use it.

se5a

09-02-2014 20:25:34

oh huh. yeah he does say in that thread it's a problem with both x86 and x64.

I'll have a look and see if i can figure it out.
I'm still confused as to why it appears to be 4.0 when checking the properties (in VS under resources)

Beauty

09-02-2014 21:31:13

For the mogre.dll file I know that you can write to the field what you want (before you build it).
So in the past I had the wrong Mogre version in the properties.
Then I added some code to the MogreBuilder to update the field automatically.
Maybe this could be a reason for MOIS?
I never used, nor compiled MOIS, so I don't know.

se5a

11-02-2014 00:47:37

Where abouts do you do this Beauty? I was looking for it and realised I had no clue how you even set it in a non C# project.

Beauty

12-02-2014 23:58:56

How to set the version properties of the Mogre DLL file

I think I found the related information (after a while):

The version settings for C# applications are defined in the file Properties \ AssemblyInfo.cs.
And for C++ applications in the file AssemblyInfo.cpp.

Here is the content for the Mogre binary settings:

using namespace System;
using namespace System::Reflection;
using namespace System::Runtime::CompilerServices;
using namespace System::Runtime::InteropServices;
using namespace System::Security::Permissions;

//
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
//
[assembly:AssemblyTitleAttribute("MOGRE")];
[assembly:AssemblyDescriptionAttribute("OGRE 3D .NET Wrapper")];
[assembly:AssemblyConfigurationAttribute("")];
[assembly:AssemblyCompanyAttribute("")];
[assembly:AssemblyProductAttribute("Mogre")];
[assembly:AssemblyCopyrightAttribute("")];
[assembly:AssemblyTrademarkAttribute("")];
[assembly:AssemblyCultureAttribute("")];

//
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the value or you can default the Revision and Build Numbers
// by using the '*' as shown below:

[assembly:AssemblyVersionAttribute("1.7.1")];

[assembly:ComVisible(false)];

[assembly:CLSCompliantAttribute(true)];

[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)];



My auto update code for the Mogre version I added to the file MogreBuilder \ Source \ Tasks \ UpdateMogreVersion.cs.

It grabbs the Ogre version definitions from the file OgreMain \ include \ OgrePrerequisites.h, where it's defined by these lines:

#define OGRE_VERSION_MAJOR 1
#define OGRE_VERSION_MINOR 8
#define OGRE_VERSION_PATCH 0


After this, it updates the Mogre version definitions in the file Main \ AssemblyInfo.cpp.

se5a

13-02-2014 03:34:21

I'm still not seeing how to set the .net version it's building for?

Beauty

13-02-2014 08:23:42

oh, you mean the .NET version ...
Sorry, I don't know.

You could do this:
Create an empty project and check in all files into a new repository.
Then you change the .NET target type in Visual Studio.
After this, the revision control software shows you, where the changes are made.

se5a

15-02-2014 05:18:06

ok found it.

It's the MOIS_vs2012.vcxproj file (or whichever apropriate VS version)
the line you're looking for under the 2012 version is under:
<PropertyGroup Label="Globals">
and change the line:
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> (to v4.0 obviously)

you can check which version it's being built againsed in VS by opening the sln file in VS, rightclicking MOIS in teh solution explorer -> properties, select "Common Properties"
the "Targeted framework: is shown near at the top.

the other vcxproj files for the other versions of VS are quite a bit different.

Beauty, do you have access to the MOIS repository that mogrebuilder takes from? it'd be a 10 second change to fix this (should be 4.0 as default, since the rest of mogre is 4.0)
It's line 26 here: https://bitbucket.org/mogre/mogreaddons ... ault#cl-26
looks like the VS10 version is 2.0

we should look at having a .net version option in the builder... maybe if I'm bored and motorvated enough in the near future I'll have a look, I've just got a job though so that's less likely to happen.
on the other hand it seems that the project file for VS10 and VS12 are simular enough that finding it and changing it in each of the vcxproj files before it's build shouldnt be too hard.

Beauty

15-02-2014 20:04:24

Good note - It's done.
(10 minutes instead of 10 seconds)

I try to find time to extend MogreBuilder for an option to change the .NET version.

se5a

16-02-2014 00:21:50

Excelent!
a whole 10 min? I'd have just edited the file on bitbucket.
I guess you wanted to test it to be sure though ;-)

Beauty

16-02-2014 16:50:12

a whole 10 min?
Searching the related repository on my harddisks (where I have more then 1 clone for previously tests), searching for the related files, looking around in the project configuration inside of VS.
Well, the speed of time is often too fast.

se5a

16-02-2014 18:48:39


Well, the speed of time is often too fast.

That it is... that it is.