Skip to content
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

Error binding zmq4 for windows 8.1 #46

Closed
435420057 opened this issue Apr 29, 2015 · 5 comments
Closed

Error binding zmq4 for windows 8.1 #46

435420057 opened this issue Apr 29, 2015 · 5 comments

Comments

@435420057
Copy link

C:\>go get github.com/pebbe/zmq4
# github.com/pebbe/zmq4
C:/Program Files/mingw-w64/x86_64-4.9.2-posix-seh-rt_v4-rev2/mingw64/bin/../lib/
gcc/x86_64-w64-mingw32/4.9.2/../../../../lib/zmq.lib: error adding symbols: File in wrong format
collect2.exe: error: ld returned 1 exit status

ZMQ4.0.4 LIB
libzmq-v110-mt-4_0_4.lib OR libzmq-v120-mt-4_0_4.lib
Compilation failed
@pebbe
Copy link
Owner

pebbe commented Apr 29, 2015

It says right there: File in wrong format
Reinstall ZeroMQ

@pebbe
Copy link
Owner

pebbe commented Apr 29, 2015

Perhaps you need to install ZeroMQ from source, instead of doing a binary install.

@435420057
Copy link
Author

mv libzmq-v120-mt-4_0_4.dll zmq.lib

@wangxingge
Copy link

does this error resolved?
I met the same error and I copy each version lib file to my "C:\TDM-GCC-64\x86_64-w64-mingw32\lib" still error.

@wangxingge
Copy link

Thanks 435420057.
Passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants