building mosquitto in visual studio 2012

Asked by sainuddin

I have succeeded building mosquitto in visual studio 2012, but somehow the broker always rejecting (disconnecting) the client.

I created 3 projects in visual studio:
1. libmqtt as static lib
2. mosquitto as exe with preprocessor "WITH_BROKER WITH_BRIDGE"
3. sub as exe with preprocessor "WITH_BROKER"

did I do something wrong?

Question information

Language:
English Edit question
Status:
Answered
For:
mosquitto Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Roger Light (roger.light) said :
#1

If you use "WITH_BROKER" when compiling client code, it will break.

I would recommend using the cmake tool to generate Visual Studio project files for you.

Can you help with this problem?

Provide an answer of your own, or ask sainuddin for more information if necessary.

To post a message you must log in.