[mqtt_client] puredata object that implements MQTT client (based on Eclipse PAHO) and allows to interact with MQTT broker
GPL3 license
run build scripts from repository root to compile (currently tested on macOS)
version 0.0.2
Puredata and Max MQTT client object
License: GNU General Public License v3.0
[mqtt_client] puredata object that implements MQTT client (based on Eclipse PAHO) and allows to interact with MQTT broker
GPL3 license
run build scripts from repository root to compile (currently tested on macOS)
version 0.0.2
Hi,
I'm trying to compile mqtt-client-object for pd on MacOS via terminal and the build script seems not to work
Error: could not load cache
make: *** No targets specified and no makefile found. Stop.
Thanks to the great help of @i-n-g-o I think I'm halfway to the solution. As mentioned I did the following steps:
build/osx
foldercmake ../..
These steps seemed to work.
When I do the next step:
make -j 8
I can see some progress, but after 76% I get some warnings:
mqtt-client-object/third_party/paho.mqtt.c/src/StackTrace.c:112:34: warning: cast to smaller integer type 'int' from 'pthread_t' (aka 'struct _opaque_pthread_t *') [-Wpointer-to-int-cast]
Log_stackTrace(trace_level, 9, (int)my_thread->id, my_thread->current_depth, name, line, NULL);
And after 96% I get some Errors:
In file included from /Users/ms/Desktop/mqtt-client-object/modules/mqtt-client/src/mqtt_client.cpp:1:
In file included from /Users/ms/Desktop/mqtt-client-object/modules/mqtt-client/../mqtt-object-common/src/MQTTClient.hpp:1:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:502:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/typeinfo:60:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/exception:81:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:85:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdlib.h:93:15: fatal error: 'stdlib.h' file not found
#include_next <stdlib.h>
^~~~~~~~~~
1 error generated.
make[2]: *** [modules/mqtt-client/CMakeFiles/mqtt_client_pd.dir/src/mqtt_client.cpp.o] Error 1
make[1]: *** [modules/mqtt-client/CMakeFiles/mqtt_client_pd.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
1 error generated.
make[2]: *** [modules/mqtt-client/CMakeFiles/mqtt_client_max.dir/src/mqtt_client.cpp.o] Error 1
make[1]: *** [modules/mqtt-client/CMakeFiles/mqtt_client_max.dir/all] Error 2
make: *** [all] Error 2
Could you help me with this part as well. Thanks a lot!
Hi, I'm using mqtt_client with purr-data for a class. It works great for students working on Mac OS. On windows, we get an error:
The procedure entry point _Unwind_Resume could not be located in the dynamic link library C:\Program Files\Purr Data\extra\mqtt_client.dll
I thought I might try to recompile the library from source, but I have scant experience building on windows with mingw.
A few questions:
Thanks!
Hi.
When running the external on windows (compiled with mingw) using Pd i experience crashes when publishing a value.
The exception code is: 0xc0000094. Which apparently is a division by zero (STATUS_INTEGER_DIVIDE_BY_ZERO)
Connecting and subscribing works fine.
I guess this happens somewhere in the mqtt library.
Do you have any idea what that could be?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.