[Insight-users] Re: Has anyone successfully compiled ITK3 from CVS with CableSWIG-ITK3, with wrapITK, with python, on OSX?

Dan White dan at chalkie.org.uk
Wed Dec 6 04:16:08 EST 2006


Hi All,

>>  I just tried to compile ITK CVS, with WrapITK on for python, with  
>> gcc compilers on OSX i386
>> compiler flags -O3 -DNDEBUG -fno-common -export
>> (instead of with the intel compilers i have been using,without  
>> success so far)
>> and it failed almost straight away with a very long error  
>> message... something about:
>> [  0%] Building CXX object Utilities/CableSwig/Cable/Generators/ 
>> CMakeFiles/CableGenerators.dir/cableCvTypeWriter.o
>> In file included from /usr/include/c++/4.0.0/ext/new_allocator.h:37,
>>                  from /usr/include/c++/4.0.0/i686-apple-darwin8/ 
>> bits/c++allocator.h:34,
>>                  from /usr/include/c++/4.0.0/bits/allocator.h:52,
>>                  from /usr/include/c++/4.0.0/memory:54,
>>                  from /usr/include/c++/4.0.0/string:47,
>>                  from /Users/dan/Desktop/InsightGCC/Utilities/ 
>> CableSwig/Cable/CxxTypes/cxxUtils.h:38,
>>                  from /Users/dan/Desktop/InsightGCC/Utilities/ 
>> CableSwig/Cable/Parsers/cableUtils.h:21,
>>                  from /Users/dan/Desktop/InsightGCC/Utilities/ 
>> CableSwig/Cable/Parsers/cableSmartPointer.h:20,
>>                  from /Users/dan/Desktop/InsightGCC/Utilities/ 
>> CableSwig/Cable/Parsers/cableObject.h:20,
>>                  from /Users/dan/Desktop/InsightGCC/Utilities/ 
>> CableSwig/Cable/Generators/cableCvTypeWriter.h:20,
>>                  from /Users/dan/Desktop/InsightGCC/Utilities/ 
>> CableSwig/Cable/Generators/cableCvTypeWriter.cxx:17:
>> /Users/dan/Desktop/InsightGCC/Utilities/CableSwig/SWIG/new:10:27:  
>> error: too many decimal points in number
>> In file included from /usr/include/c++/4.0.0/ext/new_allocator.h:37,
>>                  from /usr/include/c++/4.0.0/i686-apple-darwin8/ 
>> bits/c++allocator.h:34,
>>                  from /usr/include/c++/4.0.0/bits/allocator.h:52,
>>                  from /usr/include/c++/4.0.0/memory:54,
>>                  from /usr/include/c++/4.0.0/string:47,
>>                  from /Users/dan/Desktop/InsightGCC/Utilities/ 
>> CableSwig/Cable/CxxTypes/cxxUtils.h:38,
>>                  from /Users/dan/Desktop/InsightGCC/Utilities/ 
>> CableSwig/Cable/Parsers/cableUtils.h:21,
>>                  from /Users/dan/Desktop/InsightGCC/Utilities/ 
>> CableSwig/Cable/Parsers/cableSmartPointer.h:20,
>>                  from /Users/dan/Desktop/InsightGCC/Utilities/ 
>> CableSwig/Cable/Parsers/cableObject.h:20,
>>                  from /Users/dan/Desktop/InsightGCC/Utilities/ 
>> CableSwig/Cable/Generators/cableCvTypeWriter.h:20,
>>                  from /Users/dan/Desktop/InsightGCC/Utilities/ 
>> CableSwig/Cable/Generators/cableCvTypeWriter.cxx:17:
>> /Users/dan/Desktop/InsightGCC/Utilities/CableSwig/SWIG/new:17:  
>> error: missing terminating ' character
>> /Users/dan/Desktop/InsightGCC/Utilities/CableSwig/SWIG/new:23:  
>> error: missing terminating ' character
>> /Users/dan/Desktop/InsightGCC/Utilities/CableSwig/SWIG/new:64:11:  
>> error: too many decimal points in number
>> /Users/dan/Desktop/InsightGCC/Utilities/CableSwig/SWIG/new:110:46:  
>> error: too many decimal points in number
>> /Users/dan/Desktop/InsightGCC/Utilities/CableSwig/SWIG/new:120:53:  
>> error: too many decimal points in number
>> /Users/dan/Desktop/InsightGCC/Utilities/CableSwig/SWIG/new:136:1:  
>> error: too many decimal points in number
>> /Users/dan/Desktop/InsightGCC/Utilities/CableSwig/SWIG/new:148:1:  
>> error: too many decimal points in number
>> /Users/dan/Desktop/InsightGCC/Utilities/CableSwig/SWIG/new:159:72:  
>> error: too many decimal points in number
>> /Users/dan/Desktop/InsightGCC/Utilities/CableSwig/SWIG/new:255:  
>> error: stray '#' in program
>>   and a load more stuff.
>
> Brad, Bill, do you know if cable swig work with intel compiler ?

that would be interesting to know,
but actually the above error is from a gcc build on intel OSX,
and fails at the very start of cableswig.
Intel compilers got further (but perhaps didnt start with cableswig)

cheers

Dan



Dr. Daniel James White BSc. (Hons.) PhD
Bioimaging Coordinator
Nanoscience Centre and Department of Biological and Environmental  
Sciences
Division of Molecular Recognition
Ambiotica C242
PO Box 35
University of Jyväskylä
Jyväskylä
FIN 40014
Finland

+358 14 260 4183 (work)
+358 468102840 (mobile)
http://www.bioimagexd.org
http://www.chalkie.org.uk
dan at chalkie.org.uk
white at cc.jyu.fi





More information about the Insight-users mailing list