Building Mosquitto from Source on win32 - Errors in makefile from source? [message #1718646] |
Mon, 28 December 2015 17:52 |
Daniele Lubrano Messages: 5 Registered: December 2015 |
Junior Member |
|
|
Hello everyone
I was trying to build Mosquitto right from the sources, using Visual Studio 14 (2015 Community Edition) compiler.
First of all, as the README file says, i used cmake to generate the makefiles and projects, but i think that some version detection problem in present inside the sourcefile.
When i run the build process (despite the unsatisfied dependecies), the compiler refuses to build with errors like:
#error Macro definition of snprintf conflicts with Standard Library function declaration
(this in stdio.h)
Maybe something is wrong inside the various #if somewhere in mosquitto or other dependency headers...
Do you suggest to use a different compiler or different build environment for Windows Binary Build? I tried to compile inside Ubuntu Linux 14.04, mingw, Cygwin (gcc) but doesn't work either for makefile (even regenerated with cmake, or straight from GIT repo) problems or dependency issues (like, libwebsockets isn't declared as a dependency, nor c-ares,libssl, pthread ecc..)
Thanks for reading , hope to get news soon
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03617 seconds