This directory contains pre-compilated libraries (for msvc 2008), but you can re-compile them if you want. Here the compilation instruction for each dependency. The number between the parenthesis is the version of the dll that as been used for pre-built dependencies. ****************************** * ZLib (1.2.5) * ****************************** Dowload from http://www.zlib.net Unzip files in "yourScolpath/dependencies/zlib-1.2.5" directory for example. Delete the "zconf.h" file. Run cmake. select the directory "yourScolpath/dependencies/zlib-1.2.5/build" as build dir. Uncheck the BUILD_SHARED_LIBS option. Change the CMAKE_INSTALL_PREFIX to "yourScolpath/dependencies/zlib" Configure, generate solution, and compile the library, in debug and release mode. Do not forget to generate the "Install" project, or your "yourScolpath/dependencies/zlib" will not be updated! Done! ****************************** * lib png (1.4.4) * ****************************** Zlib must be compiled. Dowload from http://www.libpng.org/pub/png/libpng.html Unzip files in "yourScolpath/dependencies/lpng144" directory for example. Run cmake. select the directory "yourScolpath/dependencies/lpng144/build" as build dir. Change the CMAKE_INSTALL_PREFIX to "yourScolpath/dependencies/libpng" Verify that only PNG_ARG and PNG_STATIC options are selected. Configure, generate solution, and compile the library, in debug and release mode, then generate install project. Rename "libpng14_static.lib" to "libpng14.lib" and "libpng14_staticd.lib" to "libpng14d.lib" (in "yourScolpath/dependencies/libpng") in order to cmake FindPng script to work. Done! ****************************** * lib jpeg (8b) * ****************************** Dowload from http://www.ijg.org/ Unzip files in "yourScolpath/dependencies/libjpeg" directory. For vc10, Run the following command line: "NMAKE /f makefile.vc setup-v10" (libjpeg do not supply vs2008 solution anymore...). For vc9, uncompress "jpeg-8b-vs2008.zip" and use the sln there. Launch the solution file (sln) and build the release target. Done! ****************************** * Ogre 3D * * (V1.8 trunk version) * ****************************** Download Ogre's dependencies from "https://sourceforge.net/projects/ogre/files/ogre-dependencies-vc%2B%2B/1.7/OgreDependencies_MSVC_20101231.zip/download". Go to "yourScolpath/dependencies/Ogre/Sources", and unzip the dependencies. Go to "yourScolpath/dependencies/Ogre/Sources/Dependencies/src", open the sln file corresponding to your msvc version, and compile in debug and release mode (Batch build/All). Run CMake. For openGL-ES support on windows, download POWERVR SDK (http://www.imgtec.com/tools/powervr-tools/) and install it. You'll only need: -> 'NATIVE SDK' -> 'Windows Emulation' Normaly, this should set an environment variable named POWERVR_SDK_PATH. If not, make sure to add this environment variable to your system. After the install, you'll have to go to POWERVR_SDK_PATH (install path for powervr sdk) and copy somes DLLs to %OGRE_DEPENDENCIES%/bin/release/ and %OGRE_DEPENDENCIES%/bin/debug/ Those DLLs are: -> libEGL.dll -> libGLES_CM.dll -> libGLESv2.dll Set "yourScolpath/dependencies/Ogre/Sources" as your source dir and "yourScolpath/dependencies/Ogre/Build/static" as your build dir, then click "configure". Change CMAKE_INSTALL_PREFIX to "yourScolpath/dependencies/Ogre/sdk/static". You can disable "OGRE_BUILD_SAMPLE" for a faster build. Check the "OGRE_STATIC" option, and make sure that "Threading support" is disabled (incompatibility with SO3Engine). Make sure that "OGRE_INSTALL_DEPENDENCIES" is checked, otherwise libs that depends of Ogre (like skyx and hydrax) may not found Ogre's dependencies! Then hit "configure" a second time. Your cmake configuration must be like this: >> Build type: static >> 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: enabled Then, click "Generate". Go to "yourScolpath/dependencies/Ogre/Build/static", open the MSVC solution file, and build all (Debug / Release). Once all is builded, click "Generate" on "INSTALL" project. Done! >> Developer remark: to update Ogre's sources files, do not direct download files to "yourScolpath/dependencies/Ogre/Sources" with HG tools. Instead, Clone the Mercurial repository to a new directory (for example "D:\OgreTrunk"), open a command console, go to "D:\OgreTrunk" and run the folowing command: "hg archive %SCOL_DEPENDENCIES_PATH%\Ogre\Sources" ****************************** * OpenCV (2.2.0) * ****************************** Download from http://sourceforge.net/projects/opencvlibrary/files/ Unzip files in "$(SCOL_DEPENDENCIES_PATH)/OpenCV-2.2.0" directory for example. Run cmake. Uncheck BUILD_SHARED_LIBS Check OPENCV_BUILD_3RDPARTY_LIBS Generate and launch project Remove "CVAPI_EXPORTS" on Preprocessor options in opencv_* Generate projects copy paste generated libs (lib and 3rdparty directory) in "$(SCOL_DEPENDENCIES_PATH)/OpenCV-2.2.0/SDK" ****************************** * aruco (1.0.0) * ****************************** Download from http://sourceforge.net/projects/aruco/files/ Unzip files in "$(SCOL_DEPENDENCIES_PATH)/aruco-1.0.0" directory for example. Run cmake. Uncheck BUILD_SHARED_LIBS Change the OpenCV_DIR by your own OpenCV directory "$(SCOL_DEPENDENCIES_PATH)/OpenCV-2.2.0/SDK" Generate and launch project Change Code generation runtime library in MD and MDd Generate aruco project copy paste generated lib aruco100.lib in "$(SCOL_DEPENDENCIES_PATH)/aruco-1.0.0\SDK\lib" ****************************** * Hydrax (0.5.5) * ****************************** No download needed, custom version of Hydrax. Ogre must be compiled first, using static linking, and the OGRE_HOME environment variable must be defined too (check setWindowsSearchPaths.bat). Run cmake Set "yourScolpath/dependencies/hydrax/Sources" as your source dir and "yourScolpath/dependencies/hydrax/Build/static" as your build dir. Clic on "Add Entry", select a bool value, name it "OGRE_STATIC", and check it to "TRUE" value. Clic "configure", and change CMAKE_INSTALL_PREFIX to "yourScolpath/dependencies/hydrax/sdk/static". Disable "HYDRAX_BUILD_SAMPLE" cause samples are not supported while building statically. Then hit "configure" a second time, and finally, click "Generate". Go to "yourScolpath/dependencies/hydrax/Build/static", open the MSVC solution file, and build all (Debug / Release). Once all is builded, click "Generate" on "INSTALL" project. Done! ****************************** * Skyx (0.2.1) * ****************************** No download needed, custom version of SkyX. Ogre must be compiled first, using static linking, and the OGRE_HOME environment variable must be defined too (check setWindowsSearchPaths.bat). Run cmake Set "yourScolpath/dependencies/skyx/Sources/v0-1-2" as your source dir and "yourScolpath/dependencies/skyx/Build/static" as your build dir. Clic on "Add Entry", select a bool value, name it "OGRE_STATIC", and check it to "TRUE" value. Clic "configure", and change CMAKE_INSTALL_PREFIX to "yourScolpath/dependencies/skyx/sdk/static". Disable "SKYX_BUILD_SAMPLE" cause samples are not supported while building statically. Then hit "configure" a second time, and finally, click "Generate". Go to "yourScolpath/dependencies/skyx/Build/static", open the MSVC solution file, and build all (Debug / Release). Once all is builded, click "Generate" on "INSTALL" project. Done! ****************************** * ChromiumEmbedded (rev306) * ****************************** Download http://code.google.com/p/chromiumembedded/downloads/detail?name=cef_binary_r306_windows.zip&can=2&q= Unzip to "yourScolpath/dependencies/cef" directory Done! ****************************** * Bullet (V2.79) * ****************************** Download http://code.google.com/p/bullet/downloads/detail?name=bullet-2.79-rev2440.zip&can=2&q= Unzip to "yourScolpath/dependencies/Bullet" directory Select the sln solution file under "yourScolpath/dependencies/Bullet/msvc". Build all, debug & release. Done! ****************************** * CEF (r475) * ****************************** This is a pretty complicated build, so be sure to follow those instructions to the letter! First, verify that you have at least 13Go(!) available on your hard disk. download https://src.chromium.org/svn/trunk/tools/depot_tools.zip Extract the content of this archive to "yourScolpath/dependencies/cef" (you should have a "yourScolpath/dependencies/cef/depot_tools" directory with plenty of files in it). Open a command shell, go to "yourScolpath/dependencies/cef/depot_tools", and run the "gclient" command. Add "yourScolpath/dependencies/cef/depot_tools" to the END of the PATH environment variable (System Properties, Advanced properties, Environment Variables, modify the "Path" system variable). BEFORE going further, install all the visual studio patches (see for updates of this list): https://www.microsoft.com/downloads/details.aspx?familyid=FBEE1648-7106-44A7-9649-6D9F6D58056E (VS2008 SP1) https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=17105 (KB967631) https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=16927 (KB960075) https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=15363 (KB957912) Install the Windows SDK version 7.1, and reference it in visual studio (if you don't know how to do, check http://dev.chromium.org/developers/how-tos/build-instructions-windows#TOC-Manually-registering-the-Platform-S ). WARNING be sure to have the Windows SDK 7.1/bin in your environment PATH variable One more patch after installing windows sdk: http://www.microsoft.com/downloads/details.aspx?familyid=294de390-3c94-49fb-a014-9a38580e64cb Then, open the ".gclient" file, that you can found in "yourScolpath/dependencies/cef/" directory, and add those lines (without '>'!): > solutions = [ > { > #Existing definitions here... > }, > # BEGIN NEW LINES > { > "name" : "src/cef", > "url" : "http://chromiumembedded.googlecode.com/svn/trunk/cef1", > } > #END NEW LINES > ] In a command shell, go to "yourScolpath/dependencies/cef/" and run the "gclient sync" command. Cef sources should be downloaded. Once this process is finished, go to "yourScolpath/dependencies/cef/src/cef", and open the "CHROMIUM_BUILD_COMPATIBILITY.txt" file. Note the number just along 'chromium_revision' (ie, at the time of I wrote those lines, it was '115967'). Run the command "gclient sync --revision src@194165 --jobs 8 --force", replacing eventualy "194165" by the number you found in "CHROMIUM_BUILD_COMPATIBILITY.txt". Then, go to "yourScolpath/dependencies/cef/src/cef". Open "cef.sln", and edit the properties of the "libcef_dll_wrapper" project, changing the "runtime library" option to "/MDd" for debug build and "/MD" for release build. In this project properties too, go to "C++/General", and turn "Treat Warnings as Errors" off. Once it's done, your are ready to build the solution "cef.sln", Debug and Release. It's done!