Hello,<br> I finally managed to get ADOL-C working nicely with ColPack under Linux and I need to port it in Windows, using MinGw (32 bit).<br><br>I am able to compile ADOL-C alone creating the src symlink and getting rid of the libtool version mismatch, however I still have the problem of linking it with ColPack.<br>

<br>I can configure (--prefix=/usr), make and make install ColPack.<br>Then I can configure (--prefix=/usr --with-colpack=/usr) ADOL-C.<br>However when I make ADOL-C I have the following error:<br><br><span style="font-family:courier new,monospace">-----------------------------------------------------------------------------</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">Configuration:</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  C compiler:                       gcc</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">  C++ compiler:                     g++</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  Linker:                           c:/mingw/mingw32/bin/ld.exe</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">  Source code location:             /c/tests/ADOL-C-2.3.0</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  Install path:                     /usr</span><br style="font-family:courier new,monospace">

<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  CFLAGS:                           -O2</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  CXXFLAGS:                         -O2</span><br style="font-family:courier new,monospace">

<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  Use ADOL-C debug mode:            no</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  Use ADOL-C hard debug mode:       no</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">  Use ADOL-C adouble zeroing mode:  no</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  Use ADOL-C safe extern mode:      no</span><br style="font-family:courier new,monospace">

<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  Build sparse drivers:             yes</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  Build with ColPack:               yes</span><br style="font-family:courier new,monospace">

<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  Build documented examples:        no</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  Build additional examples:        no</span><br style="font-family:courier new,monospace">

<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  See ADOL-C/src/config.h for further configuration information.</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">-----------------------------------------------------------------------------</span><br style="font-family:courier new,monospace">

<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Antonello Lobianco@antonello-virtu /c/tests/ADOL-C-2.3.0</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">$ make</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">Making all in ADOL-C</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">make[1]: Entering directory `/c/tests/ADOL-C-2.3.0/ADOL-C&#39;</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">[...]</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  CC     int_reverse_s.lo</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">  CC     int_reverse_t.lo</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  CXXLD  <a href="http://libadolc.la">libadolc.la</a></span><br style="font-family:courier new,monospace">

<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">*** Warning: This system can not link to static lib archive /usr/lib/libColPack.</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">la.</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">*** I have the capability to make that library automatically link in when</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">*** you link to this library.  But I can only do this if you have a</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">*** shared version of the library, which you do not appear to have.</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">Creating library file: .libs/libadolc.dll.a</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">sparse/.libs/libsparse.a(sparsedrivers.o): In function `generate_seed_jac&#39;:</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">c:\tests\ADOL-C-2.3.0\ADOL-C\src\sparse/sparsedrivers.cpp:119: undefined referen</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">ce to `ColPack::BipartiteGraphPartialColoringInterface::BipartiteGraphPartialCol</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">oringInterface(int, ...)&#39;</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">c:\tests\ADOL-C-2.3.0\ADOL-C\src\sparse/sparsedrivers.cpp:126: undefined referen</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">ce to `ColPack::BipartiteGraphPartialColoringInterface::GenerateSeedJacobian_unm</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">anaged(double***, int*, int*, std::string, std::string)&#39;</span><br>

<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">[...]</span><br><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">collect2: ld returned 1 exit status</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">make[5]: *** [<a href="http://libadolc.la">libadolc.la</a>] Error 1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">make[5]: Leaving directory `/c/tests/ADOL-C-2.3.0/ADOL-C/src&#39;</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">make[4]: *** [all-recursive] Error 1</span><br><br>Any hint? Anyone has been able to compile ADOL-C with ColPack in Windows using mingw ?<br><br>Thanks,<br>  Antonello<br><br>

-- <br>Antonello Lobianco<br>INRA, Laboratoire d&#39;Economie Forestière<br>14 Rue Girardet - 54000 Nancy, France<br>Tel: +33.652392310<br>Email: <a href="mailto:antonello.lobianco@nancy-engref.inra.fr" target="_blank">antonello.lobianco@nancy-engref.inra.fr</a><br>

<a href="http://antonello.lobianco.org/" target="_blank">http://antonello.lobianco.org</a><br>