Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cmake, cpp
Domain
build-system

Research direction

Start with the reported conan commands and the generated CMakeLists.txt, especially the find_package call that fails for up_cpp. Reproduce the installation and create steps, then inspect the resulting build and package configuration files. Done means a documented or verified setup where the example project can locate up_cppConfig.cmake.

Written by the indexing model from the issue text.

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

Dominant language
C++
Stars
29
Forks
32
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eclipse-uprotocol/up-cpp

All issues in eclipse-uprotocol/up-cpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.