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
I just started using Hunter and wanted to share my first experience.
I went through First Step example and ran the cmake configure. First time it failed because of this issue. I updated Hunter URL and ran cmake configure again.
Second time I got error: vcvarsall.bat not found in C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/MSBuild/VC/Auxiliary/Build
The vcvarsall.exe file on my laptop is in 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build'. So I went to file 'C:\Hunter_root_Base\Download\Hunter\0.25.6\69e4a05\Unpacked\cmake\modules\hunter_setup_msvc.cmake' and change around lines 211 to (added one more '/../'): set(_hunter_vcvarsall_path #"${_hunter_vcvarsall_path}/../../../VC/Auxiliary/Build" "${_hunter_vcvarsall_path}/../../../../VC/Auxiliary/Build" )
Now cmake configure is working ok so far, and i have the time to write this post as a recommendations on the issues that could be fixed. :)
The text was updated successfully, but these errors were encountered:
I just started using Hunter and wanted to share my first experience.
I went through First Step example and ran the cmake configure. First time it failed because of this issue. I updated Hunter URL and ran cmake configure again.
Second time I got error:
vcvarsall.bat not found in
C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/MSBuild/VC/Auxiliary/Build
The vcvarsall.exe file on my laptop is in 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build'. So I went to file 'C:\Hunter_root_Base\Download\Hunter\0.25.6\69e4a05\Unpacked\cmake\modules\hunter_setup_msvc.cmake' and change around lines 211 to (added one more '/../'):
set(_hunter_vcvarsall_path #"${_hunter_vcvarsall_path}/../../../VC/Auxiliary/Build" "${_hunter_vcvarsall_path}/../../../../VC/Auxiliary/Build" )
Now cmake configure is working ok so far, and i have the time to write this post as a recommendations on the issues that could be fixed. :)
The text was updated successfully, but these errors were encountered: