Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/windows/precompiled_dependencies/mingw/orxonox_dependencies.txt @ 114

Last change on this file since 114 was 114, checked in by landauf, 11 years ago

created new dependency package for mingw containing boost 1.54, ogre 1.8.1, cegui 0.7.9

File size: 4.4 KB
Line 
1Dependencies
2
3
4alias m='make -j4'
5
6## Boost: ##
7cd boost_x_xx_x/
8run bootstrap.bat
9bjam --build-dir=build toolset=gcc variant=release link=shared threading=multi --build-type=complete stage -j4
10
11cd tools/bcp
12../../bjam toolset=gcc -j4
13cd ../..
14mkdir stripped_orxonox
15./bin.v2/tools/bcp/gcc-mingw-4.5.2/release/link-static/bcp array asio assign bimap bind circular_buffer compressed_pair config date_time filesystem foreach format function intrusive logic member_function mpl operators preprocessor range ref scope_exit smart_ptr static_assert thread unordered ./stripped_orxonox
16
17in mpl/aux_/preprocessed the only required folders are: gcc, no_ctps, no_ttp, and plain
18
19
20## Poco (ogre threading dependency): ##
21cd poco-x.x.xxx
22./configure --omit=NetSSL_OpenSSL,Data/ODBC,Data/MySQL --no-tests --no-samples --shared
23m
24if linking fails, copy link command and remove the missing libraries, paste it to the console to build it manually. only PocoFoundation.dll is required
25
26
27## Ogre dependencies ##
28get here: https://bitbucket.org/cabalistic/ogredeps
29DirectX SDK installieren
30make zlib a SHARED lib, so we can use it for orxonox as well (edit src/zlib/CMakeLists.txt)
31cd ogredeps
32mkdir build
33cd build
34cm ..
35m
36make install
37
38
39## Ogre: ##
40Dependencies entpacken (ordnername "Dependencies") oder die selbst kompilierten Dependencies von weiter oben verwenden
41DirectX SDK installieren
42cg SDK installieren
43
44open ogre_src_vx-x-x/CMake/Packages/FindPOCO.cmake
45add MinGW/ia32 to PATH_SUFFIXES of find_library commands
46
47cd ogre_src_vx-x-x/
48mkdir release
49cd release
50cmake -DCMAKE_BUILD_TYPE=Release -DOGRE_DEPENDENCIES_DIR=../../ogre-dependencies/xxxxxxxx/build/ogredeps -DENV_POCO_ROOT=/home/Xen/libs/poco/poco-x.x.x -G "MSYS Makefiles" ..
51m
52
53copy OgreBuildSettings.h to orxonox dependencies AND cegui dependencies
54
55cd ..
56mkdir debug
57cd debug
58cmake -DCMAKE_BUILD_TYPE=Debug -DOGRE_DEPENDENCIES_DIR=../../ogre-dependencies/xxxxxxxx/build/ogredeps -DENV_POCO_ROOT=/home/Xen/libs/poco/poco-x.x.x -G "MSYS Makefiles" ..
59m
60
61
62## Freealut: ##
63get OpenAL SDK, put al.h and alc.h in a directory called "AL" (here: libs/openal/OpenAL11/include/AL)
64cd freealut-x.x.x-src/
65cm -DOPENAL_INCLUDE_DIR:PATH=/home/Xen/libs/openal/OpenAL11/include/
66m
67
68
69## Ogg: ##
70cd libogg-x.x.x
71./configure
72make -j4
73=> libs in src/.libs
74
75
76## Vorbis (requires ogg): ##
77cd libvorbis-x.x.x
78./configure --with-ogg-libraries=/home/Xen/libs/ogg/libogg-1.2.2/src/.libs/ --with-ogg-includes=/home/Xen/libs/ogg/libogg-1.2.2/include/
79make -j4
80=> libs in lib/.libs
81
82
83## Tcl: ##
84cd tclx.x.x/win/
85./configure
86m
87
88
89## Lua: ##
90cd lua-x.x.x/
91make mingw -j4
92make local (for include dir)
93
94
95## pcre: ## (for cegui)
96cd pcre-x.xx/
97./configure --enable-utf8
98make -j8
99make install
100
101
102## CEGUI dependencies ##
103create "dependencies" directory in CEGUI-x.x.x/, subdirectories "include" and "lib"
104include:
105 - freetype: ft2build.h & freetype dir (copy from ogre dependencies)
106 - pcre: pcre.h (see above)
107 - lua: lua.h, luaconf.h, lauxlib.h, lualib.h (see above)
108lib:
109 - freetype: libfreetype.a (copy from ogre dependencies)
110 - pcre: libpcre.a (see above)
111 - lua: lua.dll (copy from orxonox dependencies with floating point precision mode, otherwise it crashes in conjunction with directX!!!)
112
113for cegui 0.7.x:
114put all libs in lib/dynamic/
115include:
116 - ogre: OgreBuildSettings.h (copy from ogre/build/include/)
117
118
119## CEGUI: (0.6.x) ##
120cd CEGUI-x.x.x/makefiles/premake/
121open config.lua and activate tinyxml and set it as the default XML parser
122premake --file cegui.lua --target cb-gcc
123open CEGUI.workspace with codeblocks
124build CEGUIBase, CEGUIFalagardWRBase, and CEGUITinyXMLParser each in Release mode
125
126## CEGUI: (0.7.x) ##
127cd CEGUI-x.x.x/projects/premake/
128open config.lua:
129 - activate tinyxml and set it as the default XML parser
130 - set MINIZIP_RESOURCE_PROVIDER = false
131 - set OGRE_RENDERER = true
132 - set Ogre path: OGRE_PATHS = { "C:/msys/home/Xen/libs/ogre/ogre_src_v1-8-1", "OgreMain/include", "release/bin" }
133 - add extra path: { "C:/msys/home/Xen/libs/poco/poco-1.4.6p2", "Foundation/include", "lib/MinGW/ia32", "CEGUIOgreRenderer" }
134premake --file cegui.lua --target cb-gcc
135open CEGUI.workspace with codeblocks
136add "PocoFoundation" to "Link libraries" in tab "Linker settings" of Build options of CEGUIOgreRenderer
137build CEGUIBase, CEGUIFalagardWRBase, and CEGUITinyXMLParser each in Release mode
138build tolua++, CEGUILuaScriptModule, CEGUIOgreRenderer each in Release mode
Note: See TracBrowser for help on using the repository browser.