MantisBT - ITK | |||||||||||||||||
View Issue Details | |||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||
0007315 | ITK | public | 2008-07-09 11:04 | 2010-10-21 12:32 | |||||||||||||
Reporter | Hans Johnson | ||||||||||||||||
Assigned To | Bradley Lowekamp | ||||||||||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||
Platform | OS | OS Version | |||||||||||||||
Product Version | |||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||
Resolution Date | |||||||||||||||||
Sprint | |||||||||||||||||
Sprint Status | |||||||||||||||||
Summary | 0007315: XCode 3.0 builds of ITK fail in vnl_matlab_header.h | ||||||||||||||||
Description | > error: variable or field 'type' declared void Line Location > vnl_matlab_header:16 | ||||||||||||||||
Steps To Reproduce | |||||||||||||||||
Additional Information | Arnaud, I just ran into this same problem on Monday. I am also using xcode 3.0 on MacOSX 10.5.4, CMAKE 2.6, and verified that the problem occurs on both PPC and Intel boxes. I've not found how to fix this issue, but a dirty hack is to edit vnl_matlab_header.h: Index: core/vnl/vnl_matlab_header.h =================================================================== RCS file: /cvsroot/Insight/Insight/Utilities/vxl/core/vnl/vnl_matlab_header.h,v retrieving revision 1.2 diff -r1.2 vnl_matlab_header.h 16,20c16,20 < vxl_int_32 type; // sum of one byte order, one storage specifier and one precision specifier < vxl_int_32 rows; < vxl_int_32 cols; < vxl_int_32 imag; < vxl_int_32 namlen; --- > int type; // sum of one byte order, one storage specifier and one precision specifier > int rows; > int cols; > int imag; > int namlen; This seems to allow compilation to finish (I've not yet had a chance to verify that correct results are given). I'm not going to have time to look into fixing this. Will you please submit this as a bug so that it is not forgotten about? Hans -- Hans J. Johnson, Ph.D. Hans-johnson@uiowa.edu 278 GH The University of Iowa Iowa City, IA 52241 (319) 353 8587 > From: Arnaud Gelas <arnaud_gelas@hms.harvard.edu> > Date: Wed, 9 Jul 2008 10:54:42 -0400 > To: ITK <insight-developers@itk.org> > Subject: [Insight-developers] compilation errors with xcode 3.0 on Mac OS X > 10.5.4 > > Hi guys, > > I have been trying to compile itk with xcode 3.0 on Mac OS X 10.5.4, > and I got the following errors: > > error: variable or field 'type' declared void Line Location > vnl_matlab_header:16 > error: variable or field 'type' declared void Line Location > vnl_matlab_header:16 > error: variable or field 'rows' declared void Line Location > vnl_matlab_header:17 > error: variable or field 'rows' declared void Line Location > vnl_matlab_header:17 > error: variable or field 'cols' declared void Line Location > vnl_matlab_header:18 > error: variable or field 'cols' declared void Line Location > vnl_matlab_header:18 > error: variable or field 'imag' declared void Line Location > vnl_matlab_header:19 > error: variable or field 'imag' declared void Line Location > vnl_matlab_header:19 > error: variable or field 'namlen' declared void Line Location > vnl_matlab_header:20 > error: variable or field 'namlen' declared void Line Location > vnl_matlab_header:20 > > I guess some errors occur during the configuration of > vxl_config.h.in ... > I'd like to know if I made a mistake in the parameters with cmake (is > it a known issue?)? Is it a bug? > > Thanks for your help, > Regards, > > Arnaud > _______________________________________________ > Insight-developers mailing list > Insight-developers@itk.org > http://www.itk.org/mailman/listinfo/insight-developers [^] | ||||||||||||||||
Tags | No tags attached. | ||||||||||||||||
Relationships |
| ||||||||||||||||
Attached Files | |||||||||||||||||
Issue History | |||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||
2008-07-09 11:04 | Hans Johnson | New Issue | |||||||||||||||
2008-07-14 17:28 | Brad King | Relationship added | related to 0007316 | ||||||||||||||
2008-07-14 17:47 | Brad King | Relationship added | related to 0004022 | ||||||||||||||
2008-07-15 16:26 | Bradley Lowekamp | Description Updated | |||||||||||||||
2008-07-23 08:43 | Bradley Lowekamp | Status | new => assigned | ||||||||||||||
2008-07-23 08:43 | Bradley Lowekamp | Assigned To | => Bradley Lowekamp | ||||||||||||||
2008-07-23 08:52 | Bradley Lowekamp | Note Added: 0012809 | |||||||||||||||
2008-07-23 08:53 | Bradley Lowekamp | Status | assigned => resolved | ||||||||||||||
2008-07-23 08:53 | Bradley Lowekamp | Resolution | open => fixed | ||||||||||||||
2010-10-21 12:32 | Gabe Hart | Status | resolved => closed |
Notes | |||||
|
|||||
|
|