[Insight-users] Problem compiling with MinGW
Vishakh Thomas
vishakh.thomas at gmail.com
Mon Mar 28 04:57:26 EST 2005
I downloaded InsightToolkit 1.8.0 and have been trying to compile it using MinGw
On Windows XP (SP2)
I tried running CMAKE setup directly, but it gave errors, so i had to
start CMAKE in MSYS 1.0. it created Unix makefiles for me, after this
I tried running MSYS's make utility
but i get these compilation errors
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Building object file 754.o...
gcc.exe -o 754.o -I../../../insighttoolkit-1.8.1
-I../../../insightto-1.8.1/Code/Algorithms
-I../../../insighttoolkit-1.8.1/Code/BasicFilters
-I/../insighttoolkit-1.8.1/Code/Common
-I../../../insighttoolkit-1.8.1/Code/Ncs
-I../../../insighttoolkit-1.8.1/Code/IO
-I../../../insighttoolkit-1.8.1/Numerics/FEM
-I../../../insighttoolkit-1.8.1/Code/Numerics/Statistics
-I..//insighttoolkit-1.8.1/Code/SpatialObject
-I../../../insighttoolkit-1.8.1/Utes/MetaIO
-I../../../insighttoolkit-1.8.1/Utilities/NrrdIO
-I../../../insiglkit-1.8.1/Utilities/DICOMParser
-I../../../insighttoolkit-1.8.1/Utilities/
-I../../../insighttoolkit-1.8.1/Utilities
-I../../../insighttoolkit-1.8.1/ties/vxl/vcl
-I../../../insighttoolkit-1.8.1/Utilities/vxl/core
-I../../../httoolkit-1.8.1/Utilities/vxl/v3p/netlib
-I../../../insighttoolkit-1.8.1/Utes/zlib
-I../../../insighttoolkit-1.8.1/Utilities/png
-I../../../insighttoo1.8.1/Utilities/jpeg
-I../../../insighttoolkit-1.8.1/Utilities/tiff -DTEELD=1
-DTEEM_ENDIAN=1234 -DTEEM_32BIT=1 -DTEEM_BIGBITFIELD=1
-DTEEM_QNANHIBIDTEEM_DIO=0 -c ./754.c
754.c: In function `airFPGen_d':
754.c:222: invalid suffix on integer constant
754.c:222: warning: left shift count >= width of type
754.c:230: invalid suffix on integer constant
754.c:230: warning: left shift count >= width of type
754.c: In function `airExists_d':
754.c:515: invalid suffix on integer constant
754.c:515: invalid suffix on integer constant
mingw32-make.exe[5]: *** [754.o] Error 1
mingw32-make.exe[5]: Leaving directory
`c:/dev/MKT/Imagecell/InsightToolkit1/Utilities/NrrdIO'
mingw32-make.exe[4]: *** [default_target] Error 2
mingw32-make.exe[4]: Leaving directory
`c:/dev/MKT/Imagecell/InsightToolkit1/Utilities/NrrdIO'
mingw32-make.exe[3]: *** [default_target_NrrdIO] Error 2
mingw32-make.exe[3]: Leaving directory
`c:/dev/MKT/Imagecell/InsightToolkit1/Utilities'
mingw32-make.exe[2]: *** [default_target] Error 2
mingw32-make.exe[2]: Leaving directory
`c:/dev/MKT/Imagecell/InsightToolkit1/Utilities'
mingw32-make.exe[1]: *** [default_target_Utilities] Error 2
mingw32-make.exe[1]: Leaving directory `c:/dev/MKT/Imagecell/InsightToolkit1'
mingw32-make.exe: *** [default_target] Error 2
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Can someone please tell me what I am doing wrong?
I am using MinGW-3.1.0 and MSYS 1.0
--
Vishakh Paul Thomas
More information about the Insight-users
mailing list