[vtkusers] VTK Ready-to-Run Binaries for Windows 10

Isaiah Norton isaiah.norton at gmail.com
Thu Apr 26 14:25:41 EDT 2018


There are MinGW-W64 packages available from msys2:

https://www.msys2.org/
https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-vtk

I doubt you would be able to link to them with GNU C++.
>

That is correct.


On Thu, Apr 26, 2018 at 2:20 PM, Aron Helser <aron.helser at kitware.com>
wrote:

> Python 2.7 or 3.5+ should work.
> I believe the binaries installed by pip are build with Visual Studio, so I
> doubt you would be able to link to them with GNU C++.
> But, I don't have experience with what you are trying to do, so I will
> have to defer to the list...
>
> Aron
>
> On Thu, Apr 26, 2018 at 2:11 PM, A B <randomvibe at rocketmail.com> wrote:
>
>> Aron, thanks for that.  Which version of python works here?
>>
>> I'm impressed by the VTK literature.  So I want to test out the VTK 8.1.0
>> libraries with GNU C++ and Matlab via MEX files.  I have example programs
>> already, but I just cannot get the VTK libraries installed on Windows 10.
>> I'm surprised the ready-to-run binaries are not on the VTK website.
>>
>> If I install with 'pip" using python, will VTK only work with python or
>> will I be able to link it with GNU C++ programs like I want?
>>
>> Thank you.
>>
>> @randomvibe
>> On Thursday, April 26, 2018, 5:31:43 AM PDT, Aron Helser <
>> aron.helser at kitware.com> wrote:
>>
>>
>> Yes, the easiest way is to install it with 'pip', using python:
>> https://pypi.org/project/vtk/
>> pip install vtk
>>
>>
>> On Thu, Apr 26, 2018 at 4:02 AM, A B via vtkusers <vtkusers at vtk.org>
>> wrote:
>>
>> Hello,
>>
>> Been having a difficult time installing and making VTK on Windows10 with
>> CMake and MinGW64.  Error list pasted below.  I do not have Visual Studio.
>>
>> My preference is to simply download and install fully compiled VTK 8.1.0
>> binaries for Windows10.  Is that available somewhere?
>>
>> @randomvibe
>>
>>
>> ------------------------------ ------------------------------
>> ------------------------------ ------------------------------ ----------
>> C:\vtk\bin>mingw32-make.exe install
>> [  0%] Built target VTKData
>> [  1%] Built target vtksys
>> [  1%] Building CXX object Common/Core/CMakeFiles/ vtkCommonCore.dir/
>> vtkDataArray.cxx.obj
>> C:/mingw64/bin/../lib/gcc/x86_ 64-w64-mingw32/5.3.0/../../../
>> ../x86_64-w64-mingw32/bin/as. exe: CMakeFiles\vtkCommonCore.dir\
>> vtkDataArray.cxx.obj: too many sections (70017)
>> C:\Users\mc\AppData\Local\ Temp\cc3RKGTa.s: Assembler messages:
>> C:\Users\mc\AppData\Local\ Temp\cc3RKGTa.s: Fatal error: can't write
>> CMakeFiles\vtkCommonCore.dir\ vtkDataArray.cxx.obj: File too big
>> C:/mingw64/bin/../lib/gcc/x86_ 64-w64-mingw32/5.3.0/../../../
>> ../x86_64-w64-mingw32/bin/as. exe: CMakeFiles\vtkCommonCore.dir\
>> vtkDataArray.cxx.obj: too many sections (70017)
>> C:\Users\mc\AppData\Local\ Temp\cc3RKGTa.s: Fatal error: can't close
>> CMakeFiles\vtkCommonCore.dir\ vtkDataArray.cxx.obj: File too big
>> Common\Core\CMakeFiles\ vtkCommonCore.dir\build.make: 431: recipe for
>> target 'Common/Core/CMakeFiles/ vtkCommonCore.dir/ vtkDataArray.cxx.obj'
>> failed
>> mingw32-make.exe[2]: *** [Common/Core/CMakeFiles/ vtkCommonCore.dir/
>> vtkDataArray.cxx.obj] Error 1
>> CMakeFiles\Makefile2:281: recipe for target 'Common/Core/CMakeFiles/
>> vtkCommonCore.dir/all' failed
>> mingw32-make.exe[1]: *** [Common/Core/CMakeFiles/ vtkCommonCore.dir/all]
>> Error 2
>> Makefile:128: recipe for target 'all' failed
>> mingw32-make.exe: *** [all] Error 2
>> ------------------------------ ------------------------------
>> ------------------------------ ------------------------------ ----------
>>
>>
>> ______________________________ _________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/
>> opensource/opensource.html
>> <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 <http://www.vtk.org/Wiki/VTK_FAQ>
>>
>> Search the list archives at: http://markmail.org/search/?q= vtkusers
>> <http://markmail.org/search/?q=vtkusers>
>>
>> Follow this link to subscribe/unsubscribe:
>> https://vtk.org/mailman/ listinfo/vtkusers
>> <https://vtk.org/mailman/listinfo/vtkusers>
>>
>>
>>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180426/e8007711/attachment.html>


More information about the vtkusers mailing list