I want to test nmos receiving ST2110 stream on Rivermax,
and I follow the menual to build nmos-cpp
but there is an error about ‘conan’ like belows,
how can I fix this? (I want to build with conan)
====================================
at ‘media_node/build/’ folder of Rivermax SDK,
cmake … -DCMAKE_BUILD_TYPE=Release -DUSE_ADD_SUBDIRECTORY=1 -DNMOS_CPP_DIRECTORY=nmos-cpp/Development -DNMOS_CPP_USE_AVAHI=1 -DNMOS_CPP_USE_CONAN=1 -DWEBSOCKETPP_INCLUDE_DIR:PATH=“/usr/local/download_lib/cpprestsdk/Release/libs/websocketpp”
and result is below
– The C compiler identification is GNU 11.3.0
– The CXX compiler identification is GNU 11.3.0
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /usr/bin/cc - skipped
– Detecting C compile features
– Detecting C compile features - done
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /usr/bin/c++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
– Using add_subdirectory(nmos-cpp/Development)
– Downloading conan.cmake from GitHub - conan-io/cmake-conan: CMake wrapper for conan C and C++ package manager
– Conan: checking conan executable
– Conan: Found program /usr/local/bin/conan
– Conan: Version found Conan version 2.0.9
– Conan: Automatic detection of conan settings from cmake
– Conan: Settings= -s;build_type=Release;-s;compiler=gcc;-s;compiler.version=11;-s;compiler.libcxx=libstdc++11
– Conan: checking conan executable
– Conan: Found program /usr/local/bin/conan
– Conan: Version found Conan version 2.0.9
– Conan executing: /usr/local/bin/conan install /media_node/nmos-cpp/Development/conanfile.txt -s build_type=Release -s compiler=gcc -s compiler.version=11 -s compiler.libcxx=libstdc++11 -g=cmake_find_package -g=cmake --build=missing
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
ERROR: Error while parsing [options] in conanfile.txt
Options should be specified as ‘pkg/*:option=value’
CMake Error at build/build-nmos-cpp/conan.cmake:540 (message):
Conan install failed=‘1’
Call Stack (most recent call first):
build/build-nmos-cpp/conan.cmake:882 (old_conan_cmake_install)
nmos-cpp/Development/cmake/NmosCppConan.cmake:46 (conan_cmake_run)
nmos-cpp/Development/cmake/NmosCppCommon.cmake:5 (include)
nmos-cpp/Development/CMakeLists.txt:18 (include)
– Configuring incomplete, errors occurred!
See also “/usr/local/download_lib/media_node/build/CMakeFiles/CMakeOutput.log”.
===================================
and conanfile.txt
[requires]
nmos-cpp/cci.20220208
[options]
avahi:shared=True
====================================
how could I fix this error?