Я пытаюсь скомпилировать и собрать старый проект (VTK V5.10.1).Я сделал cmake
и получил проект в visual studio 2017. При попытке ALL_BUILD
решения я получаю 190 ошибок!некоторые из них:
Severity Code Description Project File Line Suppression State
Error C2375 'lfind': redefinition; different linkage vtktiff C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\ucrt\corecrt_search.h 185
и
Severity Code Description Project File Line Suppression State
Error C1189 #error: Macro definition of snprintf conflicts with Standard Library function declaration vtklibxml2 C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\ucrt\stdio.h 1927
и
Severity Code Description Project File Line Suppression State
Error C2678 binary '<<': no operator found which takes a left-hand operand of type 'std::ostream' (or there is no acceptable conversion) vtkCommon C:\Users\VraNegar\Desktop\vtk-v5.10.1\Common\vtkOStreamWrapper.cxx 60
и
Severity Code Description Project File Line Suppression State
Error C2678 binary '==': no operator found which takes a left-hand operand of type 'std::basic_istream<char,std::char_traits<char>>' (or there is no acceptable conversion) vtkIO C:\Users\VraNegar\Desktop\vtk-v5.10.1\IO\vtkEnSightGoldBinaryReader.cxx 4008
Есть ли проблемы, препятствующиекомпилировать старый проект в Windows 10 и Visual Studio 2017?