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

Bill Lorensen bill.lorensen at gmail.com
Tue Jul 7 13:52:55 EDT 2015


Looks like a know issue with Yosemite:
https://github.com/hashdist/hashstack/issues/742


On Tue, Jul 7, 2015 at 1:09 PM, Bosler, Peter Andrew <pabosle at sandia.gov> wrote:
> 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
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list