Skip to content

Installing (Windows)

FOVE-Scott edited this page Sep 3, 2015 · 7 revisions

Option 1: Download prebuilt

Unofficial binaries are available from http://goo.gl/tkNSx9 (Currently 32bit MSVC only).

Option 2 Build from source

If you need the latest version or a different build configuration you may need to build from source.

Requirements:

Build Steps

  • Install Microsoft Visual Studio, ensure that you have MSVC.
  • Install Qt5 & CMake.
  • Download Vogl and extract it into a directory named "vogl-master"
    • Make sure that the file path does not include spaces.
  • Create a directory alongside the vogl-master source directory called external.
  • Copy the contents of the SDL 2 source package into 'external' and ensure it is in a directory called 'SDL'.
  • Create a subdirectory in 'external' called 'windows'
    • Copy the lib-jpeg-turbo-2.1.3
    • Copy Pre-buit.2 from the pthreads download above into the 'windows' directory and rename it to 'pthreads.2'.
  • Start the Qt 5.* for Desktop command prompt and run vcvarsall.bat
  • cd to the directory containing the Vogl and externals directories and run:
    • mkdir vogl-master\vogl_build\x64
    • cd vogl-master\vogl_build\x64
    • cmake -DQt5_DIR="C:\Qt\5.3\msvc2013_64_opengl\lib\cmake\Qt5" -G "Visual Studio 12 2013 Win64" ..\..

You should now have a file called 'ALL_BUILD.vcxproj'
You can build from this command-prompt by running:

  • msbuild ALL_BUILD.vcxproj /p:configuration=debug