-
Notifications
You must be signed in to change notification settings - Fork 164
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
Install zmq4 Go Windows #180
Comments
Hi Const, I do also try to build for windows too. Did you have any progress about that? @const97 |
@berkantay it's not working!! Your problem is solved or not? |
@ThakkarChandresh It has been a year since I solved the issue. Therefore solution from a year ago MAY NOT be working today. Could you give more details about your issue so that maybe I can help? |
@berkantay Thanks for replying First, when I imported the "github.com/pebbe/zmq4" library i was facing the issue
Then I've changed the CGO_ENABLED env to 1 Then I'm facing the issue
As it says there is no gcc, so I've installed the Mingw64 bit gcc compiler, then it gave the error
Then i tried your way, (Note: I've uninstalled mingw64 bit gcc as it's not working) Then set the env variables according to the readme file, again it was giving the same error So I've reset the CGO_ENABLED env to 0 And now again I'm getting the error
Can you please help me i need it anyhow!! |
@ThakkarChandresh Could you send the environment variables you set? |
@berkantay My Current environment variables And also set the PATH in System Variables to point the
|
@ThakkarChandresh There are several issues here;
|
now with CGO_ENABLED=1 facing the same error
|
|
|
If those are the correct paths as it mentioned above then yes. |
How is the result? |
I've two questions
|
Your gcc version may be 32 bit |
How to check that gcc is 32 bit or 64 bit, and if it's the case then any reference or guide to install 64 bit gcc? |
@berkantay Do you have a solution for this error? I installed Visual Studio Community edition, rebooted it, then ran the install command again for zeromq and this is what I received: |
This is how i managed to do this: https://stackoverflow.com/a/70910659 |
I would like to use zmq4 (https://github.com/pebbe/zmq4) in Go Programming Language on a Windows system. This need to have ZeroMQ (libzmq) installed (https://zeromq.org/download/ or https://github.com/zeromq/libzmq). Unfortunately, I can not find a way to install libzmq on Windows. Can anyone help me?
The text was updated successfully, but these errors were encountered: