vtk build mac os x 10.10 ,没有制定目标 '...libpython2.7.dylib' 的规则

vtk build mac os x 10.10 , no rule to make target '...libpython2.7.dylib'

我正在尝试使用 vtk-6.1.1 在 Mac OS X 10.10 上构建此 code。在 "cmake" 我 运行 "make" 之后,它给我带来了以下错误:

Scanning dependencies of target ReadDICOMSeries
[100%] Building CXX object CMakeFiles/ReadDICOMSeries.dir /ReadDICOMSeries.cxx.o
make[2]: *** No rule to make target `/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib', needed by `ReadDICOMSeries.app/Contents/MacOS/ReadDICOMSeries'.  Stop.
make[1]: *** [CMakeFiles/ReadDICOMSeries.dir/all] Error 2
make: *** [all] Error 2

使用自制软件我只安装了 python 2.7.9。抱歉,环顾四周,但找不到解决此问题的方法,并且对 cmake 了解不够,无法自行解决。

通过

解决
brew update
brew rm vtk
brew install vtk --with-qt