[vtkusers] build VTK in windows 10, msys2 mingw64 no success so far

Talal Albader badertalal at gmail.com
Thu Aug 16 15:42:42 EDT 2018


Hi,
I am facing diffeculties in building VTK under msys2  ,as a beginner in
using cmake, msys2 and VTK i hope someone can help me
the case:
   - i have windows 10 machine, with msys2 with mingw64 and cmake  as my
building tools
  -i downloaded VTK-8.1.1 and followed every tutorial i found on the net to
configure and build vtk but so far no sucess, every time it crashes with
error

for the case I have now this is the error message i am facing:

------------------------------------------------------------------------------------------------------------------------------------------------------------------
[ 46%] Built target VTKData
C:/dev/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/as.exe:
CMakeFiles\vtkCommonCore.dir\vtkDataArray.cxx.obj: too many sections
(106694)
C:\dev\msys\tmp\ccTEaRyg.s: Assembler messages:
C:\dev\msys\tmp\ccTEaRyg.s: Fatal error: can't write 75 bytes to section
.text of CMakeFiles\vtkCommonCore.dir\vtkDataArray.cxx.obj: 'file too big'
C:/dev/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/as.exe:
CMakeFiles\vtkCommonCore.dir\vtkDataArray.cxx.obj: too many sections
(106694)
C:\dev\msys\tmp\ccTEaRyg.s: Fatal error: can't close
CMakeFiles\vtkCommonCore.dir\vtkDataArray.cxx.obj: file too big
mingw32-make[2]: ***
[Common\Core\CMakeFiles\vtkCommonCore.dir\build.make:432:
Common/Core/CMakeFiles/vtkCommonCore.dir/vtkDataArray.cxx.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:1239:
Common/Core/CMakeFiles/vtkCommonCore.dir/all] Error 2
mingw32-make: *** [Makefile:140: all] Error 2
------------------------------------------------------------------------------------------------------------------------------------------------------------------

most of tutorial in youtube using visual studio which i do not want to use
, my plan to get VTK working with Qt support away from visual studio


thanks in advance


Talal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180816/e8c5e378/attachment.html>


More information about the vtkusers mailing list