<div class="gmail_quote">Hi,<div><br></div><div>I am running Windows XP and trying to build vtk from the release and I get the error copied below. Please let me know what needs to be done to solve this.</div><div><br></div>
<div>Thanks</div><div><br>
</div><div>Evan</div><div><br></div><div><br></div><div><div>1>------ Build started: Project: vtkIO, Configuration: Release x64 ------</div><div>1>Linking...</div><div>1>LIBCMT.lib(crt0dat.obj) : error LNK2005: _amsg_exit already defined in MSVCRT.lib(MSVCR90.dll)</div>
<div>1>LIBCMT.lib(crt0dat.obj) : error LNK2005: _initterm_e already defined in MSVCRT.lib(MSVCR90.dll)</div><div>1>LIBCMT.lib(crt0dat.obj) : error LNK2005: exit already defined in MSVCRT.lib(MSVCR90.dll)</div><div>
1>LIBCMT.lib(crtheap.obj) : error LNK2005: _malloc_crt already defined in MSVCRT.lib(MSVCR90.dll)</div>
<div>1>LIBCMT.lib(invarg.obj) : error LNK2005: _set_invalid_parameter_handler already defined in MSVCRT.lib(MSVCR90.dll)</div><div>1>LIBCMT.lib(invarg.obj) : error LNK2005: _invalid_parameter_noinfo already defined in MSVCRT.lib(MSVCR90.dll)</div>
<div>1>LIBCMT.lib(osfinfo.obj) : error LNK2005: _open_osfhandle already defined in MSVCRT.lib(MSVCR90.dll)</div><div>1>LIBCMT.lib(_file.obj) : error LNK2005: __iob_func already defined in MSVCRT.lib(MSVCR90.dll)</div>
<div>1>LIBCMT.lib(crt0init.obj) : error LNK2005: __xi_a already defined in MSVCRT.lib(cinitexe.obj)</div><div>1>LIBCMT.lib(crt0init.obj) : error LNK2005: __xi_z already defined in MSVCRT.lib(cinitexe.obj)</div><div>
1>LIBCMT.lib(crt0init.obj) : error LNK2005: __xc_a already defined in MSVCRT.lib(cinitexe.obj)</div><div>1>LIBCMT.lib(crt0init.obj) : error LNK2005: __xc_z already defined in MSVCRT.lib(cinitexe.obj)</div><div>1>LIBCMT.lib(hooks.obj) : error LNK2005: "void __cdecl terminate(void)" (?terminate@@YAXXZ) already defined in MSVCRT.lib(MSVCR90.dll)</div>
<div>1>LIBCMT.lib(winxfltr.obj) : error LNK2005: __CppXcptFilter already defined in MSVCRT.lib(MSVCR90.dll)</div><div>1>LIBCMT.lib(winsig.obj) : error LNK2005: signal already defined in MSVCRT.lib(MSVCR90.dll)</div>
<div>1>LIBCMT.lib(tidtable.obj) : error LNK2005: _encode_pointer already defined in MSVCRT.lib(MSVCR90.dll)</div><div>1>LIBCMT.lib(tidtable.obj) : error LNK2005: _encoded_null already defined in MSVCRT.lib(MSVCR90.dll)</div>
<div>1>LIBCMT.lib(tidtable.obj) : error LNK2005: _decode_pointer already defined in MSVCRT.lib(MSVCR90.dll)</div><div>1>LIBCMT.lib(mlock.obj) : error LNK2005: _unlock already defined in MSVCRT.lib(MSVCR90.dll)</div>
<div>1>LIBCMT.lib(mlock.obj) : error LNK2005: _lock already defined in MSVCRT.lib(MSVCR90.dll)</div><div>1>LIBCMT.lib(fflush.obj) : error LNK2005: fflush already defined in MSVCRT.lib(MSVCR90.dll)</div><div>1>LIBCMT.lib(dosmap.obj) : error LNK2005: _errno already defined in MSVCRT.lib(MSVCR90.dll)</div>
<div>1>LIBCMT.lib(dosmap.obj) : error LNK2005: __doserrno already defined in MSVCRT.lib(MSVCR90.dll)</div><div>1>LIBCMT.lib(dosmap.obj) : error LNK2005: _dosmaperr already defined in MSVCRT.lib(MSVCR90.dll)</div><div>
1>LIBCMT.lib(strftime.obj) : error LNK2005: strftime already defined in MSVCRT.lib(MSVCR90.dll)</div><div>1>LIBCMT.lib(tzset.obj) : error LNK2005: _tzset already defined in MSVCRT.lib(MSVCR90.dll)</div><div>1>LIBCMT.lib(stricmp.obj) : error LNK2005: _stricmp already defined in MSVCRT.lib(MSVCR90.dll)</div>
<div>1>LIBCMT.lib(atox.obj) : error LNK2005: atoi already defined in MSVCRT.lib(MSVCR90.dll)</div><div>1>LIBCMT.lib(tolower.obj) : error LNK2005: tolower already defined in MSVCRT.lib(MSVCR90.dll)</div><div>1>LIBCMT.lib(getenv.obj) : error LNK2005: getenv already defined in MSVCRT.lib(MSVCR90.dll)</div>
<div>1>LIBCMT.lib(strtol.obj) : error LNK2005: strtol already defined in MSVCRT.lib(MSVCR90.dll)</div><div>1>LIBCMT.lib(strtol.obj) : error LNK2005: strtoul already defined in MSVCRT.lib(MSVCR90.dll)</div><div>1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: _strdup already defined in LIBCMT.lib(strdup.obj)</div>
<div>1> Creating library C:\DEVEL\SHARED\vtk\bin\Release\vtkIO.lib and object C:\DEVEL\SHARED\vtk\bin\Release\vtkIO.exp</div><div>1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library</div>
<div>1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library</div><div>1>LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol main referenced in function __tmainCRTStartup</div>
<div>1>C:\DEVEL\SHARED\vtk\bin\Release\vtkIO.dll : fatal error LNK1120: 1 unresolved externals</div><div>1>Build log was saved at "file://c:\DEVEL\SHARED\vtk\IO\vtkIO.dir\Release\BuildLog.htm"</div><br>-- <br>
Evan Schwab<div>Research Associate</div><div>Megason Lab</div><div>Department of Systems Biology</div><div>Harvard Medical School</div><div>200 Longwood Ave</div><div>Boston, MA 02115</div><div>908-938-3779</div><br>
</div>
</div><br><br clear="all"><br>-- <br>Evan Schwab<div>Research Associate</div><div>Megason Lab</div><div>Department of Systems Biology</div><div>Harvard Medical School</div><div>200 Longwood Ave</div><div>Boston, MA 02115</div>
<div>908-938-3779</div><br>