-
Notifications
You must be signed in to change notification settings - Fork 197
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
Linking with libzmqpp fails on windows / mingw-w64. #192
Comments
What's missing is the ZMQPP_EXPORT attribute, eg:
should probably be
https://github.com/zeromq/zmqpp/blob/develop/src/zmqpp/proxy.hpp#L27 Since it affects you, could you please test it and send a PR if this works for you? Thanks! |
all classes use that macro, not sure what's happening with your IDE, I'm not a windows expert sorry, maybe someone else can help |
The IDE only shows that So I'll send a PR, thanks for your support! |
Fixed by #193 |
I am trying to create a proxy object in my code:
That linking error message appears:
undefined reference to 'zmqpp::proxy::proxy(zmqpp::socket&, zmqpp::socket&)'
If I change the proxy class definition as following:
and rebuild zmpqq, my binary gets linked well.
I am using the latest sources of libzmq and zmpqq pulled from git on msys2 with mingw-w64, cmake 3.8 and gcc 6.3.0.
The text was updated successfully, but these errors were encountered: