[vtkusers] vcpkg

Róbert Špir spir.robert at gmail.com
Wed Jan 11 02:18:55 EST 2017

Today I will try to modify the portfile to add qt5 dependency and build vtk with qt support and then after testing I will make a pull request.





From: Francois Budin [mailto:francois.budin at kitware.com] 
Sent: Wednesday, January 11, 2017 12:15 AM
To: Dženan Zukić <dzenanz at gmail.com>
Cc: Róbert Špir <spir.robert at gmail.com>; vtkusers <vtkusers at vtk.org>
Subject: Re: [vtkusers] vcpkg


Since Qt is available through this system, I agree with Dzenan: It makes sense to make these depend on each other.


On Tue, Jan 10, 2017 at 6:10 PM, Dženan Zukić <dzenanz at gmail.com <mailto:dzenanz at gmail.com> > wrote:

I have always built VTK with Qt support, and ITK with VTK-glue. Perhaps we could make those libraries dependencies: ITK depends on VTK, and VTK depends on Qt?


Róbert, do you intend to make a PR for your additions to vcpkg?





On Tue, Jan 10, 2017 at 5:49 PM, Róbert Špir <spir.robert at gmail.com <mailto:spir.robert at gmail.com> > wrote:

I made a simple portfile [1] for VTK to vcpkg and it seems that it works. At least I was able to build and run the sphere VTK example.

Only problem that I see is that VTK has large number of build configuration options and I don’t know how this could be handled with vcpkg (for example optional QT support).


[1] https://github.com/RobertSpir/vcpkg/blob/add-vtk/ports/vtk/portfile.cmake





From: vtkusers [mailto:vtkusers-bounces at vtk.org <mailto:vtkusers-bounces at vtk.org> ] On Behalf Of Dženan Zukić
Sent: Tuesday, January 10, 2017 4:42 PM
To: Ben Boeckel <ben.boeckel at kitware.com <mailto:ben.boeckel at kitware.com> >
Cc: vtkusers <vtkusers at vtk.org <mailto:vtkusers at vtk.org> >; ITK developer mailing list <insight-developers at itk.org <mailto:insight-developers at itk.org> >
Subject: Re: [vtkusers] vcpkg


If there is no undergoing effort to "port" VTK to vcpkg, we could go ahead and add ITK with VTKGlue disabled. Once VTK is added, we could turn on VTKGlue and make VTK a dependency.


P.S. I originally cross-posted this to ITK and VTK developers lists, but since I am only subscribed to VTK-users my message was bounced from VTK-developers. Hence this "merge" message including Francois' response.



Francois Budin

9:45 AM (52 minutes ago)


to me, vtk-developers, ITK

Never heard of it before. It does look interesting. We could try to estimate how much work it would be to port ITK (and VTK?)  to that platform. Since it supports CMake [1], it may not be much work.


[1] https://github.com/Microsoft/vcpkg/blob/master/docs/EXAMPLES.md#example-1-2-b



On Tue, Jan 10, 2017 at 10:15 AM, Ben Boeckel <ben.boeckel at kitware.com <mailto:ben.boeckel at kitware.com> > wrote:

On Mon, Jan 09, 2017 at 18:58:40 -0500, Dženan Zukić wrote:
> vcpkg
> <https://blogs.msdn.microsoft.com/vcblog/2016/09/19/vcpkg-a-tool-to-acquire-and-build-c-open-source-libraries-on-windows/>
> looks
> like a good effort for easing library installation for usage in Visual
> Studio. Should we join the effort by adding ITK and VTK? Has anyone
> tried/started doing this?

CPack would likely need to support it first. Moving VTK over to the new
superbuild would also help there.




Powered by www.kitware.com <http://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:


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170111/d5b5d88f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170111/d5b5d88f/attachment.jpg>

More information about the vtkusers mailing list