[Insight-users] ITK 3.20.1 MinGW64 Win7 compile error

Yanling Liu vrnova at gmail.com
Sat Dec 10 21:30:21 EST 2011


MinGW 64 (mingw-w64-bin_i686-mingw_20111210.zip)
ITK 3.20.1
CMake 2.8.6
Windows 7 64bit

[ 95%] [ 95%] Building CXX object
Code/Review/CMakeFiles/ITKIOReview.dir/itkBruker2DSEQImageIO.obj
Building CXX object Code/IO/CMakeFiles/itkTestDriver.dir/itkTestDriver.obj
In file included from
C:\Users\liuy5\Imaging\Libraries\MinGW64\ITK\InsightToolkit-3.20.1\src\Code\IO\itkTestDriver.cxx:4
7:0:
C:/Users/liuy5/Imaging/Libraries/MinGW64/ITK/InsightToolkit-3.20.1/build/Utilities/itksys/SharedForward.h:
In function '
void kwsys_shared_forward_execvp(const char*, const char* const*)':
C:/Users/liuy5/Imaging/Libraries/MinGW64/ITK/InsightToolkit-3.20.1/build/Utilities/itksys/SharedForward.h:516:19:
error:
 invalid conversion from 'const char* const*' to 'char* const*'
[-fpermissive]
In file included from
C:/Users/liuy5/Imaging/Libraries/MinGW64/ITK/InsightToolkit-3.20.1/build/Utilities/itksys/SharedFo
rward.h:158:0,
                 from
C:\Users\liuy5\Imaging\Libraries\MinGW64\ITK\InsightToolkit-3.20.1\src\Code\IO\itkTestDriver.cxx:4
7:
c:\mingw\mingw64_20111210\bin\../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/include/process.h:167:1
5: error:   initializing argument 2 of 'int execvp(const char*, char*
const*)' [-fpermissive]
[ 95%] Building CXX object
Code/Review/CMakeFiles/ITKIOReview.dir/itkBruker2DSEQImageIOFactory.obj
Code\IO\CMakeFiles\itkTestDriver.dir\build.make:54: recipe for target
`Code/IO/CMakeFiles/itkTestDriver.dir/itkTestDrive
r.obj' failed
make[2]: *** [Code/IO/CMakeFiles/itkTestDriver.dir/itkTestDriver.obj] Error
1
CMakeFiles\Makefile2:1987: recipe for target
`Code/IO/CMakeFiles/itkTestDriver.dir/all' failed
make[1]: *** [Code/IO/CMakeFiles/itkTestDriver.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20111210/7a4c2dc5/attachment.htm>


More information about the Insight-users mailing list