Changes

Jump to navigation Jump to search
248 bytes added ,  09:55, 3 January 2012
→‎Supporting library: cygwin cmake define WIN32
Line 47: Line 47:  
  cmake -G "MinGW Makefile" -DGDCM_BUILD_SHARED_LIBS=ON ..\gdcm-2-0
 
  cmake -G "MinGW Makefile" -DGDCM_BUILD_SHARED_LIBS=ON ..\gdcm-2-0
 
  mingw32-make all
 
  mingw32-make all
 +
 +
On Cygwin gdcm 2.0.18 (and maybe some other versions) may have a problem with newer cmake. This kludge persuades cmake to define WIN32.
 +
 +
cmake -DGDCM_BUILD_SHARED_LIBS=ON -DCMAKE_CXX_COMPILER=g++.exe -DCMAKE_LEGACY_CYGWIN_WIN32=1 ../gdcm-2.0.18/
    
==Features==
 
==Features==
14

edits

Navigation menu