[ADOL-C] Problems installing cygwin

bradbell at seanet.com bradbell at seanet.com
Sun Apr 1 11:45:06 EDT 2012

I installed libtool on the cygwin system in question. Now the error is

  CXX    fminmax.o
fminmax.cpp: In function `int main(int, char**)':
fminmax.cpp:7: error: call of overloaded `fmax(double&, double&)' is
/usr/include/math.h:260: note: candidates are: double fmax(double, double)
../../ADOL-C/adolc/adouble.h:73: note:                 double fmax(const
double&, const double&)
../../ADOL-C/adolc/adouble.h:329: note:                 adub fmax(const
badouble&, const badouble&)
../../ADOL-C/adolc/adouble.h:330: note:                 adub fmax(double,
const badouble&)
../../ADOL-C/adolc/adouble.h:331: note:                 adub fmax(const
badouble&, double)

The system is using
$ gcc --version
gcc (GCC) 4.5.3

> Hi Brad
> I think you are missing the libtool package in your build environment.
> That package defines both these macros. Please check.
> K.K.
> --
> Dr. Kshitij Kulshreshtha
> Sent via Mobile Phone.
> bradbell at seanet.com wrote:
> When I try to install adolc, using the command
> autoreconf -f -i
> which seems to be necessary if one has the autotools installed, I get the
> message
> configure.ac:44: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> configure.ac:45: error: possibly undefined macro: AC_PROG_LIBTOOL
> autoreconf-2.68: /usr/bin/autoconf-2.68 failed with exit status: 1
> This is very similar to the discussion
> http://list.coin-or.org/pipermail/adol-c/2012-March/000806.html
> But the solution "Version 2.3.0 seems to have removed this difficulty."
> does not work for me; i.e., I am using ADOL-C-2.3.0.
> _____________________________________________
> ADOL-C mailing list
> ADOL-C at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/adol-c

More information about the ADOL-C mailing list