[zeromq-dev] zeromq on windows patch
Martin Sustrik
sustrik at fastmq.com
Wed Dec 10 12:48:48 CET 2008
Hi Michael,
Thanks for feedback!
> A unified diff follows that corrects two problems building on Windows:
> 1. A developer's user path had been hardcoded; this has changed to a
> relative path.
Yuck. I thought we've got rid of all of those :(
It's fixed and commited to both trunk and 0.4 branch.
> 2. The Python extension could only be built in Debug mode, and with
> Python debug libraries; the relevant Python include directories have
> been added to the release build as well, and only the Python binary
> distribution is required to build in release mode.
>
> The issue mentioned in (1) also occurs in the Jzmq .project file, but
> I do not need the Java extension and am not positive about how to fix
> it.
Some fixes are done. However, hardcoding paths this way
- AdditionalIncludeDirectories="../../libzmq"
+ AdditionalIncludeDirectories="../../libzmq;C:\Python26\include"
is no way to go. To set up the directories open the MSVC GUI and go to
Tools/Options/Projects and Solutions/VC++ Directories and fill the paths
in there.
> I would also like to suggest that svn:ignore properties be added to
> prevent the many build artifacts from showing up in svn. This isn't
> done in the non-Windows path either, so maybe it is not as much of an
> issue for other developers - but it's a nice feature of subversion.
This is pretty hard to achieve given that intermediary files may vary
between platforms, compilers etc.
Regards
Martin
More information about the zeromq-dev
mailing list