I'm having a small (?) build problem with freesurfer.  My configure line merely 
points to the dependencies package and the--disable-Werror flag, but I get the 
following error.  Grepping through the source I cannot find where the structure 
is defined.


gcc -DHAVE_CONFIG_H -I. -I..  -I../include -pthread  -DHAVE_OPENGL -g -O3 
-msse2 -mfpmath=sse -Wall  -DUSE_SSE_MATHFUN -m64 -DLinux -DANSI 
-fdata-sections -ffunction-sections -Wl,--gc-sections 
-I../dependencies/centos6-x86_64-packages/mni/current/include   -MT oglutil.o 
-MD -MP -MF .deps/oglutil.Tpo -c -o oglutil.o oglutil.c
In file included from ../include/transform.h:84:0,
                 from ../include/mrisurf.h:209,
                 from oglutil.c:43:
../include/mri.h:210:3: error: unknown type name 'General_transform'
   General_transform transform ;   /* the next two are from this struct */
   ^
../include/mri.h:211:3: error: unknown type name 'Transform'
   Transform         *linear_transform ;
   ^
../include/mri.h:212:3: error: unknown type name 'Transform'
   Transform         *inverse_linear_transform ;
   ^
../include/mri.h:386:35: error: unknown type name 'General_transform'
 int   MRIsetTransform(MRI *mri,   General_transform *transform) ;
                                   ^
In file included from ../include/mrisurf.h:1793:0,
                 from oglutil.c:43:
../include/label.h:54:3: error: unknown type name 'General_transform'
   General_transform transform ;   /* the next two are from this struct */
   ^
../include/label.h:55:3: error: unknown type name 'Transform'
   Transform         *linear_transform ;
   ^
../include/label.h:56:3: error: unknown type name 'Transform'
   Transform         *inverse_linear_transform ;
   ^
In file included from ../include/transform.h:84:0,
                 from ../include/mrisurf.h:209,
                 from oglutil.c:43:
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to