{"action":"created","issue":{"url":"https://api.github.com/repos/HBPVIS/ZeroEQ/issues/194","repository_url":"https://api.github.com/repos/HBPVIS/ZeroEQ","labels_url":"https://api.github.com/repos/HBPVIS/ZeroEQ/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/HBPVIS/ZeroEQ/issues/194/comments","events_url":"https://api.github.com/repos/HBPVIS/ZeroEQ/issues/194/events","html_url":"https://github.com/HBPVIS/ZeroEQ/issues/194","id":199881384,"number":194,"title":"Ubuntu 16.04 compile error","user":{"login":"ingowald","id":1841589,"avatar_url":"https://avatars.githubusercontent.com/u/1841589?v=3","gravatar_id":"","url":"https://api.github.com/users/ingowald","html_url":"https://github.com/ingowald","followers_url":"https://api.github.com/users/ingowald/followers","following_url":"https://api.github.com/users/ingowald/following{/other_user}","gists_url":"https://api.github.com/users/ingowald/gists{/gist_id}","starred_url":"https://api.github.com/users/ingowald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingowald/subscriptions","organizations_url":"https://api.github.com/users/ingowald/orgs","repos_url":"https://api.github.com/users/ingowald/repos","events_url":"https://api.github.com/users/ingowald/events{/privacy}","received_events_url":"https://api.github.com/users/ingowald/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-10T17:18:12Z","updated_at":"2017-01-10T19:51:15Z","closed_at":"2017-01-10T19:51:15Z","body":"Hey, \r\nJust checked out ZeroEQ (required as a dependency for @favreau 's Brayns package), and get the following compile error(s) (using latest libzmq-dev package, installed right now just for this project):\r\n(System Ubuntu 16.04, up to date with latest updates)\r\n\r\n[ 44%] Building CXX object zeroeq/CMakeFiles/ZeroEQ.dir/connection/broker.cpp.o\r\nIn file included from /home/wald/Projects/ZeroEQ/zeroeq/connection/broker.cpp:9:0:\r\n/home/wald/Projects/ZeroEQ/zeroeq/detail/sender.h: In constructor ‘zeroeq::detail::Sender::Sender(const zeroeq::URI&, void*, int)’:\r\n/home/wald/Projects/ZeroEQ/zeroeq/detail/sender.h:43:33: error: ‘ZMQ_SNDHWM’ was not declared in this scope\r\n         zmq_setsockopt( socket, ZMQ_SNDHWM, &hwm, sizeof( hwm ));\r\n                                 ^\r\n/home/wald/Projects/ZeroEQ/zeroeq/detail/sender.h: In destructor ‘zeroeq::detail::Sender::~Sender()’:\r\n/home/wald/Projects/ZeroEQ/zeroeq/detail/sender.h:51:39: error: ‘zmq_ctx_destroy’ was not declared in this scope\r\n             zmq_ctx_destroy( _context );\r\n                                       ^\r\n/home/wald/Projects/ZeroEQ/zeroeq/detail/sender.h: In member function ‘void zeroeq::detail::Sender::_getEndPoint(std::__cxx11::string&, std::__cxx11::string&) const’:\r\n/home/wald/Projects/ZeroEQ/zeroeq/detail/sender.h:100:37: error: ‘ZMQ_LAST_ENDPOINT’ was not declared in this scope\r\n         if( zmq_getsockopt( socket, ZMQ_LAST_ENDPOINT, &buffer, &size ) == -1 )\r\n                                     ^\r\n/home/wald/Projects/ZeroEQ/zeroeq/detail/sender.h: In member function ‘void* zeroeq::detail::Sender::_createContext(void*)’:\r\n/home/wald/Projects/ZeroEQ/zeroeq/detail/sender.h:125:32: error: ‘zmq_ctx_new’ was not declared in this scope\r\n         _context = zmq_ctx_new();\r\n                                ^\r\n/home/wald/Projects/ZeroEQ/zeroeq/connection/broker.cpp: In member function ‘void zeroeq::connection::detail::Broker::process(zeroeq::detail::Socket&)’:\r\n/home/wald/Projects/ZeroEQ/zeroeq/connection/broker.cpp:67:47: error: ‘zmq_msg_recv’ was not declared in this scope\r\n         zmq_msg_recv( &msg, socket_.socket, 0 );\r\n                                               ^\r\ncompilation terminated due to -fmax-errors=5.\r\nzeroeq/CMakeFiles/ZeroEQ.dir/build.make:86: recipe for target 'zeroeq/CMakeFiles/ZeroEQ.dir/connection/broker.cpp.o' failed\r\nmake[2]: *** [zeroeq/CMakeFiles/ZeroEQ.dir/connection/broker.cpp.o] Error 1\r\nCMakeFiles/Makefile2:2530: recipe for target 'zeroeq/CMakeFiles/ZeroEQ.dir/all' failed\r\nmake[1]: *** [zeroeq/CMakeFiles/ZeroEQ.dir/all] Error 2\r\nMakefile:160: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n"},"comment":{"url":"https://api.github.com/repos/HBPVIS/ZeroEQ/issues/comments/271679152","html_url":"https://github.com/HBPVIS/ZeroEQ/issues/194#issuecomment-271679152","issue_url":"https://api.github.com/repos/HBPVIS/ZeroEQ/issues/194","id":271679152,"user":{"login":"ingowald","id":1841589,"avatar_url":"https://avatars.githubusercontent.com/u/1841589?v=3","gravatar_id":"","url":"https://api.github.com/users/ingowald","html_url":"https://github.com/ingowald","followers_url":"https://api.github.com/users/ingowald/followers","following_url":"https://api.github.com/users/ingowald/following{/other_user}","gists_url":"https://api.github.com/users/ingowald/gists{/gist_id}","starred_url":"https://api.github.com/users/ingowald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingowald/subscriptions","organizations_url":"https://api.github.com/users/ingowald/orgs","repos_url":"https://api.github.com/users/ingowald/repos","events_url":"https://api.github.com/users/ingowald/events{/privacy}","received_events_url":"https://api.github.com/users/ingowald/received_events","type":"User","site_admin":false},"created_at":"2017-01-10T19:51:15Z","updated_at":"2017-01-10T19:51:15Z","body":"Thx, that works! (though it's 'sudo apt install' - 'sudo apt-get' gives an error ;-).\r\n\r\nWould be nice to have a check in the cmakefile, though - it's very confusing that ubuntu _does_ find a 'libzmq-dev' package (naturally the first thing I tried when it complained about missing zmq library), but that this is not the right version...\r\n\r\nAnyway - working now!"}}
{"actor":{"display_login":"ingowald"}}