[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
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,
[ 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,
/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'
make: *** [ThirdParty/freetype/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/base/ftbase.c.o] Error 1
make: *** [ThirdParty/freetype/vtkfreetype/CMakeFiles/vtkfreetype.dir/all] Error 2
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers