You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use the pahp-mqttpp3 library on Ubuntu 18.04, I'm getting the following error after running cmake -DCMAKE_TOOLCHAIN_FILE=/home/marc/Documents/vcpkg/scripts/buildsystems/vcpkg.cmake ..:
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find PahoMqttC (missing: PAHO_MQTT_C_LIBRARIES
PAHO_MQTT_C_INCLUDE_DIRS)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/home/marc/Documents/vcpkg/installed/x64-linux/share/pahomqttcpp/FindPahoMqttC.cmake:22 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
/home/marc/Documents/vcpkg/scripts/buildsystems/vcpkg.cmake:263 (_find_package)
/usr/share/cmake-3.10/Modules/CMakeFindDependencyMacro.cmake:48 (find_package)
/home/marc/Documents/vcpkg/installed/x64-linux/share/pahomqttcpp/PahoMqttCppConfig.cmake:3 (find_dependency)
/home/marc/Documents/vcpkg/scripts/buildsystems/vcpkg.cmake:263 (_find_package)
CMakeLists.txt:5 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/marc/Documents/test/build/CMakeFiles/CMakeOutput.log".
The installation of the paho-mqttpp3 package finished successfully.
When trying to use the pahp-mqttpp3 library on Ubuntu 18.04, I'm getting the following error after running
cmake -DCMAKE_TOOLCHAIN_FILE=/home/marc/Documents/vcpkg/scripts/buildsystems/vcpkg.cmake ..
:The installation of the paho-mqttpp3 package finished successfully.
The
CMakeLists.txt
looks as following:The text was updated successfully, but these errors were encountered: