forked from nmoehrle/mvs-texturing
-
Notifications
You must be signed in to change notification settings - Fork 7
Build Instructions for Windows
andre-schulz edited this page Sep 30, 2016
·
4 revisions
Wiki Home ▸ Build Instructions for Windows
Building MVS-Texturing on Windows is possible, but unsupported. There are a few issues when compiling with Visual Studio which have been patched in the "cmake" branch of Andre Schulz' fork of MVS-Texturing (https://github.com/andre-schulz/mvs-texturing.git). A list of patched issues follows:
- Replace GNU make build system with CMake
- Downgraded OpenMP 3.0+ code back to 2.0 because Visual Studio only supports OpenMP 2.0
- 64-bit Windows
- Visual Studio 2015 (64-bit) or newer
- CMake 3.1 or newer
- First, build MVE according to the MVE build instructions for Windows
- Pull from https://github.com/andre-schulz/mvs-texturing.git into a folder parallel to "mve". (i.e. if you cloned MVE into "/path/to/mve", then you should clone mvs-texturing into "/path/to/mvs-texturing")
- Switch to the "cmake" branch (respectively "remotes/origin/cmake")
- Run cmake (configure + generate) in "mvs-texturing" folder
- Open "Texturing.sln"
- Set your desired solution configuration (you'll most likely want "Release")
- Build the solution
You can find the resulting binary in "apps/texrecon/<CMAKE_BUILD_TYPE>", where CMAKE_BUILD_TYPE is your chosen build type, i.e. one of { Release, Debug, RelWithDebInfo, MinSizeRel }.