{"action":"opened","issue":{"url":"https://api.github.com/repos/eldar/deepcut/issues/6","repository_url":"https://api.github.com/repos/eldar/deepcut","labels_url":"https://api.github.com/repos/eldar/deepcut/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/eldar/deepcut/issues/6/comments","events_url":"https://api.github.com/repos/eldar/deepcut/issues/6/events","html_url":"https://github.com/eldar/deepcut/issues/6","id":185154611,"number":6,"title":"Unable to compile external/solver","user":{"login":"coert","id":455258,"avatar_url":"https://avatars.githubusercontent.com/u/455258?v=3","gravatar_id":"","url":"https://api.github.com/users/coert","html_url":"https://github.com/coert","followers_url":"https://api.github.com/users/coert/followers","following_url":"https://api.github.com/users/coert/following{/other_user}","gists_url":"https://api.github.com/users/coert/gists{/gist_id}","starred_url":"https://api.github.com/users/coert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coert/subscriptions","organizations_url":"https://api.github.com/users/coert/orgs","repos_url":"https://api.github.com/users/coert/repos","events_url":"https://api.github.com/users/coert/events{/privacy}","received_events_url":"https://api.github.com/users/coert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-25T15:38:46Z","updated_at":"2016-10-25T15:38:46Z","closed_at":null,"body":"After successfully installing Gurobi 6.0.5 I try to make the solver. During linking I get the following:\r\n\r\nCMakeFiles/solver-callback.dir/src/pose/research/solver-callback.cxx.o: In function `void andres::ilp::Gurobi<double>::addConstraint<unsigned long*, double const*>(unsigned long*, unsigned long*, double const*, double, double) [clone .constprop.252]':\r\nsolver-callback.cxx:(.text+0x2fc): undefined reference to `GRBModel::addConstr(GRBLinExpr const&, char, GRBLinExpr const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'\r\nsolver-callback.cxx:(.text+0x363): undefined reference to `GRBModel::addConstr(GRBLinExpr const&, char, GRBLinExpr const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'\r\nCMakeFiles/solver-callback.dir/src/pose/research/solver-callback.cxx.o: In function `andres::ilp::Gurobi<double>::Callback::callback()':\r\nsolver-callback.cxx:(.text._ZN6andres3ilp6GurobiIdE8Callback8callbackEv[_ZN6andres3ilp6GurobiIdE8Callback8callbackEv]+0xbf): undefined reference to `GRBException::getMessage[abi:cxx11]() const'\r\nCMakeFiles/solver-callback.dir/src/pose/research/solver-callback.cxx.o: In function `void andres::ilp::Gurobi<double>::addConstraint<__gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >, __gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator<double> > > >(__gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >, __gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >, __gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator<double> > >, double, double) [clone .constprop.251]':\r\nsolver-callback.cxx:(.text._ZN6andres3ilp6GurobiIdE13addConstraintIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEENS5_IPdS7_IdSaIdEEEEEEvT_SF_T0_dd.constprop.251[_ZN4pose13PoseEstimatorIN6andres3ilp6GurobiIdEE24FeasibleSolutionCallbackE25addAllCouplingConstraintsEv]+0xb2): undefined reference to `GRBModel::addConstr(GRBLinExpr const&, char, GRBLinExpr const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'\r\nCMakeFiles/solver-callback.dir/src/pose/research/solver-callback.cxx.o: In function `void andres::ilp::Gurobi<double>::addConstraint<unsigned long*, double const*>(unsigned long*, unsigned long*, double const*, double, double) [clone .constprop.253]':\r\nsolver-callback.cxx:(.text._ZN6andres3ilp6GurobiIdE13addConstraintIPmPKdEEvT_S7_T0_dd.constprop.253[_ZN4pose13PoseEstimatorIN6andres3ilp6GurobiIdEE24FeasibleSolutionCallbackE36addAllImpossiblePartClassConstraintsEv]+0xb3): undefined reference to `GRBModel::addConstr(GRBLinExpr const&, char, GRBLinExpr const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'\r\nCMakeFiles/solver-callback.dir/src/pose/research/solver-callback.cxx.o: In function `void andres::ilp::Gurobi<double>::addConstraint<unsigned long*, double const*>(unsigned long*, unsigned long*, double const*, double, double)':\r\nsolver-callback.cxx:(.text._ZN6andres3ilp6GurobiIdE13addConstraintIPmPKdEEvT_S7_T0_dd[_ZN6andres3ilp6GurobiIdE13addConstraintIPmPKdEEvT_S7_T0_dd]+0x13c): undefined reference to `GRBModel::addConstr(GRBLinExpr const&, char, GRBLinExpr const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'\r\nsolver-callback.cxx:(.text._ZN6andres3ilp6GurobiIdE13addConstraintIPmPKdEEvT_S7_T0_dd[_ZN6andres3ilp6GurobiIdE13addConstraintIPmPKdEEvT_S7_T0_dd]+0x19f): undefined reference to `GRBModel::addConstr(GRBLinExpr const&, char, GRBLinExpr const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'\r\nsolver-callback.cxx:(.text._ZN6andres3ilp6GurobiIdE13addConstraintIPmPKdEEvT_S7_T0_dd[_ZN6andres3ilp6GurobiIdE13addConstraintIPmPKdEEvT_S7_T0_dd]+0x1f3): undefined reference to `GRBModel::addConstr(GRBLinExpr const&, char, GRBLinExpr const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'\r\nCMakeFiles/solver-callback.dir/src/pose/research/solver-callback.cxx.o:solver-callback.cxx:(.text._ZN6andres3ilp6GurobiIdE13addConstraintIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEENS5_IPKmS9_EEEEvT_SE_T0_dd[_ZN6andres3ilp6GurobiIdE13addConstraintIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEENS5_IPKmS9_EEEEvT_SE_T0_dd]+0x169): more undefined references to `GRBModel::addConstr(GRBLinExpr const&, char, GRBLinExpr const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)' follow\r\nCMakeFiles/solver-callback.dir/src/pose/research/solver-callback.cxx.o: In function `main':\r\nsolver-callback.cxx:(.text.startup+0x5f9): undefined reference to `GRBException::getMessage[abi:cxx11]() const'\r\ncollect2: error: ld returned 1 exit status\r\nCMakeFiles/solver-callback.dir/build.make:102: recipe for target 'solver-callback' failed\r\nmake[3]: *** [solver-callback] Error 1\r\nCMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/solver-callback.dir/all' failed\r\nmake[2]: *** [CMakeFiles/solver-callback.dir/all] Error 2\r\nCMakeFiles/Makefile2:153: recipe for target 'CMakeFiles/solver-callback.dir/rule' failed\r\nmake[1]: *** [CMakeFiles/solver-callback.dir/rule] Error 2\r\nMakefile:155: recipe for target 'solver-callback' failed\r\nmake: *** [solver-callback] Error 2\r\n\r\nGurobi environment set to:\r\nGUROBI_HOME=/opt/gurobi605/linux64\r\nLD_LIBRARY_PATH=/opt/gurobi605/linux64/lib\r\n\r\nWhat am I missing here?"}}
{"actor":{"display_login":"coert"}}