Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] [EXTERNAL] Adding Mosquitto Library to project
  • From: Juan Miguel Ruiz Guerrero <jmruiz@xxxxxxxxxx>
  • Date: Thu, 31 Aug 2023 17:47:24 +0000
  • Accept-language: en-US, es-ES
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=werfen.com; dmarc=pass action=none header.from=werfen.com; dkim=pass header.d=werfen.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=8Uf0BJGAMNwOhuyH8SeE9yHKUDU6esGmxcgeDeZgtc4=; b=T8LAoL1OZnt2FDM5u+Ae76oaikTeN8COg+xGFyQY3Cm3rfUTKl9v1yoK4AzCMxkE8VAWb2UI9ia57ADLReR4upr9sYR9uQ0AKBXnchOJ5XBVndEf0eZiKwot4grv3jeXNC9C5O5CKKUKMD8dFhbJbtlGQ91Jr9gVb6u/tYq3Z6C2gIRQgtbzZbSk2omjrqtMsWHak7PtDuzf6QsVriHXOCfFc5y3yNvVF2/tssqnJbC/IUnhFUBCVG1fSKPxw7TeWYQvXjatjUcvn5/SWD4LIF5Une1DbjzEti/fG0/regpWLmnKXjIhm+ZqMJJkTsFXXXAneqobpRasFcFNQytL/w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hzv9ytAc8xtfCXBCVBJicy/WESlpxLe1g9zihJFw8ikTPPIBlLFKrJvITuQuRtBuyPVXuts/ICNxe55kWU0EkDLarbhNYz/HyRN3QT94XOf3OR1KEG1DU85NyTRiPblmrm0G2o9WIqCZ7+NdVoFxuKFxuwBa9r4Fw++tGVLMV9kE77pTQQwHuGH84SH8NPbGXq4LTMyUD2/PV3fHTkvfaGBqh3Z/xu3lAJyudGulpukATPvaQfn8ldKNpLIO9iFzdr/hebaLJm9JAvizHz+RAI0e+VmdcqmM3VArQqyqFZ1nGOO+kMpo83+Hg7VZfWxpwHJ7Xd4jEs3WEU+eMLXUIg==
  • 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+qqwAHf7eU
  • Thread-topic: [EXTERNAL] [mosquitto-dev] Adding Mosquitto Library to project

Have you added the include directories to the compilation options?

Enviado desde Outlook para iOS<https://aka.ms/o0ukef>
________________________________
De: mosquitto-dev <mosquitto-dev-bounces@xxxxxxxxxxx> en nombre de Antonio English via mosquitto-dev <mosquitto-dev@xxxxxxxxxxx>
Enviado: Thursday, August 31, 2023 7:24:36 PM
Para: mosquitto-dev@xxxxxxxxxxx <mosquitto-dev@xxxxxxxxxxx>
Cc: Antonio English <antonio.english@xxxxxxxxxxxx>
Asunto: [EXTERNAL] [mosquitto-dev] Adding Mosquitto Library to project

CAUTION:
This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.




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>










This e-mail is intended solely for authorized recipients and may contain proprietary and/or confidential information, which shall be kept confidential. If you are not the intended recipient, please notify Werfen immediately and delete the email and its attachments from your system. Werfen cannot guarantee the security of this e-mail and disclaims any damages related to it.
Think before you print...thank you.


Back to the top