c7ab2c0b3f4647f3e5e0fa70c9cd0925d7934ed7
DataVu-PC — Build & Development Guide
A practical guide to building and working on the DataVu-PC project with the exact toolchain this codebase expects.
Description
DataVu relies on an older Windows/MSVC/Qt stack. Using different versions (especially for Boost) will lead to hard-to-debug template/iterator errors. This README captures the known-good setup and steps to get a successful build on a 64‑bit Windows machine.
Getting Started
Dependencies
- Windows (64-bit)
- MSVC 2013 Build Tools (v120)
- Qt 5.5.1 (64-bit, MSVC2013 kit)
- Boost 1.64.0
- Project-specific “misc” folders included in the repository
Installing
1) MSVC 2013 Build Tools
- Download “Visual Studio Community 2013 with Update 5” ISO (x86) and install.
- After installation, set system environment variables (System‑wide, not just for your user). Add the following to PATH and move them near the top so they take priority:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDEC:\Program Files (x86)\Windows Kits\8.1\bin\x64C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64
- Create/update LIB with:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib\amd64C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\shared\x64
- Create/update INCLUDE with:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\includeC:\Program Files (x86)\Windows Kits\8.1\Include\sharedC:\Program Files (x86)\Windows Kits\8.1\Include\umC:\Program Files (x86)\Windows Kits\8.1\Include\winrt
Tip: Ensure these take precedence over any newer Visual Studio/Windows SDK entries to avoid mixing headers/libs across toolsets.
2) Qt 5.5.1 (64‑bit, MSVC2013)
- Install Qt 5.5.1 with the MSVC2013 64-bit kit. This provides the correct mkspecs, Qt libraries, and Qt Creator kit for v120.
3) Boost 1.64.0 (exact version)
- Download Boost 1.64.0 as a ZIP archive.
- Extract to
C:\boost(recommended to simplify include/lib mappings). - Open VS2013 x64 Native Tools Command Prompt (Run as Administrator),
cdinto the extracted Boost directory. - Build Boost:
bootstrap.bat b2 toolset=msvc-12.0 address-model=64 --build-type=complete stage - The generated
.libfiles will be understage\lib. You can map these in your.proor project settings as needed.
Note: Using any Boost version other than 1.64.0 will likely cause failures in iterator/adapter code paths. Stick to 1.64.0.
Executing program
Typical flow with Qt Creator (MSVC2013 64-bit kit):
- Launch Qt Creator and select the MSVC2013 64-bit Kit.
- Open the project (
.proor CMake/Qt project file used in this repo). - Configure for Release (recommended initially), then Build.
- Run from Qt Creator, or launch the produced executable from the output folder.
Help / Troubleshooting
- If you see template or iterator adaptor errors in Boost during compile, confirm you are on Boost 1.64.0 and not a newer version.
- If the compiler picks the wrong SDK or MSVC headers, move the PATH, LIB, and INCLUDE entries listed above to the top of the respective lists so they win precedence.
- Ensure you are using the 64‑bit variants everywhere (MSVC, Qt kit, Boost address‑model).
Authors
- Timothy Sibley
Version History
- 0.1 — 2025‑08‑18: Initial setup notes and known‑good toolchain.
License
TBD — see LICENSE.md when available.
Acknowledgments
- Template structure adapted from common open‑source README patterns.
- Helpful README inspiration:
Description