PoseTrack-CVPR2017
PoseTrack-CVPR2017 copied to clipboard
questions about installations instruction
In step 2,build liblinear,when i input "$ CC=gcc CXX=g++ MATLABDIR=PATH_TO_MATLAB make",there is a fatal error:"linear_model_matlab.c:5:17: fatal error: mex.h: No such file or directory"; In step 3,build posetrack solver,when i input “$ make pt-solver-callback”,and there is error:"make: *** No rule to make target 'pt-solver-callback'. Stop." what should i do?thanks for solutions.
have you provided the "PATH_TO_MATLAB"? it seems that matlab is not installed or the compiler is not able to find "mex.h" in which directory are you performing step-3?
really thanks for your reply.the step 2 i have solved,but in step 3,when i run “$ make pt-solver-callback”in /PoseTrack-CVPR2017/posetrack/solver,there exits
CMakeFiles/pt-solver-callback.dir/src/pose-track/research/pt-solver-callback.cxx.o: In function main': pt-solver-callback.cxx:(.text+0x167b): undefined reference to GRBException::getMessageabi:cxx11 const'
CMakeFiles/pt-solver-callback.dir/src/pose-track/research/pt-solver-callback.cxx.o: In function void andres::ilp::Gurobi<double>::addConstraint<unsigned long const*, double const*>(unsigned long const*, unsigned long const*, double const*, double, double)': pt-solver-callback.cxx:(.text._ZN6andres3ilp6GurobiIdE13addConstraintIPKmPKdEEvT_S8_T0_dd[_ZN6andres3ilp6GurobiIdE13addConstraintIPKmPKdEEvT_S8_T0_dd]+0x197): undefined reference to GRBModel::addConstr(GRBLinExpr const&, char, GRBLinExpr const&, std::__cxx11::basic_string<char, std::char_traitsGRBModel::addConstr(GRBLinExpr const&, char, GRBLinExpr const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)' pt-solver-callback.cxx:(.text._ZN6andres3ilp6GurobiIdE13addConstraintIPKmPKdEEvT_S8_T0_dd[_ZN6andres3ilp6GurobiIdE13addConstraintIPKmPKdEEvT_S8_T0_dd]+0x348): undefined reference to GRBModel::addConstr(GRBLinExpr const&, char, GRBLinExpr const&, std::__cxx11::basic_string<char, std::char_traitsvoid andres::ilp::Gurobi<double>::addConstraint<unsigned long*, double const*>(unsigned long*, unsigned long*, double const*, double, double)': pt-solver-callback.cxx:(.text._ZN6andres3ilp6GurobiIdE13addConstraintIPmPKdEEvT_S7_T0_dd[_ZN6andres3ilp6GurobiIdE13addConstraintIPmPKdEEvT_S7_T0_dd]+0x197): undefined reference to GRBModel::addConstr(GRBLinExpr const&, char, GRBLinExpr const&, std::__cxx11::basic_string<char, std::char_traitsGRBModel::addConstr(GRBLinExpr const&, char, GRBLinExpr const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)' CMakeFiles/pt-solver-callback.dir/src/pose-track/research/pt-solver-callback.cxx.o:pt-solver-callback.cxx:(.text._ZN6andres3ilp6GurobiIdE13addConstraintIPmPKdEEvT_S7_T0_dd[_ZN6andres3ilp6GurobiIdE13addConstraintIPmPKdEEvT_S7_T0_dd]+0x348): more undefined references to GRBModel::addConstr(GRBLinExpr const&, char, GRBLinExpr const&, std::__cxx11::basic_string<char, std::char_traitsandres::ilp::Gurobi<double>::Callback::callback()': pt-solver-callback.cxx:(.text._ZN6andres3ilp6GurobiIdE8Callback8callbackEv[_ZN6andres3ilp6GurobiIdE8Callback8callbackEv]+0x12a): undefined reference to GRBException::getMessageabi:cxx11 const'
collect2: error: ld returned 1 exit status
CMakeFiles/pt-solver-callback.dir/build.make:102: recipe for target 'pt-solver-callback' failed
make[3]: *** [pt-solver-callback] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/pt-solver-callback.dir/all' failed
make[2]: *** [CMakeFiles/pt-solver-callback.dir/all] Error 2
CMakeFiles/Makefile2:79: recipe for target 'CMakeFiles/pt-solver-callback.dir/rule' failed
make[1]: *** [CMakeFiles/pt-solver-callback.dir/rule] Error 2
Makefile:129: recipe for target 'pt-solver-callback' failed
make: *** [pt-solver-callback] Error 2
what should i do?thanks for advices again.
check this
https://github.com/eldar/deepcut/issues/6