[vtkusers] Homebrew and VTK: missing cmake options for QVTKWidget
Sankhesh Jhaveri
sankhesh.jhaveri at kitware.com
Fri Apr 20 09:18:18 EDT 2018
Hi,
Which tap/bottle do you use?
The tap - robotlocomotion/director
<https://github.com/RobotLocomotion/homebrew-director/blob/e23d3af8cd901dcbf334939118e394b1419dae40/Formula/vtk%408.1.rb>
has those configurable options.
Hope that helps!
Sankhesh
On Thu, Apr 19, 2018 at 8:10 PM BBerco <bebe0705 at colorado.edu> wrote:
> I am working on a piece of software I want to distribute using Homebrew. My
> program features a GUI built around a QVTKWidget.
>
> After a lot of trial and error, I think that the cmake flags I need to set
> up the VTK install to work with the QVTK Widgtet are
> *
> -G "Unix Makefiles" -DVTK_USE_QVTK:BOOL=ON -DVTK_USE_GUISUPPORT:BOOL=ON
> -DVTK_Group_Qt:BOOL=ON -DModule_vtkIOExportOpenGL2:BOOL=ON
> -DVTK_USE_CXX11_FEATURES:BOOL=ON -DVTK_RENDERING_BACKEND:STRING=OpenGL2
> *
> However, the VTK formula currently on tap does not allow these options to
> be
> set. Editing the formula with brew edit is not really an option since each
> end user would have to fix it too.
>
> Is there another way to tell VTK to be built with these flags? If not, is
> is
> possible to add a -with-qvtk option to the formula?
>
>
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> 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:
> https://vtk.org/mailman/listinfo/vtkusers
>
--
Sankhesh Jhaveri *Sr. Research & Development Engineer* | Kitware
<http://www.kitware.com/> | (518) 881-4417
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180420/6db19bdb/attachment.html>
More information about the vtkusers
mailing list