You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1) Initialize a new hello world repo like this:
https://learn.microsoft.com/en-us/vcpkg/get_started/get-started-vs?pivots=shell-cmd
2) Add GDAL port:
vcpkg add port GDAL
3) Then add GDAL as a dependency in the Cmake:
CMakeLists.txt:
cmake_minimum_required(VERSION 3.10)
project(HelloWorld)
find_package(fmt CONFIG REQUIRED)
find_package(GDAL CONFIG REQUIRED)
add_executable(HelloWorld helloworld.cpp)
target_link_libraries(HelloWorld PRIVATE fmt::fmt GDAL::GDAL)
4) Build
Operating system
Windows 10 Enterprise
Compiler
MSVC Community 2022 (64-bit)
Steps to reproduce the behavior
Failure logs
ninja: build stopped: subcommand failed.
Build All failed.
Additional context
No response
The text was updated successfully, but these errors were encountered: