Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

removed outdated parts

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