|
From: <em...@po...> - 2017-08-29 07:18:38
|
Hello, I hope someone could help me with a compilation error that I do get while compiling gdcm 2.8.2 on Windows with MSVC 19.10.25019.0. Do I miss some configuration or is it realy a bug in the code? Steps: 1. Downloaded and extracted gdcm-2.8.2.tar.gz 2. prepared the package with the command: cmake.exe -G "NMake Makefiles" 3. executed compile: nmake 4. Compilation stops with following: [ 13%] Building CXX object Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/gdcmCSAHeader.cxx.objgdcmCSAHeader.cxx j:\opt\var\gdcm-2.8.2_vs64\source\datastructureandencodingdefinition\gdcmCSAHeader.h(80): error C2059: syntax error: ''template<'' j:\opt\var\gdcm-2.8.2_vs64\source\datastructureandencodingdefinition\gdcmCSAHeader.h(81): error C2238: unexpected token(s) preceding ';' j:\opt\var\gdcm-2.8.2_vs64\source\datastructureandencodingdefinition\gdcmCSAHeader.h(83): error C2059: syntax error: ''template<' j:\opt\var\gdcm-2.8.2_vs64\source\datastructureandencodingdefinition\gdcmCSAHeader.h(84): error C2238: unexpected token(s) preceding ';' NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1410~1.250\bin\HostX64\x64\cl.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64\nmake.exe"' : return code ' 0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64\nmake.exe"' : return code ' 0x2' Stop. Best Mathias |