Skip to content
This repository was archived by the owner on Mar 8, 2023. It is now read-only.

Make windows build compatible with VS 2017#59

Open
guischulz wants to merge 1 commit intoheremaps:masterfrom
guischulz:windows-msvc-compatibility
Open

Make windows build compatible with VS 2017#59
guischulz wants to merge 1 commit intoheremaps:masterfrom
guischulz:windows-msvc-compatibility

Conversation

@guischulz
Copy link

Tested with Visual Studio 2017, CMake 3.14, Boost 1.69 and GDAL 2.3.3.

Build instructions (for x64 release build):

  • set environment variables GDAL_DIR, BOOST_INCLUDEDIR, BOOST_LIBRARYDIR, eg.
    set BOOST_INCLUDEDIR=C:\Boost\include\boost-1_69
    set BOOST_LIBRARYDIR=C:\Boost\lib
    set GDAL_DIR=C:\Gdal
  • run CMake with generator "Visual Studio 15 2017 Win64"
    cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=Release
  • run MSBuild
    msbuild tin-terrain.sln /p:Configuration=Release /p:Platform=x64

@guischulz guischulz force-pushed the windows-msvc-compatibility branch from 9fe4514 to 42f2ed9 Compare April 28, 2019 11:42
Signed-off-by: Guido Schulz <guido.schulz@mettenmeier.de>
@guischulz guischulz force-pushed the windows-msvc-compatibility branch from 42f2ed9 to a8cb8ef Compare April 28, 2019 12:20
@fester
Copy link
Contributor

fester commented May 17, 2019

Thank you for your submission! @Jeffzholy, could you please test this PR?

qGYdXbY2 added a commit to qGYdXbY2/tin-terrain that referenced this pull request Feb 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants