-
Notifications
You must be signed in to change notification settings - Fork 127
Installing (Windows)
Unofficial binaries are available from http://goo.gl/tkNSx9 (Currently 32bit MSVC only).
If you need the latest version or a different build configuration you may need to build from source.
- Microsoft Visual Studio (Community edition is sufficient)
- Qt 5 from http://www.qt.io/download-open-source/ (You need msvc OpenGL matching your compiler version)
- CMake from http://www.cmake.org/download/
- SDL 2 source package from https://www.libsdl.org/download-2.0.php
- Pthreads for Windows from https://www.sourceware.org/pthreads-win32/ (ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.zip)
- libturbojpeg from http://www.libjpeg-turbo.org/Main/HomePage
Install Microsoft Visual Studio, ensure that you have MSVC.
Install Qt5 & CMake.
Download Vogl and extract it into a directory that does not include spaces.
Create a directory alongside the Vogl 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' and copy the lib-jpeg-turbo-2.1.3 and pthreads.2 directories into it.
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 myproject.vcxproj /p:configuration=debug