[vtkusers] Build error, VTK 6.2, Mac OS X 10.10.4, GCC 4.9

Bosler, Peter Andrew pabosle at sandia.gov
Tue Jul 7 13:09:31 EDT 2015


Good morning,

I am trying to build VTK 6.2 on a Mac running Yosemite with the GCC 4.9 compilers and OpenMPI 1.8.6, and I get the error below regarding what appears to be a system file.   I had no problems building VTK before upgrading to Yosemite from Mavericks - has anyone else run into this problem?

Thanks for your time,

Pete Bosler

[ 15%] Building C object ThirdParty/freetype/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/base/ftbase.c.o
In file included from /usr/include/dispatch/dispatch.h:51:0,
                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15,
                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13,
                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:55,
                 from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19,
                 from /Users/pabosle/sourceCodes/VTK-6.2.0/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:100,
                 from /Users/pabosle/sourceCodes/VTK-6.2.0/ThirdParty/freetype/vtkfreetype/src/base/ftbase.c:38:
/usr/include/dispatch/object.h:143:15: error: expected identifier or '(' before '^' token
 typedef void (^dispatch_block_t)(void);
               ^
/usr/include/dispatch/object.h:362:3: error: unknown type name 'dispatch_block_t'
   dispatch_block_t notification_block);
   ^
make[2]: *** [ThirdParty/freetype/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/base/ftbase.c.o] Error 1
make[1]: *** [ThirdParty/freetype/vtkfreetype/CMakeFiles/vtkfreetype.dir/all] Error 2
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150707/6ddb47fe/attachment.html>


More information about the vtkusers mailing list