-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows support #56
Windows support #56
Conversation
Wow - that's great! Thanks for doing this. Could you also provide instructions on what Windows users would have to do to get this going on their machines? |
Sure, no problem. Do you want to distribute a compiled mexw64 in git, like you do for mexa64? I can add that to the repository. In that case, all they will have to do is add libzmq.dll to their path and they would be good to go (unless I figure out how to statically link, and then they won't have to do anything) |
Yes - that would be helpful. And an explanation on how users might go about On Thu, Mar 27, 2014 at 3:58 PM, Ali Ebrahim notifications@github.comwrote:
|
Pymatbridge can be successfully used on Windows. messenger.c now can be compiled into a mex with visual studio
Explain how to edit environment variable on windows.
I added the updated install instructions and the 64 bit windows binary. I don't have 32 bit MATLAB to build the 32 bit binary. |
Command line options were checking for sys.platform being "Windows", not "win32"
any comment on how you built the messenger under Win 64 bit? I'm having trouble using the precompiled version .. see comment 5 in #67. I can also open a new issue .. ? |
I used mcc (the matlab compiler) and the libzmq development libraries. Maybe the version of libzmq.dll does not match the version it was compiled On Wed, May 14, 2014 at 7:25 AM, bs448c notifications@github.com wrote:
|
Thanks for your reply! I tried both ZMQ 4.0.4 as well as 3.2.4 but did not have any luck. The libzmq.dll worked with pymatbridge-0.2 .. I did not attempt to create the mexw64 myself yet. |
Windows, huh? I have no idea about that platform, and am hoping that you On Wed, May 14, 2014 at 9:17 AM, Ali Ebrahim notifications@github.comwrote:
|
Version 0.2 had a very different communication protocol, that did not On Wed, May 14, 2014 at 9:22 AM, bs448c notifications@github.com wrote:
|
I see! Unfortunately I have no choice of OS. The ZMQ 3.2.4 I was using before was prebuilt anyways. I have in the meanwhile built ZMQ 3.2.4 from source myself using mingw32 and following these pieces of advise (as upon building during the automatically performed test runs, I was running into the (I did not manage to build in Visual C++ 2010 following the advise of how "To build on Windows" on http://zeromq.org/area:download) .. it was complaining about an "old solution" when opening the solution in From my MinGW build with the modified I reckon I will have to settle for pymatbrigde-0.2 and only exchange real valued arrays for now ... I would still appreciate detailed build instructions for the messenger |
I won't have time to look into this issue for a few weeks, but I'm not even
After I patched the source and got everything working (which was kind of Just checking... you are running 64 bit matlab and zmq right? If you're stuck with Windows and end up being unable to build this, can you On Wed, May 14, 2014 at 11:07 AM, bs448c notifications@github.com wrote:
|
I have managed to successfully build the messenger now. Here's the steps I went through:
|
I created a new issue #69 to make the building steps more visible |
1. Increment the version to be 0.3 2. In the setup, copy all versions of the messenger.
Pymatbridge can be successfully used on Windows.
messenger.c now can be compiled into a mex with visual studio