I'm quite new to or-tools, I wanted to try building the C++ version from source in order to use CPLEX as third party solver.
I'm using Ubuntu 18.04, gcc version 6.5.0 20181026 (Ubuntu 6.5.0-2ubuntu1~18.04)
Also I downloaded or-tools 6.10
After make third_party I modified Makefile.local adding UNIX_CPLEX_DIR = /opt/ibm/ILOG/CPLEX_Studio126/
When I do make cc I get errors like these;
./ortools/linear_solver/cplex_interface.cc: In static member function ‘static void operations_research::CplexInterface::MakeRhs(double, double, double&, char&, double&)’:
./ortools/linear_solver/cplex_interface.cc:382:26: error: call of overloaded ‘abs(double&)’ is ambiguous
(std::abs(ub) == CPX_INFBOUND && std::abs(lb) > CPX_INFBOUND)) {