I just tried cmake on CZMQ, it ends with: - Could NOT find LIBSODIUM (missing: LIBSODIUM_LIBRARIES LIBSODIUM_INCLUDE_DIRS) - Could NOT find LIBZMQ (missing: LIBZMQ_LIBRARIES LIBZMQ_INCLUDE_DIRS) Make Error at CMakeLists.txt:100 (message): libzmq not found. - Configuring incomplete, errors occurred!
Now, I think this could be fixed with some work in zproject, though it's hardly worthwhile since we generate the MSVC solutions already. Cheers Pieter On Fri, Feb 5, 2016 at 1:04 PM, Sergei Nikulov <[email protected]> wrote: > 2016-02-05 14:59 GMT+03:00 Pieter Hintjens <[email protected]>: >> I've just tried CMake and it appears to work up to a point. That is: >> >> - you need to install it >> - you need to create a directory to build in >> - you need to run it (that takes some time, it goes through a whole >> load of "is this linux? no? wow" checks... >> - you then get a ZeroMQ.sln that you can pass to MSVC >> >> Whereas the master already contains a libzmq.sln that you can pass to MSVC. >> >> So while CMake surely works, I don't see the benefit of using it, you >> have a lot of extra steps to get the same results. >> >> Also it does not work for CZMQ and other libraries, and does not >> AFAICs work with libsodium. >> >> So I'd not recommend it. > > Fair enough. > Thank you. > >> >> -Pieter >> >> On Fri, Feb 5, 2016 at 12:52 PM, Sergei Nikulov >> <[email protected]> wrote: >>> 2016-02-05 14:25 GMT+03:00 Pieter Hintjens <[email protected]>: >>>> Here are the steps to build libzmq from master, using VS2015 in a >>>> cmd.exe window: >>>> >>>> git clone https://github.com/zeromq/libzmq >>>> cd libzmq\builds\msvc >>>> configure >>>> cd build >>>> buildall >>>> >>>> If you use an earlier MSVC, look at buildall.bat to see how to call >>>> build for older compilers. >>> >>> Hi Pieter, >>> >>> Is CMake not recommended and not supported? >>> >>>> -Pieter >>>> >>>> >>>> On Fri, Feb 5, 2016 at 9:37 AM, B. Scott Harper <[email protected]> wrote: >>>>> I had assumed that, since Visual Studio solutions were provided, CMake >>>>> would >>>>> not be useful for configuring builds on Windows. I would be happy to learn >>>>> that my assumption was erroneous. >>>>> >>>>> On Fri, Feb 5, 2016 at 5:26 PM, Sergei Nikulov <[email protected]> >>>>> wrote: >>>>>> >>>>>> 2016-02-05 11:08 GMT+03:00 Jihad Mahmoud <[email protected]>: >>>>>> > Hello All >>>>>> > >>>>>> > I am using ZMQ for the first time and while I was following the >>>>>> > instructions >>>>>> > for installing it on Windows libzmq\builds\msvc\msvc.sln wasn't found. >>>>>> > I >>>>>> > assumed the libmzq in VS2010 is the alternative sln nevertheless when I >>>>>> > tried to load it in Visual C++ 2010, it couldn't be loaded as all .prop >>>>>> > files weren't found. I open the VS2010 directory and couldn't find any >>>>>> > of >>>>>> > the required .prop file instead I have found only the project property >>>>>> > file. >>>>>> > >>>>>> > In this case what should I do? I searched for few hours on the internet >>>>>> > and >>>>>> > couldn't find a solution. >>>>>> >>>>>> If you familiar with CMake https://cmake.org/, I advice you to use it >>>>>> for project generation. >>>>>> >>>>>> > >>>>>> > Thanks >>>>>> > Jihad >>>>>> > >>>>>> > -- >>>>>> > Jihad Fahmi Mahmoud >>>>>> > 大阪大学情報科学研究科情報システム工学博士1年 竹村研究室配属 >>>>>> > Ph.D. Candidate, Prof Takemura Laboratory, >>>>>> > Information Systems Engineering Department, >>>>>> > Graduate School of Information Sciences and Technology, >>>>>> > Osaka University >>>>>> > >>>>>> > _______________________________________________ >>>>>> > zeromq-dev mailing list >>>>>> > [email protected] >>>>>> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev >>>>>> > >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Best Regards, >>>>>> Sergei Nikulov >>>>>> _______________________________________________ >>>>>> zeromq-dev mailing list >>>>>> [email protected] >>>>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> zeromq-dev mailing list >>>>> [email protected] >>>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >>>>> >>>> _______________________________________________ >>>> zeromq-dev mailing list >>>> [email protected] >>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >>> >>> >>> >>> -- >>> Best Regards, >>> Sergei Nikulov >>> _______________________________________________ >>> zeromq-dev mailing list >>> [email protected] >>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >> _______________________________________________ >> zeromq-dev mailing list >> [email protected] >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > > -- > Best Regards, > Sergei Nikulov > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
