[Dip] Issues with compiling Dip on OS X with Gurobi

Nelson Uhan nelson.uhan at gmail.com
Sat Nov 21 13:48:29 EST 2015


Hello everyone,

I haven’t been able to successfully compile Dip 0.92.2 on OS X 10.11.1 (El
Capitan) with the Gurobi interface. I’m using Gurobi 6.5.0.

I’m using the following options with configure:

./configure --with-gurobi-incdir=/Library/gurobi650/mac64/include/ --with-gu
robi-lib="-L/Library/gurobi650/mac64/lib/ -lgurobi65 -lm -lpthread"
--prefix=/usr/local/D
ip-0.92.2-grb

When I run make, I get the following error:

Undefined symbols for architecture x86_64:
  "_GRBaddconstr", referenced from:
      OsiGrbSolverInterface::addRow(CoinPackedVectorBase const&, char,
double, double) in libOsiGrb.1.12.6.dylib-master.o
      OsiGrbSolverInterface::applyRowCut(OsiRowCut const&) in
libOsiGrb.1.12.6.dylib-master.o
  "_GRBaddconstrs", referenced from:
      OsiGrbSolverInterface::addRows(int, CoinPackedVectorBase const*
const*, double const*, double const*) in libOsiGrb.1.12.6.dylib-master.o

<this goes on for a while...>

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [libOsiGrb.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Do you have any guidance on how to fix this?

Thanks!
Nelson

--
Nelson A. Uhan
Assistant Professor
Mathematics Department
United States Naval Academy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/dip/attachments/20151121/676af717/attachment.html>


More information about the Dip mailing list