Skip to content

Conan build not finding nmos-cpp headers #23

@rainey

Description

@rainey

I'm simply trying to build from source using the instructions in the readme. Running ./scripts/setup.sh returns with no erros, but when I run ./scripts/build.sh it quickly fails with the output:

sender-receiver-framework
[  1%] Building CXX object cpp/demos/nmos-cpp-node/CMakeFiles/nmos-cpp-node.dir/main.cpp.o
/mnt/raid88/srainey/nmos-testing/nmos-sender-receiver-framework/cpp/demos/nmos-cpp-node/main.cpp:27:10: fatal error: nmos/ocsp_behaviour.h: No such file or directory
   27 | #include "nmos/ocsp_behaviour.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Having a look through the conan cache files I do see that the header exists in the cache:

find ~/.conan2/ -name "ocsp_be*h"           
/home/srainey/.conan2/p/b/nmos-8a7aef2972bd8/p/include/nmos/ocsp_behaviour.h
/home/srainey/.conan2/p/b/nmos-bc8067be2e90e/p/include/nmos/ocsp_behaviour.h

I'm using an up-to-date installation of arch linux with conan 2.14.0, with the default detected profile of:

[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=14
os=Linux

And the current repository HEAD: b0f9cd5c541ac1c05ebb8beb7ec3971b47e87df2

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageApply to all new issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions