Skip to content

CMake Build Error #61

Description

@chairmanfaust

When attempting to build this project on my raspberry pi running debian bookworm i'm hitting this problem at the end of the build instructions:

`mqtt@mqtt:/serial2mqtt $ cd build/
mqtt@mqtt:
/serial2mqtt/build $ cmake ..
CMake Error at CMakeLists.txt:12 (find_package):
By not providing "Findeclipse-paho-mqtt-c.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"eclipse-paho-mqtt-c", but CMake did not find one.

Could not find a package configuration file provided by
"eclipse-paho-mqtt-c" with any of the following names:

eclipse-paho-mqtt-cConfig.cmake
eclipse-paho-mqtt-c-config.cmake

Add the installation prefix of "eclipse-paho-mqtt-c" to CMAKE_PREFIX_PATH
or set "eclipse-paho-mqtt-c_DIR" to a directory containing one of the above
files. If "eclipse-paho-mqtt-c" provides a separate development package or
SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!
See also "/home/mqtt/serial2mqtt/build/CMakeFiles/CMakeOutput.log".
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions