Gremlin92
@Gremlin92
Целеустремленный

Проблема с смаке в vs 2019?

Открыл смаке фолдер в вс2019 получаю такую ошибку:
Severity Code Description Project File Line Suppression State
Error CMake Error at C:/vcpkg-2020.04/vcpkg-2020.04/scripts/buildsystems/vcpkg.cmake:329 (_find_package):
Could not find a package configuration file provided by "nlohmann_json"
with any of the following names:

nlohmann_jsonConfig.cmake
nlohmann_json-config.cmake

Add the installation prefix of "nlohmann_json" to CMAKE_PREFIX_PATH or set
"nlohmann_json_DIR" to a directory containing one of the above files. If
"nlohmann_json" provides a separate development package or SDK, be sure it
has been installed. C:/vcpkg-2020.04/vcpkg-2020.04/scripts/buildsystems/vcpkg.cmake 329
  • Вопрос задан
  • 102 просмотра
Решения вопроса 1
Gremlin92
@Gremlin92 Автор вопроса
Целеустремленный
Исправил указав переменную среды nlohmann_json: C:\vcpkg-2020.04\vcpkg-2020.04\installed\x64-windows
Ответ написан
Комментировать
Пригласить эксперта
Ответы на вопрос 1
@res2001
Developer, ex-admin
Cmake не может найти пакет nlohmann_json. Установите его в vcpkg руками, он там должен быть в портах.
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы