[gmx-developers] Gromacs 5 (rc1 tarball) on Windows
Mirco Wahab
mirco.wahab at chemie.tu-freiberg.de
Mon Jun 30 00:47:02 CEST 2014
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.
Regards
M.
More information about the gromacs.org_gmx-developers
mailing list