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

Compilation problem #1

Closed
imelekhov opened this issue Jun 7, 2018 · 2 comments
Closed

Compilation problem #1

imelekhov opened this issue Jun 7, 2018 · 2 comments

Comments

@imelekhov
Copy link

Hi,
There is an issue in the compilation process. To be more specific, the problem is in line 38 of imagerepresentation.cpp file. The interface function connect expects to have const char* as an input but string variable is provided. So, changing the original version to socket.connect(par.port.c_str()); should fix the problem.

@ducha-aiki
Copy link
Owner

Hi,
That`s weird - works for me. Probably different version of some lib. Could you please tell me the version, so I can test?

@imelekhov
Copy link
Author

I see! It is related to libzmq library which is quite old on my machine (v 4.0.4). In this particular version, there is only one interface function inline void connect(const char *addr) handling a char array and not a string.

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

2 participants