[ADOL-C] AdolC 2.5 OSX

Mu Wang wangmu0701 at gmail.com
Mon May 19 14:50:59 EDT 2014


Hi, I've encountered a same problem when I was trying to build
ADO-C+ColPack on Mac OSX.
The gcc/g++ which comes from xcode is fairly old.
So after installing latest gcc/g++ from gnu source code. I have the same
error message.
It seems that error due to the libraries are complies by different settings.

(In my case, it's the compilers, because I have two compilers co-exists.
After cleaning the libraries and compile them using gcc 4.8.2, it works for
me)



On Sun, May 18, 2014 at 11:29 AM, Dominique Orban <dominique.orban at gmail.com
> wrote:

> Thank you for the update. Adol-C 2.5 builds fine with gcc. With clang and
> C++11 mode, I'm getting Colpack errors:
>
> Undefined symbols for architecture x86_64:
>   "ColPack::GraphColoringInterface::GenerateSeedHessian(double***, int*,
> int*, std::__1::basic_string<char, std::__1::char_traits<char>,
> std::__1::allocator<char> >, std::__1::basic_string<char,
> std::__1::char_traits<char>, std::__1::allocator<char> >)", referenced from:
>       _sparse_hess in libsparse.a(sparsedrivers.o)
>
> I suppose it might be because Colpack itself wasn't build in C++11 mode,
> but unfortunately, that does not build.
>
> So is sparse mode not supported with clang?
>
> This is a problem because if Colpack is installed, configure auto-detects
> it and builds against it. Passing --without-colpack or --disable-sparse
> doesn't change that behavior.
>
> Thanks.
>
> Dominique
>
> _______________________________________________
> ADOL-C mailing list
> ADOL-C at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/adol-c
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/adol-c/attachments/20140519/c273b3b1/attachment.html>


More information about the ADOL-C mailing list