vtk6.2.0 + qt5.5.1 + xcode9.0 + cmake3.9.1 configuration and compiling

I haven't take a try in building a vtk project in my Mac book pro yet. When all the softwares are prepared, let's do it.
Cmake GUI will helps me a lot but there is a thorny problem. Cmake reminds the user :Qt5WebKitWidgets are not found. When I uninstall the Qt5.7 and install Qt5.5.1, this problem is resolved. The Current Generator is selected as Xcode and you can choose Unix Makefiles also.
After Generating is done, we will use xcode to compile the vtk sourcecode. It can not be compiled for the first opening as there is no scheme in the project. we will press the No Scheme and Add a new scheme for install, the Build button is enabled. And Then build the vtk project for about 10 minutes.


Errors in Qt5.7.jpg
Generate a new Scheme.jpg

Generate a new project with Xcode

copy the cxx file and CmakeList.txt to a directory, then use cmake gui to generate the Xcode project file ,the result will come out

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,486评论 0 10
  • 在每天熙熙攘攘的人群中,是否有几个素不相识的人会不经意间触动你?是否有几个场景令你难忘?我的记忆中有些这样的片段....
    吉小舒阅读 313评论 2 8
  • 转场的方法 push方法转场 modal方法转场 自定义转场 UIViewController状态 注意 : (l...
    Huangbaoqin阅读 611评论 0 2