<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jun 29, 2014 at 6:46 PM, Mirco Wahab <span dir="ltr">&lt;<a href="mailto:mirco.wahab@chemie.tu-freiberg.de" target="_blank">mirco.wahab@chemie.tu-freiberg.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="">On 29.06.2014 19:22, Roland Schulz wrote:<br>


&gt; I get:<br>
&gt; Looking for zlibVersion in<br>
&gt; C:/Users/r2s2_000/Downloads/gmx-libs/Lib/64/lib/zlib.lib - not found<br>
&gt;<br>
&gt; And in CMakeError.log:<br>
&gt; 1&gt;  cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D<br>
&gt; CHECK_FUNCTION_EXISTS=zlibVersion /D _DEBUG /D &quot;CMAKE_INTDIR=\&quot;Debug\&quot;&quot;<br>
&gt; /D _MBCS /Gm- /RTC1 /MDd /GS /arch:AVX /fp:precise /Zc:wchar_t<br>
&gt; /Zc:forScope /Fo&quot;cmTryCompileExec2338503006.dir\Debug\\&quot;<br>
&gt; /Fd&quot;cmTryCompileExec2338503006.dir\Debug\vc110.pdb&quot; /Gd /TC<br>
&gt; /errorReport:prompt<br>
&gt; &quot;C:\Users\r2s2_000\Downloads\cmake-2.8.12.2-win32-x86\cmake-2.8.12.2-win32-x86\share\cmake-2.8\Modules\CheckFunctionExists.c&quot;<br>
&gt; 1&gt;  CheckFunctionExists.c<br>
&gt;<br>
&gt; 1&gt;LIBCMT.lib(lseeki64.obj) : error LNK2005: _lseeki64 already defined in<br>
&gt; MSVCRTD.lib(MSVCR110D.dll)<br>
&gt;<br>
&gt; 1&gt;LIBCMT.lib(dosmap.obj) : error LNK2005: _errno already defined in<br>
&gt; MSVCRTD.lib(MSVCR110D.dll)<br>
&gt;<br>
&gt; 1&gt;LIBCMT.lib(crt0dat.obj) : error LNK2005: _amsg_exit already defined in<br>
&gt; MSVCRTD.lib(MSVCR110D.dll)<br>
&gt;<br>
&gt; Do you know whether this is because<br>
&gt; 1) I&#39;m doing something wrong<br>
&gt; 2) There is something in the Gromacs CMakeLists.txt wrong<br>
&gt; or 3) There is something with your zlib.lib wrong?<br>
<br>
</div>I&#39;m not really sure. I didn&#39;t link zlib, but copied for tesing<br>
this very version + headers into the library directory used here.<br>
<br>
Then, zlib is found and the same &quot;Looking for zlibVersion() in ...&quot;<br>
&quot;not found&quot; is shown. But all the targets are build, the &quot;error&quot;<br>
&quot;xyz already defined&quot; show up as a warning only (VS 2012).<br>
<br>
Maybe there are some other old libs which use either static or dynamic<br>
linking into MS default libraries which then contradicts the<br>
project settings in Gromacs. The other libs (newer versions) I<br>
use here (fftw3f, libxml2 etc.) don&#39;t seem to show problems<br>
so far.<br>
<br>
=&gt; <a href="http://www.filedropper.com/usrx64lib" target="_blank">http://www.filedropper.com/usrx64lib</a><br>
<br>
These are the libraries I use for gromacs 4.x and 5.x.<br></blockquote><div><br></div><div>zlib is only used by TNG. Thus reading/writing TNG files compressed with zlib won&#39;t work on Windows with your zlib (I used the one from you from <a href="http://spule.compch.tu-freiberg.de/~wahab/gromacs/GMX_build_support_Libs.rar">http://spule.compch.tu-freiberg.de/~wahab/gromacs/GMX_build_support_Libs.rar</a>). Just don&#39;t know whether it is because of your zlib or a mistake in Gromacs.</div>

<div><br></div><div>Roland</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class=""><div class="h5"><br>
Regards<br>
<br>
M.<br>
<br>
--<br>
Gromacs Developers mailing list<br>
<br>
* Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List</a> before posting!<br>
<br>
* Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
<br>
* For (un)subscribe requests visit<br>
<a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers</a> or send a mail to <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>


</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov">cmb.ornl.gov</a><br>865-241-1537, ORNL PO BOX 2008 MS6309
</div></div>