nlohmann / json

JSON for Modern C++
https://json.nlohmann.me
MIT License
41.46k stars 6.59k forks source link

error: building nlohmann-json:arm64-osx failed with: BUILD_FAILED #4091

Closed DuckyDuckerson closed 11 months ago

DuckyDuckerson commented 11 months ago

Description

I can not install nlohmann-json

Reproduction steps

~vcpkg install nlohmann-json:arm64-osx

Expected vs. actual results

I expected it to install but all i get is the error

error: building nlohmann-json:arm64-osx failed with: BUILD_FAILED

Minimal code example

No response

Error messages

CMake Error at scripts/cmake/vcpkg_find_acquire_program.cmake:163 (message):
  Could not find pkg-config.  Please install it via your package manager:

      brew install pkg-config
Call Stack (most recent call first):
  scripts/cmake/vcpkg_fixup_pkgconfig.cmake:203 (vcpkg_find_acquire_program)
  ports/nlohmann-json/portfile.cmake:28 (vcpkg_fixup_pkgconfig)
  scripts/ports.cmake:147 (include)

error: building nlohmann-json:arm64-osx failed with: BUILD_FAILED
Elapsed time to handle nlohmann-json:arm64-osx: 641 ms

Compiler and operating system

mac os 13.4.1 (c) (22F770820d)

Library version

installing with vcpkg

Validation

nlohmann commented 11 months ago

Please raise this issue here: https://github.com/Microsoft/vcpkg/tree/master/ports/nlohmann-json