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
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.
The text was updated successfully, but these errors were encountered:
yusuke-ota
changed the title
Cannot build using Visual Studio 2022.
Cannot build with Visual Studio 2022 because cpp-pm/hunter is not supported.
Dec 29, 2021
yusuke-ota
changed the title
Cannot build with Visual Studio 2022 because cpp-pm/hunter is not supported.
Cannot build with Visual Studio 2022 because cpp-pm/hunter v0.23.258 does not support VS 2022.
Dec 29, 2021
@yusuke-ota
Thanks for reporting - great timing, we'll update this before the release as well. We've made necessary changes a while ago, so should be clean update: cpp-pm/hunter#498
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.
The text was updated successfully, but these errors were encountered: