Skip to content

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

@JoSch1Etas

Description

@JoSch1Etas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions