eclipse-uprotocol / eclipse-uprotocol/up-cpp

using the library fails on cmake step with missing config (e.g. up_cppConfig.cmake)

Open
#302 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
29
Forks
33
PR merge metrics
No merged PRs in 30d

Description

steps e.g.
conan new cmake_exe -d name=ue_can_prj -d version=0.1 -d requires=up-cpp/1.0.1
conan install . --output-folder=build --build=missing
"conan create ."

error:
-------------------------8<------------------------
CMake Error at CMakeLists.txt:4 (find_package):
Could not find a package configuration file provided by "up_cpp" with any
of the following names:

up_cppConfig.cmake
up_cpp-config.cmake

Add the installation prefix of "up_cpp" to CMAKE_PREFIX_PATH or set
"up_cpp_DIR" to a directory containing one of the above files. If "up_cpp"
provides a separate development package or SDK, be sure it has been
installed.
-------------------------8<------------------------

How can I solve this, or what is the suggested way to setup a project using up_cpp?
Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.