I've been using MQTT server/client on Ubuntu for some time without any problems.
However I tried to install a client / server on Windows 8.1 platform.
I downloaded the broker and it installed without any errors.
However I can't find the client for use as standalone, to enable me to use mosquitto_sub / mosquitto_pub.
I also need to use the client libraries in my C++ project.
Do I need eclipse-paho-mqtt-c-windows-1.0.2 to use the client libraries?
Thanks in advance for any help.
mosquitto_pub and mosquitto_sub should have been installed in
C:\Program Files\mosquitto
For devlopment the headers and .lib files should be in the devel directory at the same location to link against the libmosquitto/libmoquittopp (mosquitto.dll/mosquittopp.dll). Or as you have said you could use the paho libraries.
Related
I have developed a small web server based on Crow, link.
I'm pretty new to developing in C++ so all advices are greatly appreciated.
I'm developing the application on my Mac and intend to deploy it to a Ubuntu server.
I use Make to build the application so that I can run it on the Mac. The application is depending on two libraries, pqxx and png++. None of those are installed on the server.
I'd like to know how to run this application on the Ubuntu server. Mainly I guess the issue is, can I make a specific build on the Mac that is targeted for running on the Ubuntu server? Or do I have to build the application on the server?
Easiest way is to install Ubuntu on a VM on your Mac and deploy there your application.
Less easy solution: move source files on server, deploy the application, delete the sources from server.
Theoretically, both system are linux, so as long as you are using standard c++ libraries the code should run anyway.
In any case, the dependencies on Linux and Mac for Crown are different, so (most probabily) you have to install some libraries on your server.
I am developing a C++ application using Netbeans remote development platform. I don't know how to specify the libraries that are on the remote server, in my local Netbeans IDE. If I go through the normal procedure of specifying them in the project properties, I am getting only the local files and not remote files. please help.
It's the first time that I heard such a "requirement". Why should you want to access files over the internet during development? Why don't you install the needed libraries on your local machine, develop your software and then build a proper installer with all the needed files?
I tried to compile my C++ daemon code from linux, with cygwin. It worked but not as a windows service. It's in processes list. How can I run it as a service? Or can I compile a windows service with cygwin?
cygrunsrv is used to install and manage Cygwin-based Windows services. Once you've installed that package, complete documentation is available in the /usr/share/doc/Cygwin/cygrunsrv.README file.
i use this documenet for configure on windows WSO2 Web Services Framework for C++
form the following documnet i able to start axis2_http_server and it's running on port on 9090
its display deployed application on http://localhost:9090/axis2/services
but when i try to create hello.cpp sample application from the given documentation but not able to compile the hello.cpp src file
i install all listed Dependencies on my windows 7 box then also not able to compile hello.cpp i install visual c++ 2008 and also try with cygwin for gcc compiler then also not able to compile can any one help to set development environment for WSO2 Web Services Framework for C++ on windows
Try using visual studio to build a project. Another option is to try and look at the samples makefile shipped with wsf/cpp and use a similar command.
I have downloaded and installed the pion network library.
I am trying to build the sample web services (HelloService etc). However, I cannot find instructions on how to build the examples.
I am developing on windows7
Check This for build instructions on Windows.
You might also want to see here the compatibility of your windows.