[Dip-tickets] [Dip] #94: Error when installing Dip

Dip coin-trac at coin-or.org
Mon Jul 20 19:11:03 EDT 2015


#94: Error when installing Dip
-------------------+-----------------
Reporter:  blove   |    Owner:
    Type:  defect  |   Status:  new
Priority:  major   |  Version:  trunk
Keywords:          |
-------------------+-----------------
 I'm trying to install dip and I get the following error when I run "make".
 I'm attaching a text file with all the output.

 CoinRational.cpp:56:18: error: use of undeclared identifier 'labs'; did
 you mean
       'fabs'?
    numerator_ += labs(intpart) * denominator_;
                  ^~~~
                  fabs
 /usr/include/math.h:431:15: note: 'fabs' declared here
 extern double fabs(double);
               ^
 1 error generated.
 make[3]: *** [CoinRational.lo] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-recursive] Error 1
 make: *** [all-recursive] Error 1

--
Ticket URL: <https://projects.coin-or.org/Dip/ticket/94>
Dip <https://projects.coin-or.org/Dip>
An extensible software framework for implementing decompositon-based bounding algorithms for use in solving large-scale discrete optimization problems.



More information about the Dip-tickets mailing list