Giter Club home page Giter Club logo

vtk-8.1.0's Introduction

About this

  • Built binrary files
    • Based on VisualStudio 2015 sp3
    • Based on Qt 5.10.1
    • OpenGL2, OpenGL support
    • include vtkDICOM submodule

How do I get this

* clone
	* $ git clone [email protected]:medipixel/VTK-8.1.0.git
* clone submodules
    * this module have submodules
	* $ git submodule update --init --recursive

How to buid it

  • Required

  • Build

    • http://www.vtk.org/
    • How to build vtk on windows
    • download VTK source v8.1.0
      • source code path: VTK source code path
    • CMake install, (v3.11.0-rc4)
      • https://cmake.org/download/
      • CMake 'Add Entry' before 'Configure' (i.e: Visual Studio 2015 vc 14.0 x86, Qt 5.9)
        • VTK_RENDERING_BACKEND:STRING=OpenGL (if VTK.OpenGL project will use OpenGL, VTK.OpenGL2 project will use OpenGL2)
          • default is 'OpenGL2'
            • VTK.OpenGL project, Because VirtualBox support only OpenGL
            • VTK.OpenGL2, default value is OpenGL2
        • VTK_Group_Qt:BOOL=ON
          • Turn on Qt support
        • QT_QMAKE_EXECUTABLE:FILEPATH=C:/Qt/Qt5.10.1/msvc2015/bin/qmake.exe (if x64 project, use this: C:/Qt/Qt5.10.1/msvc2015_64/bin/qmake.exe)
          • Set Qmake.exe file path
        • VTK_QT_VERSION:STRING=5
          • CMake wrong print Qt version 4
        • Qt5_DIR:PATH=C:/Qt/Qt5.10.1/msvc2015/lib/cmake/Qt5 (if x64 project, use this: C:/Qt/Qt5.10.1/msvc2015_64/lib/cmake/Qt5)
          • CMake need file path of Qt5Config.cmake.
        • CMAKE_MODULE_PATH:PATH=C:/Qt/Qt5.10.1/msvc2015/lib/cmake/Qt5 (if x64 project, use this: C:/Qt/Qt5.10.1/msvc2015_64/lib/cmake/Qt5)
          • CMake need file path of Qt5Config.cmake.
        • Module_vtkDICOM:BOOL=ON
      • CMake push the button 'Configure'
        • Visual Studio 14 2015 (x64: Visual Studio 14 2015 Win64)
      • CMake push the button 'Generate'
        • generated VTK sln(visual studio solution) file
    • build VTK.sln
      • With admin privilege, launch visual studio 2015
      • Open project vtk.sln
        • build INSTALL project
        • build with 'RelWithDebInfo', to generate pdb files.
      • fix compile error
        • /source/Remote/vtkDICOM/Programs/dicomfind.cxx
        • can't find symbol '_P_WAIT'
        • add #define _P_WAIT (0)
        • _P_WAIT defined in process.h, but same file exist in vtk include path.
    • Merge files
      • copy %PROGRAM FILES%/vtk/cmake
      • copy %PROGRAM FILES%/vtk/share
      • merge %PROGRAM FILES%/vtk/bin [win32Debug/win32Release/win64Debug/win64Release]
      • merge %PROGRAM FILES%/vtk/lib [win32Debug/win32Release/win64Debug/win64Release]
      • merge %PROGRAM FILES%/vtk/include [win32/win64]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.