<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>The plan is to remove those GSL dependencies. The question is when it'll actually happen.</div><div><br></div><div>Erik</div><div><br><div><div><div>20 feb 2012 kl. 23.20 skrev Mirco Wahab:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi folks,<br><br>after I managed to build native VS2010/x64 versions of<br>- libxml2/libiconv<br>- fftw3<br>- gsl/cblas<br><br>into dlls, I tried to connect this w/Gromacs into a<br>working executable.<br><br>Thanks to the cmake build system adapted in 4.5.5,<br>this was succesful in the end.<br><br>The following problem was encountered during the build:<br><br>- the few modules that actually use gsl<br> (geminate.c, gmx_hbond.c, gmx_kinetics.c)<br> define "HAVE_LIBGSL" before including the<br> corresponding headers. This is fine, but<br> for the windows build, there should be another<br> defined variable to indicate dll or static<br> gsl linkage *to the gsl headers*, like<br><br> &nbsp;&nbsp;&nbsp;#ifdef HAVE_LIBGSL<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#define GSL_DLL &nbsp;&nbsp;&nbsp;&nbsp;&lt;-------- default (otherwise GSL_STATIC)<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#include &lt;gsl/gsl_multimin.h&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...<br><br> This allows to redefine the function signature during<br> compilation, otherwise symbols won't be found by the<br> executables (g_analyze etc.) if accessed through another<br> library (gmxana).<br><br>- after manually inserting a #define GSL_DLL line into the<br> &nbsp;three modules indicated above, all tools were linking fine.<br><br>Besides, in gmx_kinetics.c resides a function<br><br> &nbsp;&nbsp;&nbsp;&nbsp;static char *itoa(int i)<br><br>which uses the name of the more-or-less popular C library function<br>itoa() (not ANSI, but supported by Visual Studio and invoked by<br>stdlib.h).<br><br>Thanks &amp; Regards<br><br>M.<br><br>-- <br>gmx-developers mailing list<br><a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>http://lists.gromacs.org/mailman/listinfo/gmx-developers<br>Please don't post (un)subscribe requests to the list. Use the www interface or send it to gmx-developers-request@gromacs.org.<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>-----------------------------------------------</div><div>Erik Marklund, PhD</div><div>Dept. of Cell and Molecular Biology, Uppsala University.</div><div>Husargatan 3, Box 596, &nbsp; &nbsp;75124 Uppsala, Sweden</div><div>phone: &nbsp; &nbsp;+46 18 471 6688 &nbsp; &nbsp; &nbsp; &nbsp;fax: +46 18 511 755</div><div><a href="mailto:erikm@xray.bmc.uu.se">erikm@xray.bmc.uu.se</a></div><div><a href="http://www2.icm.uu.se/molbio/elflab/index.html">http://www2.icm.uu.se/molbio/elflab/index.html</a></div></div></span></div></span></span>
</div>
<br></div></div></body></html>