Hi.
I'm reporting an error that occurred when I tried to build this project with Visual Studio 2022.
Problem
Currently, the "cpp-pm/hunter v0.23.258" used in this project supports Visual Studio 2019 and earlier.
|
include("cmake/HunterGate.cmake") |
|
HunterGate( |
|
URL "https://github.com/cpp-pm/hunter/archive/v0.23.258.tar.gz" |
|
SHA1 "062a19ab13ce8dffa9a882b6ce3e43bdabdf75d3" |
|
LOCAL # Local config for dependencies |
|
) |
ref:
https://github.com/cpp-pm/hunter/blob/286702056cd26b99d1ee95a30327e6ad834bc2ad/cmake/modules/hunter_setup_msvc.cmake#L87-L92
So, I cannot build this project with Visual Studio 2022.
Error:
[hunter ** INTERNAL **] Unexpected MSVC_VERSION: '1930'
Solution
Since "cpp-pm/hunter v0.23.317", "cpp-pm/hunter" supports building with Visual Studio 2022.
And I used v0.23.320 to avoid this error.
I hope you consider upgrading the dependent cpp-pm/hunter in the next update of this project.
Thanks.
Hi.
I'm reporting an error that occurred when I tried to build this project with Visual Studio 2022.
Problem
Currently, the "cpp-pm/hunter v0.23.258" used in this project supports Visual Studio 2019 and earlier.
depthai-core/CMakeLists.txt
Lines 18 to 23 in 29e2a54
ref: https://github.com/cpp-pm/hunter/blob/286702056cd26b99d1ee95a30327e6ad834bc2ad/cmake/modules/hunter_setup_msvc.cmake#L87-L92
So, I cannot build this project with Visual Studio 2022.
Error:
Solution
Since "cpp-pm/hunter v0.23.317", "cpp-pm/hunter" supports building with Visual Studio 2022.
And I used v0.23.320 to avoid this error.
I hope you consider upgrading the dependent cpp-pm/hunter in the next update of this project.
Thanks.