Can't build "auc" package with OpenWrt SDK: no json library found

Hello, I'm trying to build auc package in OpenWrt SDK:

Steps I'm doing:

  • run container from latest OpenWrt SDK Docker image:
    https://hub.docker.com/r/openwrt/sdk
  • In the container, issue the commands:
    ./scripts/feeds update packages
    ./scripts/feeds install -a -p packages
    
    make package/auc/compile V=s
    # it runs "make menuconfig", exit with saving default configuration to continue
    ...
    
  • got a CMake json error:
    ...
    CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:
    json
        linked by target "auc" in directory /builder/build_dir/target-x86_64_musl/auc-0.3.2
    

I'm really stuck on that, please help.

The solution:

Thanks @daniel !

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.