Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why is there no MSVC support?
#12
So, here's my pack with all necessary dependencies to compile Colobot: Gold Edition using Microsoft Visual Studio 2013.

Content:
  • All files necessary for successful CMake build
  • oggenc to convert music files
  • All necessary DLL files needed to run a compiled game
  • Only tested with Microsoft Visual C++ 2013
  • Probably works only for 32-bit version
I'll assume you already have a local git repository or downloaded sources of the game.

Instructions:
  1. Install CMake.
  2. Unpack the zip file to some directory (f.e. C:\Dev\colobot-dependencies-msvc2013).
  3. If you want to have music, copy bin\oggenc.exe file to a directory which is included in your PATH. If you won't do it and you have music submodule in your local repository, it will result in errors during installation.
  4. Use cmake-gui or a command line in order to build Colobot to some directory (preferably colobot-repo\build).
  5. Run cmake with at least these variables set:
    • Visual Studio 12 2013 generator (or newer if you have other version installed, don't know if it will work)
    • CMAKE_PREFIX_PATH = path to the directory where you unpacked colobot-dependencies-msvc2013
    • BOOST_STATIC = 1 (dynamic build for some reason doesn't work for me)
    • CMAKE_BUILD_TYPE = Release or Debug
    • You can also add other configuration variables of course.
  6. Open generated colobot.sln file using Microsoft Visual Studio.
  7. Change the configuration type from Debug to Release.
  8. Right click on the solution in the Solution Explorer and set INSTALL to be built (in Configuration Properties.)
  9. Build solution (F7).
  10. Colobot will be probably installed to C:\Program Files\colobot. Copy there all DLL files from colobot-dependencies-msvc2013/DLLS.
  11. Set all convert* projects to not be built for better future compilation times (you only need to convert them once, but Visual Studio would convert them every time which takes some time).
  12. You can finally enjoy/test/develop the game with your own Windows build! (except translations...)
Download:
https://dl.dropboxusercontent.com/u/1668...vc2013.zip
[Image: XvN5CTW.png] [Image: UYXyyMS.png]


Messages In This Thread
Why is there no MSVC support? - by Simbax - 04-19-2015, 05:03 PM
RE: Why is there no MSVC support? - by krzys_h - 04-19-2015, 05:37 PM
RE: Why is there no MSVC support? - by Simbax - 04-19-2015, 05:55 PM
RE: Why is there no MSVC support? - by tomangelo - 04-19-2015, 06:00 PM
RE: Why is there no MSVC support? - by krzys_h - 04-19-2015, 06:16 PM
RE: Why is there no MSVC support? - by piotrdz - 04-25-2015, 02:52 PM
RE: Why is there no MSVC support? - by tomangelo - 04-25-2015, 05:07 PM
RE: Why is there no MSVC support? - by Simbax - 04-25-2015, 09:04 PM
RE: Why is there no MSVC support? - by piotrdz - 04-26-2015, 09:52 PM
RE: Why is there no MSVC support? - by tomangelo - 04-26-2015, 11:22 PM
RE: Why is there no MSVC support? - by piotrdz - 04-27-2015, 07:11 PM
RE: Why is there no MSVC support? - by Simbax - 05-05-2015, 02:28 PM
RE: Why is there no MSVC support? - by piotrdz - 05-05-2015, 07:22 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)