undefined reference GRB c++ make
AnsweredHi
I have an issue at this level:
(.text._ZN14fpga_floorplan6gurobiEv[_ZN14fpga_floorplan6gurobiEv]+0x2de2): undefined reference to `GRBModel::write(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
0
-
Official comment
This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
It is possible that you have to re-compile the Gurobi C++ API. We discuss this issue in the Knowledge Base article How do I resolve "undefined reference" errors while linking Gurobi in C++?
If this does not help, could you please post the whole error message you get?
0
Post is closed for comments.
Comments
2 comments