[Paraview] Fail to build 3.8.0 on Windows764bit MSVC2008

Dr. X xunlei at renci.org
Tue Jun 8 09:10:16 EDT 2010


Hi All,
I have trouble building 3.8.0 from source on Win7 64bit + MSVC2010. Here 
are a couple of the errors to report.

Error    27    error C2668: 'pow' : ambiguous call to overloaded 
function    
D:\ParaView\Applications\AdaptiveParaView\Plugin\vtkACosmoReader.cxx    178
Error    33    error C2057: expected constant expression   
  D:\ParaView\Applications\AdaptiveParaView\Plugin\vtkACosmoReader.cxx   
  428
Error    11    error C3861: 'mkdir': identifier not found    
D:\ParaView\Applications\AdaptiveParaView\ppRawStridedReader2.cxx    113
Error    18    error LNK2005: "void __cdecl terminate(void)" 
(?terminate@@YAXXZ) already defined in MSVCRTD.lib(MSVCR100D.dll)    
C:\ParaViewGIT\Utilities\Xdmf2\libsrc\LIBCMT.lib(hooks.obj)    Xdmf
Error    28    error LNK2005: __CppXcptFilter already defined in 
MSVCRTD.lib(MSVCR100D.dll)    
C:\ParaViewGIT\Utilities\Xdmf2\libsrc\LIBCMT.lib(winxfltr.obj)    Xdmf
Error    30    error LNK2005: __doserrno already defined in 
MSVCRTD.lib(MSVCR100D.dll)    
C:\ParaViewGIT\Utilities\Xdmf2\libsrc\LIBCMT.lib(dosmap.obj)    Xdmf

I added "libcmt" to the ignored default library list to project Xdmf and 
resolved the last 3 errors. But still it will be great for the dev. team 
to fix in the CMake configuration step. Would you please suggest some 
steps I should take? Thanks a lot.

Best,
x


More information about the ParaView mailing list