[ADOL-C] Problem building ADOLC with Colpack under Cygwin

Antonello Lobianco antonello at lobianco.org
Sun Nov 4 11:06:10 EST 2012


Hello, I had the same problem with MinGW.
Have a look here:
http://stackoverflow.com/questions/12163406/mingw32-compliation-issue-when-static-linking-is-required-adol-c-links-colpack

You can follow the workaround described there or you can use the old
configure files of adol-c 2.2.1, as these are able to compile Colpack in
Windows.


2012/11/4 Brad Bell <bradbell at seanet.com>

>
> Cygwin version: CYGWIN_NT-6.1-WOW64
> Adolc version:    ADOL-C-2.3.0
> Colpack version: ColPack-1.0.9
>
> Colpack is being configured and installed with shared libraries enabled,
> but I am getting the message:
>
> *** Warning: This system can not link to static lib archive
> /home/bradbell/prefix/colpack/**lib/libColPack.la.
> *** I have the capability to make that library automatically link in when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> Creating library file: .libs/libadolc.dll.a
> sparse/.libs/libsparse.a(**sparsedrivers.o): In function
> `generate_seed_jac':
> /home/bradbell/install/ADOL-C-**2.3.0/ADOL-C/src/sparse/**sparsedrivers.cpp:119:
> undefined reference to `ColPack::**BipartiteGraphPartialColoringI**
> nterface::**BipartiteGraphPartialColoringI**nterface(int, ...)'
> /home/bradbell/install/ADOL-C-**2.3.0/ADOL-C/src/sparse/**sparsedrivers.cpp:126:
> undefined reference to `ColPack::**BipartiteGraphPartialColoringI**
> nterface::**GenerateSeedJacobian_**unmanaged(double***, int*, int*,
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
> .
> .
> .
>
>
> ______________________________**_________________
> ADOL-C mailing list
> ADOL-C at list.coin-or.org
> http://list.coin-or.org/**mailman/listinfo/adol-c<http://list.coin-or.org/mailman/listinfo/adol-c>
>



-- 
Antonello Lobianco
INRA, Laboratoire d'Economie Forestière
14 Rue Girardet - 54000 Nancy, France
Tel: +33.652392310
Email: antonello.lobianco at nancy-engref.inra.fr
http://antonello.lobianco.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/adol-c/attachments/20121104/f0bc53f1/attachment.html>


More information about the ADOL-C mailing list