Developer FAQ: Building | 开发人员常遇到的问题:构建
来源:互联网 发布:linux运维工程师薪资 编辑:程序博客网 时间:2024/06/05 19:38
1.How is organized the Slicer build tree (3D slicer 组织架构)?
The Slicer build tree has two levels:
~/Projects/Slicer-SuperBuild
~/Projects/Slicer-SuperBuild/Slicer-build
The first level manages all the external dependencies(外部依赖关系)of Slicer (VTK, ITK, Python, ...). The second level is the"traditional"build directory of Slicer.Slicer directory structure as followed:Build Tree & Install Tree:Build tree Install treeThe X and Y in Slicer-X.Y respectively stand for Slicer_MAJOR_VERSION and Slicer_MINOR_VERSIONExtension install and build tree:Extensions installation path can be specified in the Extension settings.API:vtkSlicerApplicationLogic provides some convenient functions allowing to obtain the share directory associated with a given module filepath.
Note also that if vtkSlicerConfigure is included the macros (宏)Slicer_CLIMODULES_SUBDIR, Slicer_QTLOADABLEMODULES_SUBDIR and Slicer_QTSCRIPTEDMODULES_SUBDIR will be available.
Application settings (including the search path for modules/extensions) are stored ina .ini file. The location of the file depends on the OS:
Linux + Mac OS X: ~/.config/www.na-mic.org/Slicer.ini
Windows: C:\Users\USERNAME\AppData\Roaming\NA-MIC\Slicer.ini。
2.What is a clean build?
Doing a clean build means that
(1) all directories and files in the top-level build directory ~/Projects/Slicer-SuperBuild are removed.
and
(2) you updated your source checkout and have no locally modified files.
3.What to do if QtSDK installer hangs (安装程序挂起)?
If QtSDK installer hangs, use -style cleanlooks command line option(利用命令行选项).
4.Which minimum version of GLIBC(函数库的最低版本) is needed to build Slicer ?
The minimum version of GLIBC required to build Slicer is defined by the minimum version required by thepre-compiler binaries used when building Slicer.
5.What to do if Visual Studio compiler crashes (VS编译器崩溃)?
If the compiler crashes on Windows saying "Microsoft C/C++ Compiler Driver has stopped working", then it's most probably due to long build folder paths. To fix this the Slicer build directory should be moved and/or renamed. A typical build folder path is C:\S4D如果Windows上的C++编译器提醒“Microsoft C/C++ Compiler Driver has stopped working”,这很有可能是因为我们的文件路径名设置太长导致的。更改Slicer组件目录或者清除目录可以解决这个问题。一个典型的文件目录就是:C:\S4D
0 0
- Developer FAQ: Building | 开发人员常遇到的问题:构建
- 3Dslicer Developer FAQ: General | 开发人员常遇到的问题:综述
- ubuntu 常遇到的问题
- 一些常遇到的问题
- eclipse常遇到的问题
- 指针常遇到的问题
- 开发人员的几个常疏忽的问题点[zt]
- VC窗口入门常遇到的问题
- 常遇到的JCO问题及解决办法
- 55个常遇到的面试问题
- C#新人常遇到的三个问题
- Hadoop初学者常遇到的问题汇总
- 重装系统常遇到的问题集中处理
- java软件工程师面试常遇到的问题
- 初学C++常遇到的问题
- 初学android常遇到的问题
- git使用常遇到的问题
- 面试jQuery常遇到的问题
- JZOJ4793. 妮厨的愤怒
- day15 python css属性选择器
- hql delete能执行但数据库无变动
- 图之 最小生成树 Kruskal算法
- 利用angular指令监听ng-repeat渲染完成后执行脚本
- Developer FAQ: Building | 开发人员常遇到的问题:构建
- HDU 3709 Balanced Number (数位DP)
- Java的练习4
- 又见神奇的异或。Trie树。今日头条。
- 这个应该是目前最全的Tracking相关的文章了
- UVA 12169
- Caffe 源码阅读笔记 [基本模块] Syncedmem & Blob
- 获取linux下,tcp、udp的系统默认缓存大小和最大值
- 十四、Lua字符串库中的几个重要函数