Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 115 in downloads


Ignore:
Timestamp:
Oct 3, 2013, 11:47:05 PM (11 years ago)
Author:
landauf
Message:

updated precompiled dependencies for mingw

Location:
windows/precompiled_dependencies
Files:
4 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • windows/precompiled_dependencies/mingw/orxonox_dependencies.txt

    r114 r115  
    1818
    1919
    20 ## Poco (ogre threading dependency): ##
    21 cd poco-x.x.xxx
    22 ./configure --omit=NetSSL_OpenSSL,Data/ODBC,Data/MySQL --no-tests --no-samples --shared
    23 m
    24 if linking fails, copy link command and remove the missing libraries, paste it to the console to build it manually. only PocoFoundation.dll is required
     20-- ## Poco (ogre threading dependency): ##
     21-- cd poco-x.x.xxx
     22-- ./configure --omit=NetSSL_OpenSSL,Data/ODBC,Data/MySQL --no-tests --no-samples --shared
     23-- m
     24-- if linking fails, copy link command and remove the missing libraries, paste it to the console to build it manually. only PocoFoundation.dll is required
    2525
    2626
     
    4242cg SDK installieren
    4343
    44 open ogre_src_vx-x-x/CMake/Packages/FindPOCO.cmake
    45 add MinGW/ia32 to PATH_SUFFIXES of find_library commands
     44-- open ogre_src_vx-x-x/CMake/Packages/FindPOCO.cmake
     45-- add MinGW/ia32 to PATH_SUFFIXES of find_library commands
    4646
    4747cd ogre_src_vx-x-x/
    4848mkdir release
    4949cd release
    50 cmake -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" ..
     50-- cmake -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" ..
     51cmake -DCMAKE_BUILD_TYPE=Release -DOGRE_DEPENDENCIES_DIR=../../ogre-dependencies/xxxxxxxx/build/ogredeps -DBOOST_LIBRARYDIR=/home/Xen/libs/boost/boost_x_xx_x/stage/lib/ -DBOOST_INCLUDEDIR=/home/Xen/libs/boost/boost_x_xx_x/ -G "MSYS Makefiles" ..
    5152m
    5253
     
    100101
    101102
     103## xerces: ## (for cegui 0.8)
     104cd xerces-c-x.x.x
     105./configure
     106m
     107
     108
     109## tolua++: ## (for cegui 0.8)
     110cd tolua++-x.x.xx
     111created custom.py according to README-5.1 and define paths to lua:
     112CCFLAGS = ['-IC:/msys/home/Xen/libs/cegui/dependencies-0.8.2/include/', '-O2', '-ansi']
     113LIBPATH = ['C:/msys/home/Xen/libs/cegui/dependencies-0.8.2/lib/']
     114LIBS = ['lua']
     115tolua_bin = 'tolua++'
     116tolua_lib = 'tolua++'
     117TOLUAPP = 'tolua++'
     118copy lua.dll into tolua++ root directory
     119C:/"Program Files"/Python27/Scripts/scons.py -Q shared=1
     120
     121
    102122## CEGUI dependencies ##
    103123create "dependencies" directory in CEGUI-x.x.x/, subdirectories "include" and "lib"
     
    106126 - pcre: pcre.h (see above)
    107127 - lua: lua.h, luaconf.h, lauxlib.h, lualib.h (see above)
     128 - xerces: xercesc dir
     129 - ogre: put into a subdirectory called ogre: OgreBuildSettings.h (copy from ogre/build/include/) and all content of the include directory
     130 - tolua++: tolua++.h
     131--  - poco: copy Foundation/includ/Poco dir into ogre subdir
    108132lib:
    109133 - freetype: libfreetype.a (copy from ogre dependencies)
    110  - pcre: libpcre.a (see above)
     134 - pcre: libpcre-1.dll (see above)
    111135 - lua: lua.dll (copy from orxonox dependencies with floating point precision mode, otherwise it crashes in conjunction with directX!!!)
     136 - xerces: libxerces-c.a (see above)
     137 - tolua++: copy tolua++.dll (see above)
    112138
    113139for cegui 0.7.x:
    114140put all libs in lib/dynamic/
    115141include:
    116  - ogre: OgreBuildSettings.h (copy from ogre/build/include/)
    117142
    118 
    119 ## CEGUI: (0.6.x) ##
    120 cd CEGUI-x.x.x/makefiles/premake/
    121 open config.lua and activate tinyxml and set it as the default XML parser
    122 premake --file cegui.lua --target cb-gcc
    123 open CEGUI.workspace with codeblocks
    124 build CEGUIBase, CEGUIFalagardWRBase, and CEGUITinyXMLParser each in Release mode
    125143
    126144## CEGUI: (0.7.x) ##
    127145cd CEGUI-x.x.x/projects/premake/
    128146open config.lua:
    129  - activate tinyxml and set it as the default XML parser
     147 - activate xerces and set it as the default XML parser
    130148 - set MINIZIP_RESOURCE_PROVIDER = false
    131149 - set OGRE_RENDERER = true
    132150 - 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" }
     151-- - add extra path: { "C:/msys/home/Xen/libs/poco/poco-1.4.6p2", "Foundation/include", "lib/MinGW/ia32", "CEGUIOgreRenderer" }
     152 - add extra path: { "../dependencies-0.7.9", "include", "lib/dynamic" },
     153 - add extra path: { "../../boost/boost_1_54_0", "", "stage/lib", "CEGUIOgreRenderer" },
     154 - add extra path: { "../../xerces/xerces-c-3.1.1/src", "", "", "CEGUIXercesParser" },
    134155premake --file cegui.lua --target cb-gcc
    135156open CEGUI.workspace with codeblocks
    136 add "PocoFoundation" to "Link libraries" in tab "Linker settings" of Build options of CEGUIOgreRenderer
    137 build CEGUIBase, CEGUIFalagardWRBase, and CEGUITinyXMLParser each in Release mode
     157--add "PocoFoundation" to "Link libraries" in tab "Linker settings" of Build options of CEGUIOgreRenderer
     158add "boost_system-mgw45-mt-1_54" to "Link libraries" in tab "Linker settings" of Build options of CEGUIOgreRenderer (Release mode)
     159change "xerces-c_3" to "xerces-c" in "Link libraries" in tab "Linker settings" of Build options of CEGUIXercesParser (Release mode)
     160build CEGUIBase, CEGUIFalagardWRBase, and CEGUIXercesParser each in Release mode
    138161build tolua++, CEGUILuaScriptModule, CEGUIOgreRenderer each in Release mode
     162
     163## CEGUI: (0.8.x) ##
     164cd cegui-x.x.x
     165mkdir build
     166cd build
     167cmake .. -G "MSYS Makefiles" \
     168-DFREETYPE_H_PATH_ft2build=../../dependencies-0.8.2/include/ \
     169-DFREETYPE_H_PATH_ftconfig=../../dependencies-0.8.2/include/freetype/config/ \
     170-DFREETYPE_LIB=../../dependencies-0.8.2/lib/libfreetype.a \
     171-DPCRE_H_PATH=../../dependencies-0.8.2/include/ \
     172-DPCRE_LIB=../../dependencies-0.8.2/lib/libpcre-1.dll \
     173-DLUA_H_PATH=../../dependencies-0.8.2/include/ \
     174-DLUA_LIB=../../dependencies-0.8.2/lib/lua.dll \
     175-DXERCESC_H_PATH=../../dependencies-0.8.2/include/ \
     176-DXERCESC_LIB=../../dependencies-0.8.2/lib/libxerces-c.a \
     177-DOGRE_H_PATH=../../dependencies-0.8.2/include/ogre/ \
     178-DOGRE_LIB=../../../ogre/ogre_src_v1-8-1/release/bin/OgreMain.dll \
     179-DTOLUAPP_H_PATH=../../dependencies-0.8.2/include/ \
     180-DTOLUAPP_LIB=../../dependencies-0.8.2/lib/tolua++.dll
     181m CEGUIXercesParser
     182m CEGUILuaScriptModule-0
     183m CEGUIOgreRenderer-0 VERBOSE=1
     184--copy link command and add PocoFoundation library
     185copy link command and add boost_system-mgw45-mt-1_54 library
     186
     187Important: Don't forget to copy the 3 generated header files from the build directory into orxonox dependencies!
Note: See TracChangeset for help on using the changeset viewer.