mirror of
https://github.com/ValveSoftware/vogl.git
synced 2026-11-17 02:20:49 +00:00
Page:
Installing (Windows)
Pages
Automated VOGL Trace Analysis
Building 32 bit Vogl binaries on a multilib system
Change Notes
Coding Conventions
Current GL Compatibility
Early Raw Notes on JSON, trace packets, history of code, etc.
Home
Installing (Windows)
Notes on vogl limitations
Public Roadmap, Dev List, Developer Blogs
Quick Instructions
Realtime VOGL Trace Editing
Regression Test System
Settings
Simple Map of the Codebase
Why We Think You Should Help Us
voglgen tool
No results
Table of contents
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:
- 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
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\x64cd vogl-master\vogl_build\x64cmake -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