coin-or / Couenne

Convex Over and Under Envelopes for Nonlinear Estimation
Eclipse Public License 1.0
72 stars 8 forks source link

error building Couenne on MacOs 10.9.1 #27

Closed svigerske closed 5 years ago

svigerske commented 5 years ago

Issue created by migration from Trac.

Original creator: BenjaminPeters

Original creation time: 2014-02-05 12:47:06

Assignee: @merraksh

Version:

Hello, i am trying to build Couenne. I downloaded the Third Party Packages ASL, Blas, Lapack, Metis, Mumps, SCIP and SoPlex. When run make, I get the following error :

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:644:97: error: invalid operands to binary expression ('const LAP::reducedCost' and 'const LAP::reducedCost') _LIBCPP_INLINE_VISIBILITY bool operator()(const _T1& __x, const _T1& y) const {return x < __y;}

Thanks for your help. Benjamin Peters

svigerske commented 5 years ago

Comment by @tkelman created at 2014-02-05 23:48:30

I can reproduce this with Couenne trunk c8a3747ab1. The error itself is occuring in Cgl. The root cause appears to be out-of-date SVN externals for several of Couenne's dependencies. Doing

cd Cgl
svn switch https://projects.coin-or.org/svn/Cgl/releases/0.58.6/Cgl
cd ../CoinUtils
svn switch https://projects.coin-or.org/svn/CoinUtils/releases/2.9.11/CoinUtils
cd ../Clp
svn switch https://projects.coin-or.org/svn/Clp/releases/1.15.6/Clp
cd ../Cbc
svn switch https://projects.coin-or.org/svn/Cbc/releases/2.8.9/Cbc
cd ..

gives a successful compilation for me.

svigerske commented 5 years ago

Comment by @merraksh created at 2014-02-07 01:04:59

Thanks Tony. I have changed the externals, please check if there are other compilation problems.

svigerske commented 5 years ago

Comment by @merraksh created at 2014-11-01 19:15:26

Given the silence I'll assume the updated externals have solved the problem and close this ticket.

svigerske commented 5 years ago

Comment by @merraksh created at 2014-11-01 19:15:26

Resolution: fixed