Closed rlewkowicz closed 2 years ago
Ok, so I was trying to copy this into a fresh sln which was probably half, my issue. I'm now using the cmake integration but it is failing too:
Severity Code Description Project File Line Suppression State
Error CMake Error at C:\Repos\screen\screen_capture_lite-17.1.457\Example_CPP\CMakeLists.txt:59 (install):
install TARGETS given target "screen_capture_lite_shared" which does not
exist. screen_capture_example_cpp C:\Repos\screen\screen_capture_lite-17.1.457\Example_CPP\CMakeLists.txt 59
This is on visual studio 2022
Ok, so ymmv but for me the easiest thing was to get cmake: https://cmake.org/install/
And run:
cmake .
cmake install .
in the base dir of this repo.
I feel like such a pleb in this windows space.
In visual studio, trying to compile the example application, I get:
Among other esoteric errors that just indicate compiler mismatches. I've tried setting both c and c++ to the 17 variant but then I get tons of things like:
Is this supposed to be compile with visual studio, or am I supposed to use something else?