Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] Adding Mosquitto Library to project
  • From: Antonio English <antonio.english@xxxxxxxxxxxx>
  • Date: Thu, 31 Aug 2023 17:24:36 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=weareaim.com; dmarc=pass action=none header.from=weareaim.com; dkim=pass header.d=weareaim.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8ctoJNc9m7GtyHeb0PAQWBeDnyeRJST4L9fS/pGDfXk=; b=MuR2IMSUUg+G+Vnt9nGVoT6/aXvsM4dUvqmLe3lQKNfhN8+gCisJFO2FTKkS/qNIq+aAFtJQUvkS3Q0OtlN828KwALlUxNQbOY/1+NgsNdf0btnmDZ0tQ2QrdrTMMWEQiGGdOwA6f1QcBaOm52eAbdr72dYlAB8Ox6E40QJ6+in5+pC98L4KZ/b3Ibd/3mLSDzHp1JasXLIlKNt1xF/mX2E6gxgtb8UChuWyK3SR18UHtxXy/DDYw1YzOlVmZZjrykOcUfu+QeLQDNfPJWwz46WcNLoZ0LQKMlCvLHDNgC5N2VG7l2soTKJBeIWWEBZPlvdfAhIRCZmf3fK46wYlaw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VrZg14vad1bDfXrdgA3zYBOULGNlBWLidPX4kvnNeP6WSsDHt5NHIXH0Z2yKbRs2OGsRxag4qOjTRJVNdxIJjNBTkF+khLvbNX5wMeEXC5fkQeJM/KQ6IbP0YuXC/X6O52FKXO7/GYiGf6t4BV7I7GNC5u256j/6N+ZeJ+NzTPc6rG1/b2UCdXWzFD7wCekTY+biyPwH1dKNjApdBCWpKjlBza0e3PSjSgK04xNifxjIWp6Vacuf54E1kWICpMzoQLG8/NfPSk+4kqWZXZ7nNdbmnOvfFfUkjbeBbN9foUlntORB0qTweCtqntP2upveVSHkhm+YFGc3/8ZB2HW1Ew==
  • Delivered-to: mosquitto-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/mosquitto-dev/>
  • List-help: <mailto:mosquitto-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/mosquitto-dev>, <mailto:mosquitto-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/mosquitto-dev>, <mailto:mosquitto-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdncFR+PIp9vBuv2RzC2qC5ATq+qqw==
  • Thread-topic: Adding Mosquitto Library to project

 

Hello,

I hope I am in the right place for this question. I am working on a project that I would like to add the Mosquitto library to. I.


When I try to build this project, I get the following errors:
[main] Building folder: example_project_v3

[build] Starting build

[proc] Executing command: /opt/ndc/uzone/P41988V3.5.0/sysroots/x86_64-ndclinuxsdk-linux/usr/bin/cmake --build /home/vboxuser/Desktop/repos/UZ_D3/P46177V1.1.0/example_project_v3/build --config Debug --target all --

[build] [1/1   0% :: 0.000] Re-running CMake...

[build] -- Configuring done

[build] -- Generating done

[build] -- Build files have been written to: /home/vboxuser/Desktop/repos/UZ_D3/P46177V1.1.0/example_project_v3/build

[build] [1/4  25% :: 0.706] Building CXX object src/CMakeFiles/uzone_lib.dir/Adder.cpp.o

[build] FAILED: src/CMakeFiles/uzone_lib.dir/Adder.cpp.o

[build] /opt/ndc/uzone/P41988V3.5.0/sysroots/x86_64-ndclinuxsdk-linux/usr/bin/arm-ndclinux-linux-gnueabi/arm-ndclinux-linux-gnueabi-g++   -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/opt/ndc/uzone/P41988V3.5.0/sysroots/cortexa9t2hf-neon-ndclinux-linux-gnueabi --sysroot=/opt/ndc/uzone/P41988V3.5.0/sysroots/cortexa9t2hf-neon-ndclinux-linux-gnueabi  -DFMT_LOCALE -DFMT_SHARED -DHAVE_NDC8LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I../src -I/home/vboxuser/Desktop/repos/UZ_D3/P46177V1.1.0/ndc8api/c++/Ndc8/Parameter/../.. -I/home/vboxuser/Desktop/repos/UZ_D3/P46177V1.1.0/ndc8api/c++/Ndc8/Parameter/../../.. -g   -pthread -std=gnu++17 -MD -MT src/CMakeFiles/uzone_lib.dir/Adder.cpp.o -MF src/CMakeFiles/uzone_lib.dir/Adder.cpp.o.d -o src/CMakeFiles/uzone_lib.dir/Adder.cpp.o -c ../src/Adder.cpp

[build] ../src/Adder.cpp:26:10: fatal error: mosquitto.h: No such file or directory

[build]    26 | #include <mosquitto.h>

[build]       |          ^~~~~~~~~~~~~

[build] compilation terminated.

[build] ninja: build stopped: subcommand failed.

[proc] The command: /opt/ndc/uzone/P41988V3.5.0/sysroots/x86_64-ndclinuxsdk-linux/usr/bin/cmake --build /home/vboxuser/Desktop/repos/UZ_D3/P46177V1.1.0/example_project_v3/build --config Debug --target all -- exited with code: 1

[driver] Build completed: 00:00:01.054

[build] Build finished with exit code 1

Adder.cpp:
#include "Adder.h"

#include "UzoneLogger.h"

#include <iostream>

#include <mosquitto.h>

 

 

 


Back to the top