<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"><<a href="mailto:mirco.wahab@chemie.tu-freiberg.de" target="_blank">mirco.wahab@chemie.tu-freiberg.de</a>></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>
> I get:<br>
> Looking for zlibVersion in<br>
> C:/Users/r2s2_000/Downloads/gmx-libs/Lib/64/lib/zlib.lib - not found<br>
><br>
> And in CMakeError.log:<br>
> 1> cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D<br>
> CHECK_FUNCTION_EXISTS=zlibVersion /D _DEBUG /D "CMAKE_INTDIR=\"Debug\""<br>
> /D _MBCS /Gm- /RTC1 /MDd /GS /arch:AVX /fp:precise /Zc:wchar_t<br>
> /Zc:forScope /Fo"cmTryCompileExec2338503006.dir\Debug\\"<br>
> /Fd"cmTryCompileExec2338503006.dir\Debug\vc110.pdb" /Gd /TC<br>
> /errorReport:prompt<br>
> "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"<br>
> 1> CheckFunctionExists.c<br>
><br>
> 1>LIBCMT.lib(lseeki64.obj) : error LNK2005: _lseeki64 already defined in<br>
> MSVCRTD.lib(MSVCR110D.dll)<br>
><br>
> 1>LIBCMT.lib(dosmap.obj) : error LNK2005: _errno already defined in<br>
> MSVCRTD.lib(MSVCR110D.dll)<br>
><br>
> 1>LIBCMT.lib(crt0dat.obj) : error LNK2005: _amsg_exit already defined in<br>
> MSVCRTD.lib(MSVCR110D.dll)<br>
><br>
> Do you know whether this is because<br>
> 1) I'm doing something wrong<br>
> 2) There is something in the Gromacs CMakeLists.txt wrong<br>
> or 3) There is something with your zlib.lib wrong?<br>
<br>
</div>I'm not really sure. I didn'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 "Looking for zlibVersion() in ..."<br>
"not found" is shown. But all the targets are build, the "error"<br>
"xyz already defined" 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't seem to show problems<br>
so far.<br>
<br>
=> <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'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'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'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>