Mogre.Builder - a tool for easy, automatic build of Mogre

amirabiri

09-02-2011 20:08:37

.
This topic is locked now.
The discussion continues in the new topic [MogreBuilder] My mission to build a better Mogre.

.

Note by forum moderator:
This topic contains posts, which were moved from the topic Mogre SDK development to here, to keep the different discussion contents seperated.
The idea for a build tool was published in this post.



OK I will start working now on automating the build process.

In a nutshell I don't think it's a big deal: compiling a VS project should be simple (msbuild from the command line). I haven't checked but I pressume cmake has command line ability.

I will have to make modifications to the autowrapper to make a command line version of it. Unless someone else wants to take this on?

Beyond that it's just a simple script that strings them all together.

The only question that remains is what to use in order to script it. My initial thought is to use a simple batch script because it's simple and does not require any special installation. However my gut feeling is that eventually this will grow to be a beast - we will want different command line switches for certain things, output analysing, intelligent error checking and helpful error messages, email sending to an email list on failed builds, etc.

So it follows that it should be more than just a windows batch script. The first thing that pops to mind is Python which is common in this scene but I hate Python and much prefer Ruby. However perhaps there is something else altogether that would be better suited for this task?

I'd appreciate any suggestions.

mstoyke

09-02-2011 23:24:50

Using a simple batch file would be something to start with. And if it gets more complicated, it's very easy to switch to something else later.

Beauty

09-02-2011 23:47:20

I will have to make modifications to the autowrapper to make a command line version of it.

I never used the autowrapper.
If the problem is to control it by a GUI, you can simulate several actions (e.g. click buttons with the name "xyz") by the nice programming AutoIt.
http://www.autoitscript.com/site/autoit
http://en.wikipedia.org/wiki/AutoIt

AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying “runtimes” required!

AutoIt was initially designed for PC “roll out” situations to reliably automate and configure thousands of PCs. Over time it has become a powerful language that supports complex expressions, user functions, loops and everything else that veteran scripters would expect.

Features:

* Easy to learn BASIC-like syntax
* Simulate keystrokes and mouse movements
* Manipulate windows and processes
* Interact with all standard windows controls
* Scripts can be compiled into standalone executables
* Create Graphical User Interfaces (GUIs)
* COM support
* Regular expressions
* Directly call external DLL and Windows API functions
* Scriptable RunAs functions
* Detailed helpfile and large community-based support forums
* Compatible with Windows 2000 / XP / 2003 / Vista / 2008 / Windows 7 / 2008 R2
* Unicode and x64 support
* Digitally signed for peace of mind
* Works with Windows Vista’s User Account Control (UAC)

AutoIt has been designed to be as small as possible and stand-alone with no external .dll files or registry entries required making it safe to use on Servers. Scripts can be compiled into stand-alone executables with Aut2Exe.

Also supplied is a combined COM and DLL version of AutoIt called AutoItX that allows you to add the unique features of AutoIt to your own favourite scripting or programming languages!

Best of all, AutoIt continues to be FREE – but if you want to support the time, money and effort spent on the project and web hosting then you may donate using the link to your left in the menu.

amirabiri

12-02-2011 19:03:50

OK, I was able to create a batch script that automates the Mogre build process end-to-end.

To accomplish this I had to use some gnu tools like sed, and also wget for getting the dependencies project, although it could be argued that this is outside the scope of the build script.

But, once everything is in place, the script does everything.

However, I am going to discard it and start over, and I am going to do it in C# itself. i.e I'm going to build a project called Mogre.Builder that it's .exe file takes a Mogre checkout directory and can build it, taking care of different things.

The reasons for this are:
* In .NET there is an API access to the MsBuild engine: http://msdn.microsoft.com/en-us/library ... gine(VS.80).aspx
* Automating certain parts becomes grubby and requires external tools and hacky techniques. For examples using sed to manipulate a project file to add a file to the project. I might as well use .NET superior XML capabilities over that. Same goes for downloading dependencies if that is something we wish to do.
* Already the script isn't simple to grok, and I was now going to add more complexity to it: Incrementally perform only necessary tasks (like detect if the Ogre code has been patched, etc), lots of error checking and descriptive error messages etc. I can already see how this will get out of hand with a batch script.
* It's just not fun programming in a batch script... :-\

For reference, here is the resulting batch script code:

@echo off

rem setup VS environment
rem ====================
%comspec% /k ""C:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" x86


rem get & patch Ogre code
rem =====================
hg clone http://bitbucket.org/sinbad/ogre -u 58266f25ccd2 Main\OgreSrc\ogre
build-tools\patch -d Main\OgreSrc\ogre -p0 --binary --no-backup < "Main\Ogre Patches\58266f25ccd2.patch"


rem get & build Ogre dependencies
rem =============================
wget "http://surfnet.dl.sourceforge.net/project/ogre/ogre-dependencies-vc%2B%2B/1.7/OgreDependencies_MSVC_20100501.zip";
build-tools\unzip OgreDependencies_MSVC_20100501.zip -d Main\OgreSrc\ogre
del OgreDependencies_MSVC_20100501.zip

msbuild Main\OgreSrc\ogre\Dependencies\src\OgreDependencies.VS2010.sln /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\ogre\Dependencies\src\OgreDependencies.VS2010.sln /p:Configuration=Release;Platform=Win32


rem Run CMake
rem =========
mkdir Main\OgreSrc\build
cd Main\OgreSrc\build
cmake -DOGRE_CONFIG_ENABLE_PVRTC:BOOL=ON -OGRE_CONFIG_CONTAINERS_USE_CUSTOM_ALLOCATOR:BOOL=OFF -G "Visual Studio 10" ..\ogre
cd ..\..\..\


rem Autowrap
rem ========
cd Codegen\cpp2java
build.bat
cd ..\..\

msbuild Codegen\AutoWrap\AutoWrap_vs2010.sln
cd Codegen\AutoWrap\bin\Debug
AutoWrap.exe produce
cd ..\..\..\..\

cd Main\Ogre
copy_to_ogre.bat
cd ..\..\
copy /Y Main\include\auto\CLRObjects.inc Main\OgreSrc\build\include

build-tools\sed -f add-clr-files.sed -i Main\OgreSrc\build\OgreMain\OgreMain.vcxproj

rem Build Ogre - first pass
rem =======================

msbuild Main\OgreSrc\build\OgreMain\OgreMain.vcxproj /t:Clean /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\Components\Paging\OgrePaging.vcxproj /t:Clean /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\Components\RTShaderSystem\OgreRTShaderSystem.vcxproj /t:Clean /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\Components\Terrain\OgreTerrain.vcxproj /t:Clean /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\BSPSceneManager\Plugin_BSPSceneManager.vcxproj /t:Clean /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\CgProgramManager\Plugin_CgProgramManager.vcxproj /t:Clean /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\OctreeSceneManager\Plugin_OctreeSceneManager.vcxproj /t:Clean /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\OctreeZone\Plugin_OctreeZone.vcxproj /t:Clean /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\ParticleFX\Plugin_ParticleFX.vcxproj /t:Clean /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\PCZSceneManager\Plugin_PCZSceneManager.vcxproj /t:Clean /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\RenderSystems\Direct3D9\RenderSystem_Direct3D9.vcxproj /t:Clean /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\RenderSystems\GL\RenderSystem_GL.vcxproj /t:Clean /p:Configuration=Debug;Platform=Win32


build-tools\sed s/LINK_TO_MOGRE \d/LINK_TO_MOGRE 0/ -i Main\OgreSrc\ogre\OgreMain\include\CLRConfig.h
msbuild Main\OgreSrc\build\OgreMain\OgreMain.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\Components\Paging\OgrePaging.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\Components\RTShaderSystem\OgreRTShaderSystem.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\Components\Terrain\OgreTerrain.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\BSPSceneManager\Plugin_BSPSceneManager.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\CgProgramManager\Plugin_CgProgramManager.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\OctreeSceneManager\Plugin_OctreeSceneManager.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\OctreeZone\Plugin_OctreeZone.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\ParticleFX\Plugin_ParticleFX.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\PCZSceneManager\Plugin_PCZSceneManager.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\RenderSystems\Direct3D9\RenderSystem_Direct3D9.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\RenderSystems\GL\RenderSystem_GL.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
build-tools\sed s/LINK_TO_MOGRE \d/LINK_TO_MOGRE 1/ -i Main\OgreSrc\ogre\OgreMain\include\CLRConfig.h


rem Build Mogre
rem ===========
msbuild Main\Mogre_vs2010.sln /t:Rebuild /p:Configuration=Debug;Platform=Win32


rem Build Ogre again with linking back to Mogre
rem ===========================================
build-tools\sed s/LINK_TO_MOGRE \d/LINK_TO_MOGRE 1/ -i Main\OgreSrc\ogre\OgreMain\include\CLRConfig.h
msbuild Main\OgreSrc\build\OgreMain\OgreMain.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\Components\Paging\OgrePaging.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\Components\RTShaderSystem\OgreRTShaderSystem.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\Components\Terrain\OgreTerrain.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\BSPSceneManager\Plugin_BSPSceneManager.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\CgProgramManager\Plugin_CgProgramManager.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\OctreeSceneManager\Plugin_OctreeSceneManager.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\OctreeZone\Plugin_OctreeZone.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\ParticleFX\Plugin_ParticleFX.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\PlugIns\PCZSceneManager\Plugin_PCZSceneManager.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\RenderSystems\Direct3D9\RenderSystem_Direct3D9.vcxproj /t:build /p:Configuration=Debug;Platform=Win32
msbuild Main\OgreSrc\build\RenderSystems\GL\RenderSystem_GL.vcxproj /t:build /p:Configuration=Debug;Platform=Win32


In case you are wondering the repeated msbuild commands for each project file instead of one command using the solution file and specifying which projects to build is the result of an annoying "feature" of CMAKE called zero check projects which are always included in generated project files and allow cmake to hook into the build process. However the command line msbuild can't handle them, or at least I couldn't find a better way around it.

amirabiri

12-02-2011 19:07:25

I have created a repository for the Mogre.Builder: https://bitbucket.org/amirabiri/mogre.builder if anyone is interested in following its progress.

Beauty

12-02-2011 20:04:24

An full automatic Mogre build script/application?
Great !!

takes a Mogre checkout directory and can build it
I suppose in this way it's also possible to compile Mogre with a modified source code. (e.g. to embed special functionality)
Is this right?

What do you think to move the Build Application posts to a new forum topic?
I prefer to do it, because it's more clear for people who are searching for information in longer thread. Also it's more easy for discussions.

amirabiri

12-02-2011 23:57:37

Well it will automate the build so you can use it for any purpose you would like to compile Mogre for.

Mainly my hope is to make it easy for us to maintain Mogre, have nightly and stable builds for all .NET versions, etc. And to make it easier to write addons for Mogre.

amirabiri

13-02-2011 00:08:24

If anyone knows a good way to either programmatically apply a patch in C# or generally apply a patch in windows from the command line I would appreciate a nudge in the right direction.

Currently I'm using gnu patch.exe for win32, but it does not seem to be playing very nice with System.Diagnostics.Process...

CodeKrash

14-02-2011 00:04:57

for windows 7 64
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat

CodeKrash

14-02-2011 00:14:55

sed is an external tool, and not everyone has that tool available
after i set the absolute path to sed:

C:\Users\Matt\Desktop\new mogre\Mogre>"C:\Users\Matt\Desktop\new mogre\sed.exe"
-f add-clr-files.sed -i Main\OgreSrc\build\OgreMain\OgreMain.vcxproj
C:\Users\Matt\Desktop\new mogre\sed.exe: Couldn't open file add-clr-files.sed: N
o such file or directory


add-clr-files.sed is missing

amirabiri

14-02-2011 11:18:43

Yes I didn't put up the code for that sed script and instructions on how to get the other gnu tools.

Anyway I just put it up there for folks to have a look, but I discarded this version.

The C# based version is ready I will upload it soon.

amirabiri

14-02-2011 22:20:41

OK, first ALPHA version of the Mogre auto-builder is ready for download.

This version is not complete yet, it is hardcoded to only compile the Debug/.NET4 version and had no command line flexibility yet. It also does not automatically download the right Ogre version which I want the final version to do.

But - it works! :-)

To use it download the zip file and extract the files into the root of a Mogre checkout dir. The Ogre code must also have been previously checked out as per the build instructions (into Main\OgreSrc\ogre). Then open a command prompt, cd to the root dir of the Mogre checkout, and run MogreBuilder.exe.

A couple of known issues / notes / things to look out for:
  1. The builder doesn't download the Ogre source code, so you have to check it out correctly yourself.[/*:m]
  2. The builder currently only builds the .NET4/Debug version.[/*:m]
  3. The error checking and assertions are still slim and exceptions are deliberately allowed to propagate, in other words you may get the exception window often.[/*:m]
  4. There is currently no way to execute only a part of the process.[/*:m][/list:u]

    All of the above will be changed now as my next goals are to increase the flexibility and robustness of the tool. The purpose of this "alpha" release is in case it might already proof useful to anyone and to get some feedback.

    You can download the "Alpha 1" version here: https://bitbucket.org/amirabiri/mogre.b ... alpha1.zip

amirabiri

14-02-2011 22:24:40

Oh wait I forgot the most important note: it doesn't work yet on the Mogre source tree lol!

There were a couple of changes to the Mogre tree that I needed to apply in order to make the builder work. I've already submitted those to mstoyke/GantZ. Until they apply it (assuming they don't throw it back in my face with some painful criticism... :-)) the builder won't work on the normal Mogre checkout.

If you would like to test it you can run it on a checkout of my clone of Mogre, which is fresh from the day before yesterday and includes my changes: https://bitbucket.org/amirabiri/mogre.

amirabiri

14-02-2011 23:02:54

Ahm, more things I forgot to mention:
  1. Running the full Mogre build process end to end is like an intense hour at the Gym for your computer. Expect it to slow down to the halt and act funny while the build is running.[/*:m]
  2. Currently stopping the builder mid-way isn't properly handled and running compiler processes aren't killed. In other words if you press Ctrl-C in the middle of a compilation stage, the compilation will continue in the background, again eating up your CPU, memory and disk I/O. It will also continue to hold filesystem handles to your checkout directory, preventing you from deleting it. In other words if you Ctrl+C the builder immediately kill all cl.exe processes running on your machine.[/*:m]
  3. RE the previous point I found that on my Windows 7 the cl.exe processes don't appear normally in the task manager. I had to use Sysinternals process explorer to kill them. I think this is the way that the MsBuild API works (it uses some background process). You can download Sysinternals Process Explorer here. I recommend that you download it before starting to test the builder. It's generally a good tool to have around anyway.[/*:m][/list:u]

CodeKrash

16-02-2011 23:40:34

much thanks for seeing this problem and cranking out a solution for it!

So far so good, but I cant figure out how to obtain the correct "tree", I do have the downloads pointed to here preserved and ready, but not sure how to structure the "target" folder. I filed an enhancement request here Thanks again, cant wait to fire this puppy up! :D

amirabiri

17-02-2011 00:38:34

Thanks for the feedback, glad I can help :-).

Can you be a bit more specific? I tested the this release with the build instructions and it worked.

The only things you have to make sure for the target folder are:
  1. That it is a valid Mogre checkout.[/*:m]
  2. That it contains my patch (i.e for now until I push my patch to Mogre use my fork).[/*:m]
  3. That you checkout Ogre code into Main\OgreSrc\ogre (as per the first line of the BUILD file).[/*:m][/list:u]

    He is an example session assuming that C:\MogreBuild is a folder with nothing in it other than the MogreBuilder.exe and its dependencies (Ionic.Zip.dll and pat-ch.exe):

    C:\MogreBuild> hg clone http://bitbucket.org/amirabiri/mogre .
    C:\MogreBuild> hg clone http://bitbucket.org/sinbad/ogre -u 58266f25ccd2 Main\OgreSrc\ogre
    C:\MogreBuild> MogreBuilder.exe


    If you are trying the above and it fails, please post here or add an issue in bitbucket with details, error message, etc.

amirabiri

17-02-2011 00:39:36

And of course if you come to the IRC channel we can diagnose the problem more quickly :-)

smiley80

17-02-2011 01:39:01

There seems to be a problem if the path contains spaces: "Can't execute patch.exe"
Otherwise, no problems. Good job.

Running the full Mogre build process end to end is like an intense hour at the Gym for your computer.
Only half an hour and it didn't even sweat. I demand a refund.

amirabiri

17-02-2011 02:26:27

Perhaps it's time to upgrade this aging Core2 2.13Ghz... :-)

I'll add that to my (mental) TODO list.

An of course please all feel free to use the issue tracker in bitcuket: https://bitbucket.org/amirabiri/mogre.builder/issues

kdr35

17-02-2011 12:27:56

Firstly thanks for Amirabiri to Mogre.Builder.

Our team use Mogre 1.7.1 , we need to use Terrain and Paging in mogre but Mogre 1.7.1 doesnt include terrain and paging so i decided to build mogre. While i am dealing with build steps of mogre, i saw your post. Immediately i decided to use your builder :) I am using below steps;

C:\MogreBuild> hg clone http://bitbucket.org/amirabiri/mogre .
C:\MogreBuild> hg clone http://bitbucket.org/sinbad/ogre -u 58266f25ccd2 Main\OgreSrc\ogre
C:\MogreBuild> MogreBuilder.exe


But I am taking a error message which says;

Checking target directory
Target directory doesnt appear to be the root of a Mogre code tree.


My directory structure :

C:/MogreBuild
---Main
---mogre
---Ionic.Zip.dll
---MogreBuilder.exe
---pat-ch.exe

How to I should make directory structure?

Thanks...

smiley80

17-02-2011 12:56:25

You've left out the '.' when you cloned Mogre. So instead of the current dir, hg used 'mogre'. Moving the contents of that dir to the root should fix that.

amirabiri

17-02-2011 14:06:10

Something is wrong with your directory, you should have a "CodeGen" subfolder, and I'm not sure what the "mogre" folder is doing there.

Have a look here: https://bitbucket.org/mogre/mogre/src to see how the Mogre directory structure looks like in the repository itself.

amirabiri

17-02-2011 14:07:27

Erm... what smiley80 said.

(funny how it's so simple once someone else has figured it out...)

kdr35

17-02-2011 14:15:05

Writing current directory solved the problem;

C:\MogreBuilder
----.hg
----Codegen
----Main
----.hgignore
----BUILD
----Ionic.Zip.dll
----MogreBuilder.exe
----pat-ch.exe

then I took a error messages said;

Can't find cmake in path. Make sure cmake is installed and available in the system path

I downloaded cmake software from http://www.cmake.org/cmake/resources/software.html

Windows (Win32 Installer) cmake-2.8.4-win32-x86.exe (I use windows 7 32 bit)

then

It started build operations. It builded successfully ogre and dependencies. While it was building mogre , I took a lot of errors then build was failed.

I took some screenshot on errors , it may be syntax error on mogre but i didnt change any row .Even if I did not open the codes of mogre after cloning.

I wonder why did it crash :?

McDonte

17-02-2011 14:24:17

I took a error messages said;

Can't find cmake in path. Make sure cmake is installed and available in the system path


I got the same error but I definitely have CMake and used often.
It's a 64bit system so CMake is located at C:\Program Files (x86)
Could that cause the problem?

amirabiri

17-02-2011 21:40:22

Soon I will release a new much improved version so hopefully the problem will go away then.

amirabiri

17-02-2011 21:45:37

The patches necessary for the Mogre Builder to build Mogre have now been applied to the main Mogre repository, so I have deleted my fork of Mogre.

If you want to test the Mogre Builder just checkout Mogre the usual way:

hg clone http://bitbucket.org/mogre/mogre .
hg clone http://bitbucket.org/sinbad/ogre -u 58266f25ccd2 Main\OgreSrc\ogre
MogreBuilder.exe


In fact I plan to eventually make the Mogre Builder take over the checkout process as well, so in the future it will look something like this:


> mkdir Mogre
> cd Mogre
> MogreBuilder . --checkout --branch=default


The advantage here is that Mogre Builder will also take care of matching the right ogre revision to each version of Mogre and hopefully eliminate this as another potential issue for users.

kdr35

18-02-2011 09:15:04

I am looking forward to your release. Auto release will help me a lot. Besides your thought structure is very simple and clear :) thanks for helps.

kdr35

18-02-2011 14:39:43

While I was waiting autobuilder relase, i tried to run Manual Mogre Builder Directives on https://bitbucket.org/mogre/mogre/src/tip/BUILD.
While I was on last step,

- For VS2010, open soultion "Mogre\Main\Mogre_vs2010.sln" in Visual Studio.
- Use batch build to rebuild all projects.


I took a lot of errors which is similar above on screenshots. I think throwed errors from manual build are same errors on throwed by Autobuilder. I wonder, Does manual build operation require any configuration about CLR options on VS or anything.

I sent detailed Visual Studio Output here http://bit.ly/eARrvR

CodeKrash

18-02-2011 17:13:20

>mogrebuilder
Checking target directory
Target Directory: C:\Users\Matt\Desktop\new new mogre
Checking environment
Cmake found
Hg found
Patching Ogre source tree
Can't execute patch.exe


also tried using the working directory "Target Directory: C:\Users\Matt\Desktop\testmogre"

CodeKrash

18-02-2011 17:34:00

also I renamed pat-ch.exe to patch.exe, and ran it, and it challenged me (I assume for UAC or something) so i made a couple batch files:

file1:cd "C:\Users\Matt\Desktop\testmogre"
Start "Mogre Compiler" C:\Users\Matt\Desktop\testmogre\file2.bat

file2:cd "C:\Users\Matt\Desktop\testmogre"
pause
.\mogrebuilder.exe
pause



makes it easier to review the log of the compile.


C:\Users\Matt\Desktop\testmogre>cd "C:\Users\Matt\Desktop\testmogre"

C:\Users\Matt\Desktop\testmogre>pause
Press any key to continue . . .

C:\Users\Matt\Desktop\testmogre>.\mogrebuilder.exe
Checking target directory
Target Directory: C:\Users\Matt\Desktop\testmogre
Checking environment
Cmake found
Hg found
Patching Ogre source tree
Can't execute patch.exe

C:\Users\Matt\Desktop\testmogre>pause
Press any key to continue . . .

C:\Users\Matt\Desktop\testmogre>


that was when running it as admin, and you keep the shell that was used to compile

CodeKrash

18-02-2011 17:45:38

it's working now, extracted this into my working directory, replacing the files, and ran the program once as admin (indicated that the process had failed), then normally (file1.bat),

if you like I have some c# code to help automate the produce gui (basically press produce, and then close the resulting ok message)

if anyone's wondering, the source tree should be the same as the working directory for the binaries and batch files

CodeKrash

18-02-2011 17:57:00

now i seem to be getting this:


C:\Users\Matt\Desktop\testmogre>cd "C:\Users\Matt\Desktop\testmogre"

C:\Users\Matt\Desktop\testmogre>pause
Press any key to continue . . .

C:\Users\Matt\Desktop\testmogre>.\mogrebuilder.exe
Checking target directory
Target Directory: C:\Users\Matt\Desktop\testmogre
Checking environment
Cmake found
Hg found
Patching Ogre source tree
Ogre code appears to be already patched, skipping patch
Handling Ogre dependencies
Downloading Ogre dependencies
................................................................................
................................................................................
.................................................
Unpacking Ogre dependencies
Building Ogre dependencies (Debug)

Building OgreDependencies.VS2010..
freetype.2010...............................
zlib.2010...............................
zziplib.2010.................................
OIS.2010..................................
FreeImageLib.2010........
LibJPEG.2010.............................
LibMNG.2010.............................
LibOpenJPEG.2010.............................
LibPNG.2010.............................
LibRawLite.2010..............................
LibTIFF.2010.............................
OpenEXR.2010.............................
ZLib.FreeImage.2010................................
Building manifest for LibJPEG.2010
Building manifest for LibMNG.2010
Building manifest for LibOpenJPEG.2010
Building manifest for LibPNG.2010
Building manifest for LibRawLite.2010
Building manifest for LibTIFF.2010
Building manifest for OpenEXR.2010
Building manifest for ZLib.FreeImage.2010.............
Linking LibJPEG.2010
Linking LibMNG.2010
Linking LibOpenJPEG.2010
Linking LibPNG.2010
Linking LibRawLite.2010
Linking LibTIFF.2010
Linking OpenEXR.2010
Linking ZLib.FreeImage.2010..............
Cg.2010...............
Building Ogre dependencies (Release)

Building OgreDependencies.VS2010..
freetype.2010..............................
zlib.2010...............................
zziplib.2010.................................
OIS.2010..................................
FreeImageLib.2010........
LibJPEG.2010.............................
LibMNG.2010.............................
LibOpenJPEG.2010.............................
LibPNG.2010.............................
LibRawLite.2010.............................
LibTIFF.2010.............................
OpenEXR.2010.............................
ZLib.FreeImage.2010................................
Building manifest for LibJPEG.2010
Building manifest for LibMNG.2010
Building manifest for LibOpenJPEG.2010
Building manifest for LibPNG.2010
Building manifest for LibRawLite.2010
Building manifest for LibTIFF.2010
Building manifest for OpenEXR.2010
Building manifest for ZLib.FreeImage.2010.............
Linking LibJPEG.2010
Linking LibMNG.2010
Linking LibOpenJPEG.2010
Linking LibPNG.2010
Linking LibRawLite.2010
Linking LibTIFF.2010
Linking OpenEXR.2010
Linking ZLib.FreeImage.2010..............
Cg.2010...............
Running CMake on Ogre source tree
Autowrapping Ogre classes
Running cpp2java to scan Ogre source tree and build meta-data
Building Mogre Autowrapper

Building AutoWrap_vs2010...............................
Running Mogre Autowrapper
Copying additional CLR code to Ogre Source tree
Copying Mogre files to Ogre source tree
Adding Mogre's additional Ogre source files
Building Ogre without linking back to Mogre

OGRE (OgreMain:Rebuild;OgrePaging:Rebuild;OgreRTShaderSystem:Rebuild;OgreTerrain
:Rebuild;Plugin_BSPSceneManager:Rebuild;Plugin_CgProgramManager:Rebuild;Plugin_O
ctreeSceneManager:Rebuild;Plugin_OctreeZone:Rebuild;Plugin_ParticleFX:Rebuild;Pl
ugin_PCZSceneManager:Rebuild;RenderSystem_Direct3D9:Rebuild;RenderSystem_GL:Rebu
ild)....
Rebuilding OgreMain............................'LastExceptionThrown' : undeclare
d identifier


Failed to build Main\OgreSrc\build\OGRE.sln

C:\Users\Matt\Desktop\testmogre>pause
Press any key to continue . . .

[attachment=0]directory.png[/attachment]

McDonte

18-02-2011 19:33:27

I took a lot of errors which is similar above on screenshots. I think throwed errors from manual build are same errors on throwed by Autobuilder. I wonder, Does manual build operation require any configuration about CLR options on VS or anything.

I sent detailed Visual Studio Output here http://bit.ly/eARrvR


This is exactly the kind of errors I got when i tried to compile Mogre on my own. Check the Ogre version your are using, it took amirabiri about half an hour to figure it out but I was using the wrong revision. (Thanks again a lot for your help, amirabiri!)

CodeKrash

18-02-2011 21:23:11

https://bitbucket.org/mogre/mogre/src/tip/BUILD

- Clone Mogre: "hg clone http://bitbucket.org/mogre/mogre -u Mogre17 Mogre".
- Clone Ogre 1.7: "hg clone http://bitbucket.org/sinbad/ogre -u 58266f25ccd2 Mogre\Main\OgreSrc\ogre".



C:\MogreBuild> hg clone http://bitbucket.org/amirabiri/mogre .
C:\MogreBuild> hg clone http://bitbucket.org/sinbad/ogre -u 58266f25ccd2 Main\OgreSrc\ogre
C:\MogreBuild> MogreBuilder.exe

AliAkdurak

19-02-2011 10:11:37

I was trying to use the auto builder but it seems that it left the OGRE use boost flag as 1 which If I remember correctly we do not use boost with mogre. Can you please confirm this. I have like 125 errors of not finding #include boost/range.cpp but also all of these error's seems to be originating from a single file. OgreIteratorRange.h. which also indicates maybe something else mis functioned along the way.

amirabiri

19-02-2011 11:48:45

That's interesting because I checked the builder end-to-end on a fresh checkout and it worked and I didn't need to turn off boost.

Can you send me or post your Main\OgreSrc\build\CMakeCache.txt file ?

AliAkdurak

19-02-2011 12:08:02

Yeah I checked this too this is why I reported

//Use Boost extensions
OGRE_USE_BOOST:BOOL=ON

can be clearly seen. I dont know why this could happen I did build mogre before but failed for other reasons. CmakeGUI also says it should not be true. I have no idea why this could be.


# This is the CMakeCache file.
# For build in directory: c:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/build
# It was generated by CMake: C:/Program Files/CMake 2.8/bin/cmake.exe
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//Path to a library.
Boost_DATE_TIME_LIBRARY_DEBUG:FILEPATH=Boost_DATE_TIME_LIBRARY_DEBUG-NOTFOUND

//Path to a library.
Boost_DATE_TIME_LIBRARY_RELEASE:FILEPATH=Boost_DATE_TIME_LIBRARY_RELEASE-NOTFOUND

//Path to a file.
Boost_INCLUDE_DIR:PATH=C:/boost

//Boost diagnostic define
Boost_LIB_DIAGNOSTIC_DEFINITIONS:STRING=-DBOOST_LIB_DIAGNOSTIC

//Path to a library.
Boost_THREAD_LIBRARY_DEBUG:FILEPATH=Boost_THREAD_LIBRARY_DEBUG-NOTFOUND

//Path to a library.
Boost_THREAD_LIBRARY_RELEASE:FILEPATH=Boost_THREAD_LIBRARY_RELEASE-NOTFOUND

//Semicolon separated list of supported configuration types, only
// supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything
// else will be ignored.
CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release;MinSizeRel;RelWithDebInfo

//C++ compiler
CMAKE_CXX_COMPILER:FILEPATH=cl

//Flags used by the compiler during all build types.
CMAKE_CXX_FLAGS:STRING= /DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR

//Flags used by the compiler during debug builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=/D_DEBUG /MDd /Zi /Ob0 /Od /RTC1

//Flags used by the compiler during release minsize builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /D NDEBUG

//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_CXX_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /D NDEBUG

//Flags used by the compiler during Release with Debug Info builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /D NDEBUG

//Libraries linked by defalut with all C++ applications.
CMAKE_CXX_STANDARD_LIBRARIES:STRING='kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib '

//C compiler
CMAKE_C_COMPILER:FILEPATH=cl

//Flags used by the compiler during all build types.
CMAKE_C_FLAGS:STRING= /DWIN32 /D_WINDOWS /W3 /Zm1000

//Flags used by the compiler during debug builds.
CMAKE_C_FLAGS_DEBUG:STRING=/D_DEBUG /MDd /Zi /Ob0 /Od /RTC1

//Flags used by the compiler during release minsize builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /D NDEBUG

//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_C_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /D NDEBUG

//Flags used by the compiler during Release with Debug Info builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /D NDEBUG

//Libraries linked by defalut with all C applications.
CMAKE_C_STANDARD_LIBRARIES:STRING='kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib '

//Flags used by the linker.
CMAKE_EXE_LINKER_FLAGS:STRING= /STACK:10000000 /machine:X86

//Flags used by the linker during debug builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING='/debug '

//Flags used by the linker during release minsize builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO

//Flags used by the linker during release builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO

//Flags used by the linker during Release with Debug Info builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING='/debug '

//OGRE install prefix
CMAKE_INSTALL_PREFIX:PATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/build/sdk

//Path to a program.
CMAKE_LINKER:FILEPATH=CMAKE_LINKER-NOTFOUND

//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe

//Flags used by the linker during the creation of modules.
CMAKE_MODULE_LINKER_FLAGS:STRING= /STACK:10000000 /machine:X86

//Flags used by the linker during debug builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING='/debug '

//Flags used by the linker during release minsize builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO

//Flags used by the linker during release builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO

//Flags used by the linker during Release with Debug Info builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING='/debug '

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=OGRE

//RC compiler
CMAKE_RC_COMPILER:FILEPATH=rc

//Flags for Fortran compiler.
CMAKE_RC_FLAGS:STRING=' '

//Flags used by the linker during the creation of dll's.
CMAKE_SHARED_LINKER_FLAGS:STRING= /STACK:10000000 /machine:X86

//Flags used by the linker during debug builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING='/debug '

//Flags used by the linker during release minsize builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO

//Flags used by the linker during release builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO

//Flags used by the linker during Release with Debug Info builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING='/debug '

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO

//If true, cmake will use relative paths in makefiles and projects.
CMAKE_USE_RELATIVE_PATHS:BOOL=OFF

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

//Enable to build NSIS packages
CPACK_BINARY_NSIS:BOOL=ON

//Enable to build ZIP packages
CPACK_BINARY_ZIP:BOOL=OFF

//Enable to build ZIP source packages
CPACK_SOURCE_ZIP:BOOL=ON

//x
Cg_INCLUDE_DIR:PATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/include/Cg

//x
Cg_LIBRARY_DBG:FILEPATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/cg.lib

//x
Cg_LIBRARY_FWK:STRING=NOTFOUND

//x
Cg_LIBRARY_REL:FILEPATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/cg.lib

//Path to a file.
CppUnit_INCLUDE_DIR:PATH=CppUnit_INCLUDE_DIR-NOTFOUND

//Path to a library.
CppUnit_LIBRARY_DBG:FILEPATH=CppUnit_LIBRARY_DBG-NOTFOUND

//Path to a library.
CppUnit_LIBRARY_REL:FILEPATH=CppUnit_LIBRARY_REL-NOTFOUND

//Graphviz Dot tool for using Doxygen
DOXYGEN_DOT_EXECUTABLE:FILEPATH=DOXYGEN_DOT_EXECUTABLE-NOTFOUND

//Doxygen documentation generation tool (http://www.doxygen.org)
DOXYGEN_EXECUTABLE:FILEPATH=DOXYGEN_EXECUTABLE-NOTFOUND

//Path to a file.
DirectX_D3D10_INCLUDE_DIR:PATH=C:/Program Files/Microsoft DirectX SDK (June 2010)/Include

//Path to a library.
DirectX_D3D10_LIBRARY:FILEPATH=C:/Program Files/Microsoft DirectX SDK (June 2010)/Lib/x86/d3d10.lib

//Path to a file.
DirectX_D3D11_INCLUDE_DIR:PATH=C:/Program Files/Microsoft DirectX SDK (June 2010)/Include

//Path to a library.
DirectX_D3D11_LIBRARY:FILEPATH=C:/Program Files/Microsoft DirectX SDK (June 2010)/Lib/x86/d3d11.lib

//Path to a library.
DirectX_D3DCOMPILER_LIBRARY:FILEPATH=C:/Program Files/Microsoft DirectX SDK (June 2010)/Lib/x86/d3dcompiler.lib

//Path to a library.
DirectX_D3DX10_LIBRARY:FILEPATH=C:/Program Files/Microsoft DirectX SDK (June 2010)/Lib/x86/d3dx10.lib

//Path to a library.
DirectX_D3DX11_LIBRARY:FILEPATH=C:/Program Files/Microsoft DirectX SDK (June 2010)/Lib/x86/d3dx11.lib

//Path to a library.
DirectX_D3DX9_LIBRARY:FILEPATH=C:/Program Files/Microsoft DirectX SDK (June 2010)/Lib/x86/d3dx9.lib

//Path to a library.
DirectX_DXERR_LIBRARY:FILEPATH=C:/Program Files/Microsoft DirectX SDK (June 2010)/Lib/x86/DxErr.lib

//Path to a library.
DirectX_DXGI_LIBRARY:FILEPATH=C:/Program Files/Microsoft DirectX SDK (June 2010)/Lib/x86/dxgi.lib

//Path to a library.
DirectX_DXGUID_LIBRARY:FILEPATH=C:/Program Files/Microsoft DirectX SDK (June 2010)/Lib/x86/dxguid.lib

//x
DirectX_INCLUDE_DIR:PATH=C:/Program Files/Microsoft DirectX SDK (June 2010)/Include

//x
DirectX_LIBRARY:FILEPATH=C:/Program Files/Microsoft DirectX SDK (June 2010)/Lib/x86/d3d9.lib

//Path to a file.
FREETYPE_FT2BUILD_INCLUDE_DIR:PATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/include

//Path to a file.
FREETYPE_INCLUDE_DIR:PATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/include

//Path to a library.
FREETYPE_LIBRARY_DBG:FILEPATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/freetype2311_d.lib

//Path to a library.
FREETYPE_LIBRARY_REL:FILEPATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/freetype2311.lib

//Path to a file.
FreeImage_INCLUDE_DIR:PATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/include

//Path to a library.
FreeImage_LIBRARY_DBG:FILEPATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/FreeImaged.lib

//Path to a library.
FreeImage_LIBRARY_REL:FILEPATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/FreeImage.lib

//Value Computed by CMake
OGRE_BINARY_DIR:STATIC=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/build

//Build Paging component
OGRE_BUILD_COMPONENT_PAGING:BOOL=ON

//Build Property component
OGRE_BUILD_COMPONENT_PROPERTY:BOOL=ON

//Build RTShader System component
OGRE_BUILD_COMPONENT_RTSHADERSYSTEM:BOOL=ON

//Build Terrain component
OGRE_BUILD_COMPONENT_TERRAIN:BOOL=ON

//Build BSP SceneManager plugin
OGRE_BUILD_PLUGIN_BSP:BOOL=ON

//Build Cg plugin
OGRE_BUILD_PLUGIN_CG:BOOL=ON

//Build Octree SceneManager plugin
OGRE_BUILD_PLUGIN_OCTREE:BOOL=ON

//Build PCZ SceneManager plugin
OGRE_BUILD_PLUGIN_PCZ:BOOL=ON

//Build ParticleFX plugin
OGRE_BUILD_PLUGIN_PFX:BOOL=ON

//Build Direct3D10 RenderSystem [EXPERIMENTAL]
OGRE_BUILD_RENDERSYSTEM_D3D10:BOOL=OFF

//Build Direct3D11 RenderSystem [EXPERIMENTAL]
OGRE_BUILD_RENDERSYSTEM_D3D11:BOOL=OFF

//Build Direct3D9 RenderSystem
OGRE_BUILD_RENDERSYSTEM_D3D9:BOOL=ON

//Build OpenGL RenderSystem
OGRE_BUILD_RENDERSYSTEM_GL:BOOL=ON

//Build OpenGL ES RenderSystem
OGRE_BUILD_RENDERSYSTEM_GLES:BOOL=OFF

//Build RTShader System FFP core shaders
OGRE_BUILD_RTSHADERSYSTEM_CORE_SHADERS:BOOL=ON

//Build RTShader System extensions shaders
OGRE_BUILD_RTSHADERSYSTEM_EXT_SHADERS:BOOL=ON

//Build Ogre demos
OGRE_BUILD_SAMPLES:BOOL=ON

//Build the unit tests & PlayPen
OGRE_BUILD_TESTS:BOOL=OFF

//Build the command-line tools
OGRE_BUILD_TOOLS:BOOL=ON

//Specify the memory allocator to use. Possible values:
//\n 1 - Standard allocator
//\n 2 - nedmalloc
//\n 3 - User-provided allocator
//\n 4 - nedmalloc with pooling
OGRE_CONFIG_ALLOCATOR:STRING=4

//STL containers in Ogre use the custom allocator
OGRE_CONFIG_CONTAINERS_USE_CUSTOM_ALLOCATOR:BOOL=ON

//Use doubles instead of floats in Ogre
OGRE_CONFIG_DOUBLE:BOOL=OFF

//Build DDS codec.
OGRE_CONFIG_ENABLE_DDS:BOOL=ON

//Build FreeImage codec. If you disable this option, you need to
// provide your own image handling codecs.
OGRE_CONFIG_ENABLE_FREEIMAGE:BOOL=ON

//Build PVRTC codec.
OGRE_CONFIG_ENABLE_PVRTC:BOOL=ON

//Include Viewport orientation mode support.
OGRE_CONFIG_ENABLE_VIEWPORT_ORIENTATIONMODE:BOOL=OFF

//Build ZIP archive support. If you disable this option, you cannot
// use ZIP archives resource locations. The samples won't work.
OGRE_CONFIG_ENABLE_ZIP:BOOL=ON

//Enable Ogre's memory tracker in debug mode
OGRE_CONFIG_MEMTRACK_DEBUG:BOOL=OFF

//Enable Ogre's memory tracker in release mode
OGRE_CONFIG_MEMTRACK_RELEASE:BOOL=OFF

//Use the new script compilers.
OGRE_CONFIG_NEW_COMPILERS:BOOL=ON

//Statically link the MS CRT dlls (msvcrt)
OGRE_CONFIG_STATIC_LINK_CRT:BOOL=OFF

//Ogre String uses the custom allocator
OGRE_CONFIG_STRING_USE_CUSTOM_ALLOCATOR:BOOL=OFF

//Copy dependency libs to the build directory
OGRE_COPY_DEPENDENCIES:BOOL=ON

//Path to prebuilt OGRE dependencies
OGRE_DEPENDENCIES_DIR:PATH=

//Install dependency libs needed for samples
OGRE_INSTALL_DEPENDENCIES:BOOL=ON

//Install documentation.
OGRE_INSTALL_DOCS:BOOL=OFF

//Install debug pdb files
OGRE_INSTALL_PDB:BOOL=OFF

//Install Ogre demos.
OGRE_INSTALL_SAMPLES:BOOL=OFF

//Install samples source files.
OGRE_INSTALL_SAMPLES_SOURCE:BOOL=OFF

//Install Ogre tools.
OGRE_INSTALL_TOOLS:BOOL=ON

//Install path for libraries, e.g. 'lib64' on some 64-bit Linux
// distros.
OGRE_LIB_DIRECTORY:STRING=lib

//Enable internal profiling support.
OGRE_PROFILING:BOOL=OFF

//Value Computed by CMake
OGRE_SOURCE_DIR:STATIC=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre

//Static build
OGRE_STATIC:BOOL=OFF

//Use Boost extensions
OGRE_USE_BOOST:BOOL=ON

//Path to a file.
OIS_BINARY_DBG:FILEPATH=C:/OgreSDK/bin/debug/OIS_d.dll

//Path to a file.
OIS_BINARY_REL:FILEPATH=C:/OgreSDK/bin/release/OIS.dll

//x
OIS_INCLUDE_DIR:PATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/include/OIS

//x
OIS_LIBRARY_DBG:FILEPATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib

//x
OIS_LIBRARY_FWK:STRING=NOTFOUND

//x
OIS_LIBRARY_REL:FILEPATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib

//OpenGL library for win32
OPENGLES_gl_LIBRARY:STRING=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/libgles_cm.lib

//OpenGL library for win32
OPENGL_gl_LIBRARY:STRING=opengl32

//GLU library for win32
OPENGL_glu_LIBRARY:STRING=glu32

//Value Computed by CMake
OgreMain_BINARY_DIR:STATIC=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/build/OgreMain

//Dependencies for the target
OgreMain_LIB_DEPENDS:STATIC=optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/freetype2311.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/freetype2311_d.lib;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/FreeImage.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/FreeImaged.lib;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/zziplib.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/zziplibd.lib;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/zlib.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/zlibd.lib;

//Value Computed by CMake
OgreMain_SOURCE_DIR:STATIC=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/OgreMain

//Value Computed by CMake
OgrePaging_BINARY_DIR:STATIC=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/build/Components/Paging

//Dependencies for the target
OgrePaging_LIB_DEPENDS:STATIC=general;OgreMain;

//Value Computed by CMake
OgrePaging_SOURCE_DIR:STATIC=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Components/Paging

//Value Computed by CMake
OgreProperty_BINARY_DIR:STATIC=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/build/Components/Property

//Dependencies for the target
OgreProperty_LIB_DEPENDS:STATIC=general;OgreMain;

//Value Computed by CMake
OgreProperty_SOURCE_DIR:STATIC=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Components/Property

//Value Computed by CMake
OgreRTShaderSystem_BINARY_DIR:STATIC=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/build/Components/RTShaderSystem

//Dependencies for the target
OgreRTShaderSystem_LIB_DEPENDS:STATIC=general;OgreMain;

//Value Computed by CMake
OgreRTShaderSystem_SOURCE_DIR:STATIC=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Components/RTShaderSystem

//Value Computed by CMake
OgreTerrain_BINARY_DIR:STATIC=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/build/Components/Terrain

//Dependencies for the target
OgreTerrain_LIB_DEPENDS:STATIC=general;OgreMain;general;OgrePaging;

//Value Computed by CMake
OgreTerrain_SOURCE_DIR:STATIC=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Components/Terrain

//pkg-config executable
PKG_CONFIG_EXECUTABLE:FILEPATH=PKG_CONFIG_EXECUTABLE-NOTFOUND

//Path to a file.
POCO_INCLUDE_DIR:PATH=POCO_INCLUDE_DIR-NOTFOUND

//Path to a library.
POCO_LIBRARY_DBG:FILEPATH=POCO_LIBRARY_DBG-NOTFOUND

//Path to a library.
POCO_LIBRARY_REL:FILEPATH=POCO_LIBRARY_REL-NOTFOUND

//Dependencies for the target
Plugin_BSPSceneManager_LIB_DEPENDS:STATIC=general;OgreMain;

//Dependencies for the target
Plugin_CgProgramManager_LIB_DEPENDS:STATIC=general;OgreMain;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/cg.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/cg.lib;

//Dependencies for the target
Plugin_OctreeSceneManager_LIB_DEPENDS:STATIC=general;OgreMain;

//Dependencies for the target
Plugin_OctreeZone_LIB_DEPENDS:STATIC=general;OgreMain;general;Plugin_PCZSceneManager;

//Dependencies for the target
Plugin_PCZSceneManager_LIB_DEPENDS:STATIC=general;OgreMain;

//Dependencies for the target
Plugin_ParticleFX_LIB_DEPENDS:STATIC=general;OgreMain;

//Dependencies for the target
RenderSystem_Direct3D9_LIB_DEPENDS:STATIC=general;OgreMain;general;C:/Program Files/Microsoft DirectX SDK (June 2010)/Lib/x86/d3d9.lib;general;C:/Program Files/Microsoft DirectX SDK (June 2010)/Lib/x86/d3dx9.lib;general;C:/Program Files/Microsoft DirectX SDK (June 2010)/Lib/x86/DxErr.lib;general;C:/Program Files/Microsoft DirectX SDK (June 2010)/Lib/x86/dxguid.lib;

//Dependencies for the target
RenderSystem_GL_LIB_DEPENDS:STATIC=general;OgreMain;general;glu32;general;opengl32;

//Dependencies for the target
Sample_BSP_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_BezierPatch_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_CameraTrack_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_CelShading_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_Character_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_Compositor_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_CubeMapping_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_DeferredShading_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_Dot3Bump_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_DynTex_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_FacialAnimation_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_Fresnel_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_Grass_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_Instancing_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_Isosurf_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_Lighting_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_Ocean_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_ParticleFX_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_ParticleGS_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_ShaderSystem_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_Shadows_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_SkeletalAnimation_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_SkyBox_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_SkyDome_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_SkyPlane_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_Smoke_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_SphereMapping_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_Terrain_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;general;OgreTerrain;general;OgrePaging;

//Dependencies for the target
Sample_TextureFX_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_Transparency_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_VolumeTex_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Dependencies for the target
Sample_Water_LIB_DEPENDS:STATIC=general;OgreMain;general;OgreRTShaderSystem;optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/OIS_d.lib;

//Path to a file.
TBB_INCLUDE_DIR:PATH=TBB_INCLUDE_DIR-NOTFOUND

//Path to a library.
TBB_LIBRARY_DBG:FILEPATH=TBB_LIBRARY_DBG-NOTFOUND

//Path to a library.
TBB_LIBRARY_REL:FILEPATH=TBB_LIBRARY_REL-NOTFOUND

//Path to a file.
Wix_BINARY_DIR:PATH=Wix_BINARY_DIR-NOTFOUND

//Path to a file.
ZLIB_INCLUDE_DIR:PATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/include

//Path to a library.
ZLIB_LIBRARY_DBG:FILEPATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/zlibd.lib

//Path to a library.
ZLIB_LIBRARY_REL:FILEPATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/zlib.lib

//Path to a file.
ZZip_INCLUDE_DIR:PATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/include

//Path to a library.
ZZip_LIBRARY_DBG:FILEPATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/debug/zziplibd.lib

//Path to a library.
ZZip_LIBRARY_REL:FILEPATH=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/zziplib.lib


########################
# INTERNAL cache entries
########################

//Stored GUID
ALL_BUILD_GUID_CMAKE:INTERNAL=E5424FC5-61F5-4766-8801-E6649A7B2626
//ADVANCED property for variable: Boost_DATE_TIME_LIBRARY_DEBUG
Boost_DATE_TIME_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Boost_DATE_TIME_LIBRARY_RELEASE
Boost_DATE_TIME_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Boost_INCLUDE_DIR
Boost_INCLUDE_DIR-ADVANCED:INTERNAL=1
//The library version string for boost libraries
Boost_LIB_VERSION:INTERNAL=1_43
//ADVANCED property for variable: Boost_THREAD_LIBRARY_DEBUG
Boost_THREAD_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Boost_THREAD_LIBRARY_RELEASE
Boost_THREAD_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
//The version number for boost libraries
Boost_VERSION:INTERNAL=104300
//ADVANCED property for variable: CMAKE_BUILD_TOOL
CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
//What is the target build tool cmake is generating for.
CMAKE_BUILD_TOOL:INTERNAL=C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=c:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/build
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=8
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=C:/Program Files/CMake 2.8/bin/cmake.exe
//ADVANCED property for variable: CMAKE_CONFIGURATION_TYPES
CMAKE_CONFIGURATION_TYPES-ADVANCED:INTERNAL=1
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files/CMake 2.8/bin/cpack.exe
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/CMake 2.8/bin/ctest.exe
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
CMAKE_CXX_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
CMAKE_C_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
CMAKE_DETERMINE_CXX_ABI_COMPILED:INTERNAL=TRUE
//Result of TRY_COMPILE
CMAKE_DETERMINE_C_ABI_COMPILED:INTERNAL=TRUE
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=C:/Program Files/CMake 2.8/bin/cmake-gui.exe
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Visual Studio 10
//Start directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=56
//ADVANCED property for variable: CMAKE_RC_COMPILER
CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1
CMAKE_RC_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS
CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=C:/Program Files/CMake 2.8/share/cmake-2.8
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS
CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_BINARY_NSIS
CPACK_BINARY_NSIS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_BINARY_ZIP
CPACK_BINARY_ZIP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_SOURCE_ZIP
CPACK_SOURCE_ZIP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Cg_INCLUDE_DIR
Cg_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Cg_LIBRARY_DBG
Cg_LIBRARY_DBG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Cg_LIBRARY_FWK
Cg_LIBRARY_FWK-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Cg_LIBRARY_REL
Cg_LIBRARY_REL-ADVANCED:INTERNAL=1
//x
Cg_PREFIX_PATH_INT_CHECK:INTERNAL=/Dependencies;/Dependencies;c:/OgreSDK
//ADVANCED property for variable: CppUnit_INCLUDE_DIR
CppUnit_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CppUnit_LIBRARY_DBG
CppUnit_LIBRARY_DBG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CppUnit_LIBRARY_REL
CppUnit_LIBRARY_REL-ADVANCED:INTERNAL=1
//x
CppUnit_PREFIX_PATH_INT_CHECK:INTERNAL=
//ADVANCED property for variable: DOXYGEN_DOT_EXECUTABLE
DOXYGEN_DOT_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DOXYGEN_EXECUTABLE
DOXYGEN_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DirectX_D3D10_INCLUDE_DIR
DirectX_D3D10_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DirectX_D3D10_LIBRARY
DirectX_D3D10_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DirectX_D3D11_INCLUDE_DIR
DirectX_D3D11_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DirectX_D3D11_LIBRARY
DirectX_D3D11_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DirectX_D3DCOMPILER_LIBRARY
DirectX_D3DCOMPILER_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DirectX_D3DX10_LIBRARY
DirectX_D3DX10_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DirectX_D3DX11_LIBRARY
DirectX_D3DX11_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DirectX_D3DX9_LIBRARY
DirectX_D3DX9_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DirectX_DXERR_LIBRARY
DirectX_DXERR_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DirectX_DXGI_LIBRARY
DirectX_DXGI_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DirectX_DXGUID_LIBRARY
DirectX_DXGUID_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DirectX_INCLUDE_DIR
DirectX_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DirectX_LIBRARY
DirectX_LIBRARY-ADVANCED:INTERNAL=1
//x
DirectX_PREFIX_PATH_INT_CHECK:INTERNAL=C:/Program Files/Microsoft DirectX SDK (June 2010)/;C:/apps_x86/Microsoft DirectX SDK*;C:/Program Files (x86)/Microsoft DirectX SDK*;C:/apps/Microsoft DirectX SDK*;C:/Program Files/Microsoft DirectX SDK*;C:\Program Files/Microsoft DirectX SDK*
//Stored GUID
EDIT_CACHE_GUID_CMAKE:INTERNAL=5EE39ADD-7CBD-4262-BD60-F613ADEB5AA5
//ADVANCED property for variable: FREETYPE_FT2BUILD_INCLUDE_DIR
FREETYPE_FT2BUILD_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: FREETYPE_INCLUDE_DIR
FREETYPE_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: FREETYPE_LIBRARY_DBG
FREETYPE_LIBRARY_DBG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: FREETYPE_LIBRARY_REL
FREETYPE_LIBRARY_REL-ADVANCED:INTERNAL=1
//x
FREETYPE_PREFIX_PATH_INT_CHECK:INTERNAL=
//ADVANCED property for variable: FreeImage_INCLUDE_DIR
FreeImage_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: FreeImage_LIBRARY_DBG
FreeImage_LIBRARY_DBG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: FreeImage_LIBRARY_REL
FreeImage_LIBRARY_REL-ADVANCED:INTERNAL=1
//x
FreeImage_PREFIX_PATH_INT_CHECK:INTERNAL=
//Stored GUID
INSTALL_GUID_CMAKE:INTERNAL=0FCEEE12-0A58-4E40-8A66-A8E8B2551A65
//ADVANCED property for variable: OGRE_BUILD_RTSHADERSYSTEM_CORE_SHADERS
OGRE_BUILD_RTSHADERSYSTEM_CORE_SHADERS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_BUILD_RTSHADERSYSTEM_EXT_SHADERS
OGRE_BUILD_RTSHADERSYSTEM_EXT_SHADERS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_CONFIG_ALLOCATOR
OGRE_CONFIG_ALLOCATOR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_CONFIG_CONTAINERS_USE_CUSTOM_ALLOCATOR
OGRE_CONFIG_CONTAINERS_USE_CUSTOM_ALLOCATOR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_CONFIG_DOUBLE
OGRE_CONFIG_DOUBLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_CONFIG_ENABLE_DDS
OGRE_CONFIG_ENABLE_DDS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_CONFIG_ENABLE_FREEIMAGE
OGRE_CONFIG_ENABLE_FREEIMAGE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_CONFIG_ENABLE_PVRTC
OGRE_CONFIG_ENABLE_PVRTC-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_CONFIG_ENABLE_VIEWPORT_ORIENTATIONMODE
OGRE_CONFIG_ENABLE_VIEWPORT_ORIENTATIONMODE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_CONFIG_ENABLE_ZIP
OGRE_CONFIG_ENABLE_ZIP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_CONFIG_MEMTRACK_DEBUG
OGRE_CONFIG_MEMTRACK_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_CONFIG_MEMTRACK_RELEASE
OGRE_CONFIG_MEMTRACK_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_CONFIG_NEW_COMPILERS
OGRE_CONFIG_NEW_COMPILERS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_CONFIG_STATIC_LINK_CRT
OGRE_CONFIG_STATIC_LINK_CRT-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_CONFIG_STRING_USE_CUSTOM_ALLOCATOR
OGRE_CONFIG_STRING_USE_CUSTOM_ALLOCATOR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_INSTALL_SAMPLES_SOURCE
OGRE_INSTALL_SAMPLES_SOURCE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_LIB_DIRECTORY
OGRE_LIB_DIRECTORY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_PROFILING
OGRE_PROFILING-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGRE_USE_BOOST
OGRE_USE_BOOST-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OIS_BINARY_DBG
OIS_BINARY_DBG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OIS_BINARY_REL
OIS_BINARY_REL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OIS_INCLUDE_DIR
OIS_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OIS_LIBRARY_DBG
OIS_LIBRARY_DBG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OIS_LIBRARY_FWK
OIS_LIBRARY_FWK-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OIS_LIBRARY_REL
OIS_LIBRARY_REL-ADVANCED:INTERNAL=1
//x
OIS_PREFIX_PATH_INT_CHECK:INTERNAL=/iPhoneDependencies;/iPhoneDependencies;/Dependencies;/Dependencies;c:/OgreSDK
//ADVANCED property for variable: OPENGLES_gl_LIBRARY
OPENGLES_gl_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OPENGL_gl_LIBRARY
OPENGL_gl_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OPENGL_glu_LIBRARY
OPENGL_glu_LIBRARY-ADVANCED:INTERNAL=1
//Stored GUID
OgreMain_GUID_CMAKE:INTERNAL=F1600010-D02D-49D8-9DDE-64F0F0608651
//Stored GUID
OgreMeshUpgrader_GUID_CMAKE:INTERNAL=78D853DF-69D8-43D3-9A6E-8617747F9BDF
//Stored GUID
OgrePaging_GUID_CMAKE:INTERNAL=CA223E49-645B-43CC-B9C5-BC3BEAEB100C
//Stored GUID
OgreProperty_GUID_CMAKE:INTERNAL=24F0CE75-1757-4AF7-8AE6-59361513E75F
//Stored GUID
OgreRTShaderSystem_GUID_CMAKE:INTERNAL=5A83CD39-4D7D-4A69-8257-43A93414B36E
//Stored GUID
OgreTerrain_GUID_CMAKE:INTERNAL=56113C4E-B4AE-43DF-81E9-4CC1770244FA
//Stored GUID
OgreXMLConverter_GUID_CMAKE:INTERNAL=E080BC17-159D-4A09-97EC-BBD815202D8B
//Stored GUID
PACKAGE_GUID_CMAKE:INTERNAL=5895AA54-6BE4-4551-BB37-C6DF004DCBCF
//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE
PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: POCO_INCLUDE_DIR
POCO_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: POCO_LIBRARY_DBG
POCO_LIBRARY_DBG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: POCO_LIBRARY_REL
POCO_LIBRARY_REL-ADVANCED:INTERNAL=1
//x
POCO_PREFIX_PATH_INT_CHECK:INTERNAL=
//Stored GUID
Plugin_BSPSceneManager_GUID_CMAKE:INTERNAL=F3B4ECC4-DCF6-43C8-82D9-66C5599D58DB
//Stored GUID
Plugin_CgProgramManager_GUID_CMAKE:INTERNAL=95DBDC6E-09B7-4EC7-AA41-1F239B0E24D8
//Stored GUID
Plugin_OctreeSceneManager_GUID_CMAKE:INTERNAL=967E56BE-0915-4520-A9E2-0740302C4A47
//Stored GUID
Plugin_OctreeZone_GUID_CMAKE:INTERNAL=94D91459-CD83-4377-A4F4-5CB03C73BECC
//Stored GUID
Plugin_PCZSceneManager_GUID_CMAKE:INTERNAL=19198279-77D5-4C26-B224-6461982C53E4
//Stored GUID
Plugin_ParticleFX_GUID_CMAKE:INTERNAL=04DE2549-532B-4E4C-BAAC-4C05510B38F1
//Stored GUID
REBUILD_CACHE_GUID_CMAKE:INTERNAL=91205DCA-1A8B-4421-A66A-034ECE5FE27C
//Stored GUID
RUN_TESTS_GUID_CMAKE:INTERNAL=082F8FBB-559B-4736-BA08-BD47D5071815
//Stored GUID
RenderSystem_Direct3D9_GUID_CMAKE:INTERNAL=FFEA3886-F3F3-4634-967F-00BA45A2399B
//Stored GUID
RenderSystem_GL_GUID_CMAKE:INTERNAL=F06AE0CB-7131-49B8-B8DE-E5DEC04B5EE0
//Stored GUID
SG_Filter_ATIFS_GUID_CMAKE:INTERNAL=9A78C423-DD55-4951-BCD7-2840E089C83D
//Stored GUID
SG_Filter_CMake Rules_GUID_CMAKE:INTERNAL=DBB86308-7EC0-4FD1-AE93-23FA016E17F1
//Stored GUID
SG_Filter_GLSL_GUID_CMAKE:INTERNAL=D4726956-EB5A-4DF4-B602-1F0CE17F69C1
//Stored GUID
SG_Filter_Header Files_GUID_CMAKE:INTERNAL=D89E2813-9CD1-4FA1-A735-846ECA932692
//Stored GUID
SG_Filter_NVparse_GUID_CMAKE:INTERNAL=43243918-B92E-4560-B701-B6BAB8587FD0
//Stored GUID
SG_Filter_Resources_GUID_CMAKE:INTERNAL=5F84A09D-B4E7-43B3-82CA-A32492877D0B
//Stored GUID
SG_Filter_Source Files_GUID_CMAKE:INTERNAL=359DB5E7-0E33-4A1D-8898-48DB6FF2D8F1
//Stored GUID
SampleBrowser_GUID_CMAKE:INTERNAL=74C62241-765A-4833-B66B-2BAB3896EC15
//Stored GUID
Sample_BSP_GUID_CMAKE:INTERNAL=ACDB434D-B0E2-42C6-AFAB-A0E3D2EF5225
//Stored GUID
Sample_BezierPatch_GUID_CMAKE:INTERNAL=27757676-84F5-4652-B8A7-D31605F37935
//Stored GUID
Sample_CameraTrack_GUID_CMAKE:INTERNAL=AE6E7AD0-9C3D-4D14-8D3A-ED250C89F68C
//Stored GUID
Sample_CelShading_GUID_CMAKE:INTERNAL=D95A03BB-635C-453C-A3FB-4A8286ABC661
//Stored GUID
Sample_Character_GUID_CMAKE:INTERNAL=3A8BADE9-E68F-4FD9-AE2C-81CB8D6CD7E5
//Stored GUID
Sample_Compositor_GUID_CMAKE:INTERNAL=A343DBDD-F242-4CB6-82B6-3FB97752F75E
//Stored GUID
Sample_CubeMapping_GUID_CMAKE:INTERNAL=D38F2F5C-77A2-4B95-8D13-FF155602EB80
//Stored GUID
Sample_DeferredShading_GUID_CMAKE:INTERNAL=0528BCE1-3645-42C5-BC84-168C5CA65224
//Stored GUID
Sample_Dot3Bump_GUID_CMAKE:INTERNAL=53EC8A3B-4F7A-482C-9255-E1DCFC281A59
//Stored GUID
Sample_DynTex_GUID_CMAKE:INTERNAL=0E31814E-643B-4F52-A29E-E343D77CE4CE
//Stored GUID
Sample_FacialAnimation_GUID_CMAKE:INTERNAL=757021FB-0FAD-4831-85AD-25468255649A
//Stored GUID
Sample_Fresnel_GUID_CMAKE:INTERNAL=87BDD533-A796-4D16-91C4-EBCBCF3D680D
//Stored GUID
Sample_Grass_GUID_CMAKE:INTERNAL=BBE6E7C6-3807-4BE0-AF44-0D913A78E313
//Stored GUID
Sample_Instancing_GUID_CMAKE:INTERNAL=310C5D9B-D342-4296-B60B-7AB85B723085
//Stored GUID
Sample_Isosurf_GUID_CMAKE:INTERNAL=621B1289-FC7D-4F8F-A688-09A640C8A795
//Stored GUID
Sample_Lighting_GUID_CMAKE:INTERNAL=2441BE4D-C5C5-4145-B33B-C0614BBF28C9
//Stored GUID
Sample_Ocean_GUID_CMAKE:INTERNAL=D345BE86-086C-46D9-90D3-12E343717B2F
//Stored GUID
Sample_ParticleFX_GUID_CMAKE:INTERNAL=7AD22B02-90CF-40FA-BB4D-4BE4C20E7517
//Stored GUID
Sample_ParticleGS_GUID_CMAKE:INTERNAL=9FF65184-79EB-4FF2-A541-7A1E0DA617D0
//Stored GUID
Sample_ShaderSystem_GUID_CMAKE:INTERNAL=84F34C3E-FD63-49D9-9528-7C2DA4701BFD
//Stored GUID
Sample_Shadows_GUID_CMAKE:INTERNAL=D9F327BE-CA51-4D25-9E5A-9A5E51C5AD65
//Stored GUID
Sample_SkeletalAnimation_GUID_CMAKE:INTERNAL=0480822F-0FEA-4005-B167-0D349DC0D7F8
//Stored GUID
Sample_SkyBox_GUID_CMAKE:INTERNAL=E9CF3600-C86B-43F6-9CC4-9A7576565834
//Stored GUID
Sample_SkyDome_GUID_CMAKE:INTERNAL=41E77926-6A56-493A-A1DB-FAF1E3E8AD05
//Stored GUID
Sample_SkyPlane_GUID_CMAKE:INTERNAL=56189BD9-FA90-4CF8-BBA7-345A6BCD10CF
//Stored GUID
Sample_Smoke_GUID_CMAKE:INTERNAL=9A5626F3-0D54-4FB5-ACD9-C9634080B683
//Stored GUID
Sample_SphereMapping_GUID_CMAKE:INTERNAL=F5F44168-B23A-486D-AD0F-D322DAE7B384
//Stored GUID
Sample_Terrain_GUID_CMAKE:INTERNAL=61698F94-B32A-4602-A7EE-32B1683133C3
//Stored GUID
Sample_TextureFX_GUID_CMAKE:INTERNAL=224F6373-59CE-4053-BC93-C24D81B4ABD9
//Stored GUID
Sample_Transparency_GUID_CMAKE:INTERNAL=F5D85B17-87BF-47F0-B20A-30B67724D9F8
//Stored GUID
Sample_VolumeTex_GUID_CMAKE:INTERNAL=9CD4834D-ED92-4079-85B3-B83F7044E1FD
//Stored GUID
Sample_Water_GUID_CMAKE:INTERNAL=EEF56AC2-7005-4826-B083-789EC69E7EAF
//ADVANCED property for variable: TBB_INCLUDE_DIR
TBB_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: TBB_LIBRARY_DBG
TBB_LIBRARY_DBG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: TBB_LIBRARY_REL
TBB_LIBRARY_REL-ADVANCED:INTERNAL=1
//x
TBB_PREFIX_PATH_INT_CHECK:INTERNAL=
//ADVANCED property for variable: Wix_BINARY_DIR
Wix_BINARY_DIR-ADVANCED:INTERNAL=1
//Stored GUID
ZERO_CHECK_GUID_CMAKE:INTERNAL=A414E11B-5585-47DD-8093-99A00DACB5D0
//ADVANCED property for variable: ZLIB_INCLUDE_DIR
ZLIB_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ZLIB_LIBRARY_DBG
ZLIB_LIBRARY_DBG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ZLIB_LIBRARY_REL
ZLIB_LIBRARY_REL-ADVANCED:INTERNAL=1
//x
ZLIB_PREFIX_PATH_INT_CHECK:INTERNAL=
//ADVANCED property for variable: ZZip_INCLUDE_DIR
ZZip_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ZZip_LIBRARY_DBG
ZZip_LIBRARY_DBG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ZZip_LIBRARY_REL
ZZip_LIBRARY_REL-ADVANCED:INTERNAL=1
//x
ZZip_PREFIX_PATH_INT_CHECK:INTERNAL=

amirabiri

19-02-2011 13:01:39

That's odd because my CmakeCache.txt doesn't even mention boost.

My only guess is that Cmake makes different decisions in different environments.

Let's try the following, from an empty Main\OgreSrc\build directory (create if necessary, clear if necessary) run the following command in a cmd window:


cmake -DOGRE_CONFIG_ENABLE_PVRTC:BOOL=ON -OGRE_CONFIG_CONTAINERS_USE_CUSTOM_ALLOCATOR:BOOL=OFF -DOGRE_USE_BOOST:BOOL=OFF -G "Visual Studio 10" ..\ogre


And then run the builder again and see what happens.

AliAkdurak

19-02-2011 13:13:46

Hmm the result of this cmake command seems very normal this time but it said there is no Ogre.sln I will try and come back please bother your self no more :D it is probably centrict about me


-- Check for working C compiler using: Visual Studio 10
-- Check for working C compiler using: Visual Studio 10 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 10
-- Check for working CXX compiler using: Visual Studio 10 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring OGRE 1.7.1
-- Search path: C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mo
gre/Main/OgreSrc/build/Dependencies;C:/Users/Gertwor/Documents/Projeler/AES/Mogr
eBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies;C:/Users/Gertwor/Document
s/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/build/../Dependencies;C:
/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/O
gre/../Dependencies
-- Looking for ZLIB...
-- Found ZLIB: optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogr
e1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/zlib.lib;debug;C:/Users/
Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dep
endencies/lib/debug/zlibd.lib
-- Looking for ZZip...
-- Found ZZip: optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogr
e1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/zziplib.lib;debug;C:/Use
rs/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/
Dependencies/lib/debug/zziplibd.lib
-- Looking for FreeImage...
-- Found FreeImage: optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild
/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/FreeImage.lib;debug
;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSr
c/Ogre/Dependencies/lib/debug/FreeImaged.lib
-- Looking for FREETYPE...
-- CMAKE_PREFIX_PATH: C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.
7.2/Mogre/Main/OgreSrc/build/Dependencies;C:/Users/Gertwor/Documents/Projeler/AE
S/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies;C:/Users/Gertwor/Do
cuments/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/build/../Dependenc
ies;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/Ogr
eSrc/Ogre/../Dependencies
-- Found FREETYPE: optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/
Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/freetype2311.lib;deb
ug;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/Ogre
Src/Ogre/Dependencies/lib/debug/freetype2311_d.lib
-- Looking for DirectX...
-- DirectX_PREFIX_PATH changed.
-- Found DirectX: C:/Program Files/Microsoft DirectX SDK (June 2010)/Lib/x86/d3d
9.lib
-- DX lib dir: C:/Program Files/Microsoft DirectX SDK (June 2010)/Lib/x86
-- DX lib dir: C:/Program Files/Microsoft DirectX SDK (June 2010)/Lib/x86
-- Looking for Cg...
-- Cg_PREFIX_PATH changed.
-- Found Cg: optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre1
.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/cg.lib;debug;C:/Users/Gert
wor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Depende
ncies/lib/debug/cg.lib
-- Looking for POCO...
-- Could not locate POCO
-- Looking for TBB...
-- Could not locate TBB
-- Looking for OIS...
-- OIS_PREFIX_PATH changed.
-- Found OIS: optimized;C:/Users/Gertwor/Documents/Projeler/AES/MogreBuild/Mogre
1.7.2/Mogre/Main/OgreSrc/Ogre/Dependencies/lib/release/OIS.lib;debug;C:/Users/Ge
rtwor/Documents/Projeler/AES/MogreBuild/Mogre1.7.2/Mogre/Main/OgreSrc/Ogre/Depen
dencies/lib/debug/OIS_d.lib
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Looking for CppUnit...
-- Could not locate CppUnit
--
-----------------------------------------------------------------------------
-- 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
+ boost
+ OIS
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ 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>
-----------------------------------------------------------------------------

--
----------------------------------------------------------------------------
FEATURE SUMMARY
----------------------------------------------------------------------------

Building components:
+ Paging
+ Property
+ 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

amirabiri

19-02-2011 14:09:05

There is no bother it's all useful feedback :-). But I'll let you figure it out.

You can hop into our IRC channel and I'll try to help you further.

amirabiri

26-02-2011 21:05:51

Sorry for going A-Wall folks, got busy at work.

Anyway I'm back working on the builder now, I'll update soon.

McDonte

16-03-2011 19:11:23

So, any news on this awesome tool?

I'm still trying to compile Mogre on my own but still the same ITERATOR_DEBUG_LEVEL errors :(

AliAkdurak

17-03-2011 07:59:50

Same here with us Kdr35 and I also failed to compile mogre so that we can try the new mogre terrain.

umityildiz

24-06-2011 08:27:23

Difficult to do so. Published as a weekly build? Would it not be better as a wrapper should use the download?

McDonte

04-08-2011 11:23:39

As I told Beauty I started to work a bit on this tool because it seems that amirabiri has no time for it anymore.

I just started to integrate amirabiri's code into a WindowsForms application because I think a graphical interface has a lot of advantages. By the way: there are are some awesome pieces of code! Really elegant coding 8)
The tool was almost finished, only the downloading of the sources is missing. Besides of that I will add some more possibilities to set your directories and stuff... in the original version you couldn't set any paths, so you had to copy the whole program into your working directory.

So far I have nothing to publish but I hope this will change pretty soon.

zarfius

16-08-2011 02:42:44

On the weekend I tried to use the Mogre.Builder to build Mogre. The first problem I ran into was not really knowing if it actually worked or not (based on what I read in the forum). Now that I have tried to use it I'm going to provide some feedback so that others have an idea where it's at.

The first thing I did was install TortoiseHg grab the source code from here:
https://bitbucket.org/amirabiri/mogre.builder

The code compiled okay and produced a command line app but I didn't really have any idea how to use it. After a bit of messing around I worked out that I needed to manually grab the source code for Mogre and Ogre using the first 2 steps of the manual build instructions located here:
https://bitbucket.org/mogre/mogre/src/b ... 5e81/BUILD

The next step was to run the Mogre.Builder from the command line passing in the path to the Mogre repository on my local machine. The first issue was making sure I had all the dependent applications installed (cmake, hg, etc) and in the PATH / environment variables. Fortunately this wasn't a big deal since I'd already dealt with these issues previously trying to build manually.

Once I sorted that out it failed on the "patch" step but since this was essentially the next step from the manual build instructions I could do that manually too.

The next issue was some kind of exception during the cpp2java step. Once again I did this step manually and retried. It finally managed to build some Mogre DLL's. However, when I replaced the pre-compiled DLL's in my project (that should be exactly the same) with these ones I got some sort of "invalid win32" errors. Sorry, I can't really remember the exact details here and I don't have time to reproduce them.

In any case, it's safe to say that my experience of the Mogre Builder was not all that smooth. Hopefully my information here will help improved it and inform others of the issues they may face.

I'm going to have one more try at building Mogre manually (I think I messed up the CMake step last time which resulted in _ITERATOR_DEBUG_LEVEL errors).

Beauty

19-08-2011 00:04:14

@Zarifus: Thanks for your report.
@McDonte: Your GUI sounds useful. I wish you the best for improving the builder tool.

McDonte

20-08-2011 18:33:08

I wish you the best for improving the builder tool.
Thanks, it's finished!

I only have to check some last things and perform some tests. Unfortunately my internet just gave up so you have to wait a little bit for the final release. But I think I will upload it pretty soon!

Hopefully my information here will help improved it and inform others of the issues they may face.
Thank you for your report. I was facing the same problems when I first tried the MogreBuilder. After I had understood how to use it ,it worked better but was not very comfortable. I think the reason why amirabiri decided to crwate a command line app was to be able to use it by command line parameters. I am going to ad this to my application to but I think an interface is much more comfortable and eaiser to use for beginners.

When you start the tool the first time you only have to set your working directory and the paths for TortoiseHg and CMake (if they are not installed at the default location). By default the tool will now perform a full build but you can also customize your build by selecting the building steps you want to be done. I will explain this a little bit more when I will release the tool!

By the way: do you prefer a prebuild binary or the sources?

zarfius

20-08-2011 23:42:07

Thanks, it's finished!

Congratulations! :) If you're looking for somewhere to host the binaries I'm happy to spare some space on my web host with a page dedicated to it.

I think the reason why amirabiri decided to crwate a command line app was to be able to use it by command line parameters. I am going to ad this to my application to but I think an interface is much more comfortable and eaiser to use for beginners.

I agree. The GUI interface is great but the command line options are also helpful if we want to automate the build process even further. The ideal scenario would be a continuous integration process so that any changes to Ogre could be easily propogated into Mogre.

By the way: do you prefer a prebuild binary or the sources?

It depends. It's always nice to have a pre-build binary available of the latest stable release so that anyone can use it without fuss. On the other hand, it's also very handy to be able to customise the source when you need to use it for a scenario that the pre-build doesn't cover (and of course, to improve the thing). This applies to most open source projects in my opinion.

There are 2 common scenario's I can think of when someone wants to build Mogre from source.
1. They want to build Mogre agains't the most recent stable version of Ogre to make some minor change to Mogre.
2. They want to update Mogre to the latest version of Ogre.

In the first scenario the ideal solution is to have everything ready to go from the last time Mogre was built because it's already known exactly what version of Ogre and Mogre go together in this case. You might even be able to skip the Autowrap steps, etc. These could be built into the auto builder tool as presets maybe.

The second scenario might require changes to the auto builder due to some unforseen changes in Ogre.

Anyway, lets get it the source into a repository and go from there?

Beauty

21-08-2011 01:18:00

why amirabiri decided to create a command line app
He decided to create is as comman-line tool to have it fully scriptable.
One reason is, that he planned to use it for easy builds of different Mogre configurations (e.g. create the SDK; compile with different Visual Studio versions; use x86/x64 as target).
I suppose he wanted to create additional batch files (*.bat) or a GUI for configuration. And then call the command-line tool with the related options. For 5 build types you would need just (pre-configured) 5 batch files. Then you just need to start them. With a GUI it's more complicated, because for different types you always need to change all related GUI options. (Or create a profile management.)
Also (I suppose) he wanted to have the ability to build Mogre on a server, similar to "nightly builds".

I think it's a good basis to have the comman-line version.
Nevertheless it would be a useful addition to have a GUI. This is more intuitive.

do you prefer a prebuild binary or the sources?
Both is useful.
Amirabiri created a repository for the Mogre.Builder.
I would like to add the builder code to our mogre account on bitbucket. Because it's fine to have this tool on a common Mogre place. Then I would give McDonte and amirabiri write access.
Unfortunately I couldn't figure out how to create an extra repository in this account (although I have admin rights). Perhaps this can only be done by the owner?
My dream is to have the repository URL bitbucket.org/mogre/mogre.builder.

By the way:
I applied for a free community subscription status for our mogre account to have unlimited possibility.

zarfius

21-08-2011 05:11:07

I think it's a good basis to have the comman-line version.
Nevertheless it would be a useful addition to have a GUI. This is more intuitive.


It's certainly possible to add the ability to use the GUI version from the command line just like you would with the command line version. This way, we only need to maintain one version instead of two.

Unfortunately I couldn't figure out how to create an extra repository in this account (although I have admin rights). Perhaps this can only be done by the owner?
My dream is to have the repository URL bitbucket.org/mogre/mogre.builder.


Yes, keeping the source with Mogre would be ideal, otherwise a lot of people won't even realise Mogre Builder exists. This is not really an add-on, and once it's good enough there should be no reason not to use it, so it should become an official part of the Mogre source.

McDonte

21-08-2011 11:54:47

Congratulations! :)
Thank you very much, in the end it was not so hard as I imagined at first. One problem was that some programs can not be called from source like others. You might know .NET's Process-Class:

Process proc = new Process();
proc.StartInfo.FileName = @"whatever.exe";
proc.StartInfo.WorkingDirectory = @"C:\Program Files\Mogre SDK\bin";
proc.StartInfo.Arguments = @"produce some files";

proc.Start();

This works fine in most cases but for example CMake won't start. The directory has to be included in the filename otherwise you will get a "FileNotFoundException". I have never figured out why this is a problem but I found this easy workaround.
If somebody knows what the reason is I would be glad to hear about it! :D

Command Line versus GUI:
Of course it is easiest to have some prepared batch files that can create some different versions of Mogre for you. But it is (as already mentioned) possible to add this to GUI applications too. amirabiri has added such functions to the AutoWrap tool to be able to call it from the MogreBuilder.

It's certainly possible to add the ability to use the GUI version from the command line just like you would with the command line version. This way, we only need to maintain one version instead of two.
I will do so as soon as possible and provide some batch files as well. I think useful are those for x86/x64 and VS 2008/2010.

Repository:
My dream is to have the repository URL bitbucket.org/mogre/mogre.builder.
This would be great. So if you tell me how we can do this I will upload the sources there. We could additionally provide a prebuilt exe for those who doesn't want to compile everything first (even if it will take you only some seconds because it's a pretty tiny program :D )

Mogre SDK:
A question by the way: Should the Builder added to the SDK? Prebuilt binaries are offered by the SDK but so you would give the user the option to easily compile his own version... the size would not matter I think...

[...] he planned to use it for easy builds of different Mogre configurations (e.g. create the SDK; [...]
I am not sure if I understood this but did he mean to let the Builder create the whole SDK including samples and so on?



By the way:
I applied for a free community subscription status for our mogre account to have unlimited possibility.

Sounds great! Did you already recieve an answer?

Beauty

21-08-2011 13:41:24

It's certainly possible to add the ability to use the GUI version from the command line
[...] we only need to maintain one version instead of two.

I know this possibility, although I didn't wrote it in my last post.
As GUI version you need to maintain just one application, but also have to maintain both input ways.
I'm aware that a GUI developer has the focus on the GUI and neglegts the command-line way.
Well, these are only some personal thoughts. For my daily work I also prefere GUI applications. Nevertheless demonise the splitted way of an additional GUI which runs a command-line tool. I think this is very common on Linux systems and is also a usable way.

Related to the current state I suppose that it's more easy to create a helper GUI instead of turning amirabiris tool upside down.
As I wrote: This are only my personal thoughts. If you want to choose an other way, it's also ok.


If somebody knows what the reason is I would be glad to hear about it! :D
You could ask in a specialized C# forum. If you speak German, you can ask on mycsharp.de.

amirabiri has added such functions to the AutoWrap tool
Is the autowrapper tool a comman-line or GUI application?
I never looked to it, because the precompiled Mogre binaries were fine for me and I don't know much about C++ and wrapping.


Smiley80 wrotes the Mogre XML commentation tool that creates an XML description file, which explains the Mogre members in Visual Studio.
If would be fine if the Mogre.Builder has an option to run this helper tool, too.

[...] he planned to use it for easy builds of different Mogre configurations (e.g. create the SDK; [...]
I am not sure if I understood this but did he mean to let the Builder create the whole SDK including samples and so on?

Well, I think it's better to have an extra tool for SDK building. (Currently we have a script file for that, perhaps Innosetup?)
Maybe I wanted to write: build different Mogre configurations for the SDK

Did you already recieve an answer?
No, my subscription will be published in a forum (of the bitbucket developer?) and its users will vote for yes or no. The poll time is about 2 weeks.

McDonte

23-08-2011 00:47:45

I will add the feature to control the tool by the command line, I think this is no problem. I will also provide some batch files.

I'm aware that a GUI developer has the focus on the GUI and neglegts the command-line way.
The GUI is simply created with Visual Studio. The code itself is a framework that defines tasks that are executed one after another e.g. a task for downloading the dependencies. So it is no problem at all to add the possibility to call the program from command line. Anyway it is executed as a console program and just invokes the WinForm. So if there are no command line arguments simply the GUI will be executed. Otherwise the needed tasks are done without showing a window besides of the console.
So you can either use an existing batch file, write your own (I will provide a list of the commands) or use the GUI. I think this is easy enough even for beginners and powerful enough also for professionals.

Is the autowrapper tool a comman-line or GUI application?
The autowrapper is actually a GUI tool but for the Builder you need to call it from code (=via command line). amirabiri made some changes to support this. Now you can call the program and pass the parameter "produce" to it.

Smiley80 wrotes the Mogre XML commentation tool that creates an XML description file, which explains the Mogre members in Visual Studio.
If would be fine if the Mogre.Builder has an option to run this helper tool, too.

Thanks for the hint I will try to include it. This would be really useful!

Things to do for the builder:
  1. Add command line features.[/*:m]
  2. Add the possibility to choose the configuration, the platform and the version of Visual Studio.[/*:m]
  3. Add the possibility to create a Mogre.xml for command reference.[/*:m][/list:u]

    But I encountered a serious problem: I am not able to run the AutoWrap tool. It compiles fine both Debug and Release but I can not execute it. It simply doesnt't show up, when running it from Visual Studio I discovered an unhandled exception. When I tried to build Mogre earlier I had no problems to run this tool but now it seems to be impossible.

    The error occurs here: (DefExplicitTypes.cs)

    switch (baseTypeName)
    {
    case "::std::hash_map":
    return DefStdHashMap.CreateExplicitType(typedef);
    case "std::map":
    return DefStdMap.CreateExplicitType(typedef);
    case "std::multimap":
    return DefStdMultiMap.CreateExplicitType(typedef);
    case "std::pair":
    return DefStdPair.CreateExplicitType(typedef);
    default:
    throw new Exception("Unexpected");
    }

    When I am debugging the code I get this unexpected exception because "baseTyepName" equals "std::basic_stringstream". Since this is somewhere written in the xml file that was produced by cpp2java maybe there is the error. I would be glad if somebody could test if he is getting the same error! :?

McDonte

12-09-2011 20:32:39

Just a little update for those who are waiting for it:
I am still working on it and I got help from user MindCrash. Most feautures are implemented but there are some strange bugs when compiling Visual Studio projects. As soon as there are news they will be posted here!

zarfius

13-09-2011 00:01:05

there are some strange bugs when compiling Visual Studio projects

Why don't you tell us what the bugs are? There are a lot of talented programmers reading this ;)

McDonte

13-09-2011 12:36:55

Well here they are:

  1. Dependencies cannot be compiled because "OIS_d.dll" cannot be closed. When running Visual Studio manually it works fine.[/*:m]
  2. Compiling OgreMain takes forever and does not produce anything not even error messages. The project is created successfully by CMake and can be build manually.[/*:m]
  3. Building OgreMain runs sometimes without erros sometimes I got "ITERATOR_DEBUG_LEVEL".[/*:m][/list:u]
    If you know a solution to one problem please let me know :D

McDonte

17-09-2011 22:36:05

Most errors are somehow related to the different versions of Ogre and Mogre you try to compile. Compiling Mogre branch "TerrainAndPaging" with Ogre 1.7.3 works good but with Ogre 1.7.0 it fails. I do not know what this is related to but I will work only a little bit on the builder and release a alpha version of it. Maybe other people are able to find solutions for these errors...

Beauty

18-09-2011 03:12:28

I remember that mstoyke sait that for wrapping Ogre 1.8 we need much more adoptions.
The reason is that Ogre switched from ?? to cmake. So the Ogre output is different and the autowrapper stumble on it.
I suppose it's somehow related to the fact that the autowrapper needs somehow modified files of Ogre. Sorry, I don't know details.

What I want to say:
Perhaps mstoyke made some adoptions in his development branch to solve the upcoming problems with Ogre 1.7.

McDonte

18-09-2011 16:14:25

The reason is that Ogre switched from ?? to cmake
As far as I know Ogre already uses CMake as build system.

I think you are right, the Ogre developers are changing some things in the building process because when I first tried to compile Mogre with the here specified branches from Mogre and Ogre and, that time it worked fine. Now AutoWrap is catching errors...
But: compiling Ogre 1.7.3 and the Mogre branch TerrainAndPaging works fine... maybe mstoyke made some adoptions to it?

The problem of the further Mogre development is that nearly nobody really knows how the wrapping process works... maybe someone who knows can explain it here.

Beauty

18-09-2011 19:59:18

Users bekas, marioco and mstoyke knows. In the past I asked them to document the autowrapper internals. Unfortunately they never did.
One day user manski spent his free time for reverse engineering the autowrapper and wrote the first build guide (in a fine inside the repository). (I think he needed about one week to understand the internals although he never look to wrapping topics before.)

Manski still visits our forums but has not much time (as most of us :cry: ). Currently he works on his diploma thesis and I confirmed that his university graduate is more important than Mogre.
Nevertheless I will write a message to him. Perhaps he can give you some notes.

zarfius

18-09-2011 23:46:36

But: compiling Ogre 1.7.3 and the Mogre branch TerrainAndPaging works fine... maybe mstoyke made some adoptions to it?

Wait.. Are you saying that it's already possible to use the new terrain component if it's compiled against 1.7.3? If so, I think providing some binaries and the minimum required code to get it working would provide the most value to everyone at this stage.

The problem of the further Mogre development is that nearly nobody really knows how the wrapping process works... maybe someone who knows can explain it here.

You're right. We need to get this question answered, but it's probably not going to come from a single person. How about we start a new forum topic called "Understanding the Mogre build process" and together we can piece together the information? Then add it to the wiki.

I'll see if I can put something together today (if nobody beats me to it) but I'm at work so I've only got a little spare time.

Edit: I started a new forum topic here: viewtopic.php?f=8&t=14817

McDonte

19-09-2011 12:18:38

Wait.. Are you saying that it's already possible to use the new terrain component if it's compiled against 1.7.3?
Yes, as you can see, Beauty already posted something onto this topic and edited the Mogre SDK. With the code snippet I posted you can directly start looking at it. Enjoy it :D

Beauty

19-09-2011 20:10:05

I just added the texture files to the SVN, nothing more. :mrgreen:

Beauty

05-12-2011 22:37:52

So, after some months I did the task now.
In the Mogre account at bitbucket now we have a additional repository called "MogreBuilder".
There I checked in the source code of Amirabiri. Now it's on an "official" place where new users can find it easily.
https://bitbucket.org/mogre/mogrebuilder

One of you improved the code.
It would be nice if you check in the current state of development.
Also some notes about the current bugs would be useful.

If anybody needs write access, just tell me. Then I will add you.

McDonte

12-12-2011 05:48:00

As soon as I can I will upload what I have done. Basically I added a simple interface (but with keeping the option to do all via the console) and added some steps amirabiri had left to the user. Unfortunately there are still some errors when calling VS from the command line...

zarfius

12-12-2011 11:33:11

As soon as I can I will upload what I have done. Basically I added a simple interface (but with keeping the option to do all via the console) and added some steps amirabiri had left to the user. Unfortunately there are still some errors when calling VS from the command line...

Greatly appreciated McDonte :) Anything that gets us closer to the finish line is good. More heads is better than one ;)

Beauty

25-12-2011 12:18:25

As soon as I can I will upload what I have done.
We are still waiting for the upload of your useful additions.
If you don't have write access to the MogreBuilder repository, just tell me.

McDonte

26-12-2011 05:21:55

Yes, I do not have write access. But I prefer to upload it as an archive to some random hoster so everybody can grab it. As soon as it is fully working we can push it into the repository.

Second (much bigger) problem: My internet is not doing very nice... I will probably thow out all binaries that can be compiled by the user itself to make it a bit smaller.

zarfius

28-12-2011 22:47:41

Yes, I do not have write access. But I prefer to upload it as an archive to some random hoster so everybody can grab it. As soon as it is fully working we can push it into the repository.
Second (much bigger) problem: My internet is not doing very nice... I will probably thow out all binaries that can be compiled by the user itself to make it a bit smaller.


I'm sure many of us would appreciate if you could upload whatever you can sooner rather than later, even if it's not fully working yet. Put our heads together, I'm sure we can sort out any remaining issues.

Your easiest options is probably to upload it as an attachment to this forum thread. If that's not possible, your welcome to send it to me (PM me first) and I'll happily upload it to my webserver.

Actually, one last point, it's probably more important to get it into the repository even when it's not fully working. That'll make it easier to make incremental changes as we fix it and work on it together. However, I also understand it's probably easier to just dump it in a zip file for the moment. Do that :)

Tubulii

18-01-2012 13:06:52

What about a GUI for Mogre.Builder?

I looked at the code yesterday and couldn't run it to thte end because CMake has a "non"-standard path.
With a GUI it is very simple to change such paths... and I think that...
A couple of known issues / notes / things to look out for:
  1. The builder doesn't download the Ogre source code, so you have to check it out correctly yourself.
    The builder currently only builds the .NET4/Debug version.
    The error checking and assertions are still slim and exceptions are deliberately allowed to propagate, in other words you may get the exception window often.
    There is currently no way to execute only a part of the process.[/list:u]

... is easier to handle with a GUI, too.

I volunteer (but have with no free time ;) )

Yes, I do not have write access. But I prefer to upload it as an archive to some random hoster so everybody can grab it. As soon as it is fully working we can push it into the repository.
Second (much bigger) problem: My internet is not doing very nice... I will probably thow out all binaries that can be compiled by the user itself to make it a bit smaller.


I'm sure many of us would appreciate if you could upload whatever you can sooner rather than later, even if it's not fully working yet. Put our heads together, I'm sure we can sort out any remaining issues.

Your easiest options is probably to upload it as an attachment to this forum thread. If that's not possible, your welcome to send it to me (PM me first) and I'll happily upload it to my webserver.

Actually, one last point, it's probably more important to get it into the repository even when it's not fully working. That'll make it easier to make incremental changes as we fix it and work on it together. However, I also understand it's probably easier to just dump it in a zip file for the moment. Do that :)


Any update?

zarfius

20-01-2012 23:52:18

Any update?

I have made some progress with details over in this thread.

.
This topic is locked now.
The discussion continues in the new topic [MogreBuilder] My mission to build a better Mogre.

.