[gmx-developers] Gromacs 5 (rc1 tarball) on Windows

Roland Schulz roland at utk.edu
Mon Jun 30 01:21:34 CEST 2014


On Sun, Jun 29, 2014 at 6:46 PM, Mirco Wahab <
mirco.wahab at chemie.tu-freiberg.de> wrote:

> On 29.06.2014 19:22, Roland Schulz wrote:
> > I get:
> > Looking for zlibVersion in
> > C:/Users/r2s2_000/Downloads/gmx-libs/Lib/64/lib/zlib.lib - not found
> >
> > And in CMakeError.log:
> > 1>  cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D
> > CHECK_FUNCTION_EXISTS=zlibVersion /D _DEBUG /D "CMAKE_INTDIR=\"Debug\""
> > /D _MBCS /Gm- /RTC1 /MDd /GS /arch:AVX /fp:precise /Zc:wchar_t
> > /Zc:forScope /Fo"cmTryCompileExec2338503006.dir\Debug\\"
> > /Fd"cmTryCompileExec2338503006.dir\Debug\vc110.pdb" /Gd /TC
> > /errorReport:prompt
> >
> "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"
> > 1>  CheckFunctionExists.c
> >
> > 1>LIBCMT.lib(lseeki64.obj) : error LNK2005: _lseeki64 already defined in
> > MSVCRTD.lib(MSVCR110D.dll)
> >
> > 1>LIBCMT.lib(dosmap.obj) : error LNK2005: _errno already defined in
> > MSVCRTD.lib(MSVCR110D.dll)
> >
> > 1>LIBCMT.lib(crt0dat.obj) : error LNK2005: _amsg_exit already defined in
> > MSVCRTD.lib(MSVCR110D.dll)
> >
> > Do you know whether this is because
> > 1) I'm doing something wrong
> > 2) There is something in the Gromacs CMakeLists.txt wrong
> > or 3) There is something with your zlib.lib wrong?
>
> I'm not really sure. I didn't link zlib, but copied for tesing
> this very version + headers into the library directory used here.
>
> Then, zlib is found and the same "Looking for zlibVersion() in ..."
> "not found" is shown. But all the targets are build, the "error"
> "xyz already defined" show up as a warning only (VS 2012).
>
> Maybe there are some other old libs which use either static or dynamic
> linking into MS default libraries which then contradicts the
> project settings in Gromacs. The other libs (newer versions) I
> use here (fftw3f, libxml2 etc.) don't seem to show problems
> so far.
>
> => http://www.filedropper.com/usrx64lib
>
> These are the libraries I use for gromacs 4.x and 5.x.
>

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
http://spule.compch.tu-freiberg.de/~wahab/gromacs/GMX_build_support_Libs.rar).
Just don't know whether it is because of your zlib or a mistake in Gromacs.

Roland


>
> Regards
>
> M.
>
> --
> Gromacs Developers mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List before
> posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers
> or send a mail to gmx-developers-request at gromacs.org.
>



-- 
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
865-241-1537, ORNL PO BOX 2008 MS6309
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20140629/29af866d/attachment-0001.html>


More information about the gromacs.org_gmx-developers mailing list