[Insight-users] ITK Tcl-wrapping build errors on MSVC6

Matthias Guenther Matthias.Guenther@AdvancedMRI.com
Wed, 30 Apr 2003 09:40:58 -0700


Hi Sven,

I had the same problem. What helped was to make sure that no blanks
appear in the path name. You can use the old DOS style (C:\Documents and
Settings\... is C:\Docume~1\...).

Maybe, that helps,
   Matthias

> Hi,
> 
> Can anybody help me with that? I built ITK without Tcl wrapping, no problem. Then I install Cable and gcc_xml on cygwin gcc 3.0.4 and re-run CMake for
> ITK with Tcl wrapping. Building this time gives an error:
> 
>  
> 
> --------------------Configuration: ITKNumericsTcl - Win32 Debug--------------------
> 
> Building Custom Rule "C:\Documents and Settings\SPrevrhal.RORG\My
> Documents\src\InsightToolkit-1.2.0\Wrapping\Tcl\Numerics\wrap_ITKOptimizers.cxx"
> 
> gccxml_cc1plus: Too many filenames. Type gccxml_cc1plus --help for usage info
> 
> gccxml_cc1plus: Too many filenames. Type gccxml_cc1plus --help for usage info
> 
> gccxml_cc1plus: Too many filenames. Type gccxml_cc1plus --help for usage info
> 
> gccxml_cc1plus: Documents/src/InsightToolkit-1.2.0/Wrapping/Tcl/Numerics/wrap_ITKOptimizers.cxx: No such file or directory
> 
> Errors detected in input file (your bison.simple is out of date)
> 
> Error opening GCC-XML output file: "wrap_ITKOptimizers.cxx.xml"
> 
> Error executing c:\windows\system32\cmd.exe.
> 
>  
> 
> wrap_ITKOptimizers_tcl.cxx - 1 error(s), 0 warning(s)
> 
>  
> 
> I checked in MSVC and this is the custom build command for wrap_ITKOptimizers.cxx : 
> 
>  
> 
> "C:\Program Files\Cable\bin\$(IntDir)\cable.exe" "C:/Documents and Settings/SPrevrhal.RORG/My
> Documents/src/InsightToolkit-1.2.0/Wrapping/Tcl/Numerics/wrap_ITKOptimizers.cxx" -tcl wrap_ITKOptimizers_tcl.cxx --gccxml-compiler msvc6
> --gccxml-cxxflags "  /W3 /Zm1000 /GX /GR  -DNOMINMAX" --gccxml C:/PROGRA~1/GCC_XML/gccxml.exe -I "C:/Documents and
> Settings/SPrevrhal.RORG/My Documents/src/InsightToolkit-1.2.0/Wrapping/Tcl/Numerics" -I "C:/Program Files/Insight1.2.0/Code/Numerics/vxl" -I
> "C:/Documents and Settings/SPrevrhal.RORG/My Documents/src/InsightToolkit-1.2.0/Code/Numerics/vxl" -I "C:/Program
> Files/Insight1.2.0/Code/Numerics/vxl/vcl" -I "C:/Documents and Settings/SPrevrhal.RORG/My Documents/src/InsightToolkit-1.2.0/Code/Numerics/vxl/vcl" -I
> "C:/Program Files/Insight1.2.0" -I "C:/Program Files/Insight1.2.0/Utilities/zlib" -I "C:/Program Files/Insight1.2.0/Utilities/png" -I "C:/Documents and
> Settings/SPrevrhal.RORG/My Documents/src/InsightToolkit-1.2.0/Code/Algorithms" -I "C:/Documents and Settings/SPrevrhal.RORG/My Doc
> 
> uments/src/InsightToolkit-1.2.0/Code/BasicFilters" -I "C:/Documents and Settings/SPrevrhal.RORG/My Documents/src/InsightToolkit-1.2.0/Code/Common"
> -I "C:/Documents and Settings/SPrevrhal.RORG/My Documents/src/InsightToolkit-1.2.0/Code/Numerics" -I "C:/Documents and
> Settings/SPrevrhal.RORG/My Documents/src/InsightToolkit-1.2.0/Code/IO" -I "C:/Documents and Settings/SPrevrhal.RORG/My
> Documents/src/InsightToolkit-1.2.0/Code/Numerics/FEM" -I "C:/Documents and Settings/SPrevrhal.RORG/My
> Documents/src/InsightToolkit-1.2.0/Code/Numerics/Statistics" -I "C:/Documents and Settings/SPrevrhal.RORG/My
> Documents/src/InsightToolkit-1.2.0/Code/SpatialObject" -I "C:/Documents and Settings/SPrevrhal.RORG/My
> Documents/src/InsightToolkit-1.2.0/Utilities/MetaIO" -I "C:/Documents and Settings/SPrevrhal.RORG/My
> Documents/src/InsightToolkit-1.2.0/Utilities/MetaIO/SpatialObject" -I "C:/Documents and Settings/SPrevrhal.RORG/My
> Documents/src/InsightToolkit-1.2.0/Utilities/DICOMParser" -I "C:/Documents and Settings/SPrevrhal.RORG/My Documents/src
> 
> /InsightToolkit-1.2.0/Utilities/zlib" -I "C:/Documents and Settings/SPrevrhal.RORG/My Documents/src/InsightToolkit-1.2.0/Utilities/png" -IC:/Tcl/include
> "-IU:/My Documents/downloads/Cable" -I "C:/Documents and Settings/SPrevrhal.RORG/My Documents/src/InsightToolkit-1.2.0/Code/Numerics/vxl/vcl/doc"
> -I "C:/Documents and Settings/SPrevrhal.RORG/My Documents/src/InsightToolkit-1.2.0/Code/Numerics/vxl/vnl" -I "C:/Documents and
> Settings/SPrevrhal.RORG/My Documents/src/InsightToolkit-1.2.0/Wrapping/Tcl" -I "C:/Documents and Settings/SPrevrhal.RORG/My
> Documents/src/InsightToolkit-1.2.0/Wrapping/Tcl/Numerics"
> 
>  
> 
>  
> 
> Thanks for comments!
> 
>  
> 
> sven
> 
> --
> 
> May all beings live in peace.
> 
>  
> 
>  
> 
>