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

时间:2015-02-27 00:58:38

标签: python cmake osx-yosemite vtk

我正在尝试使用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自己解决这个问题。

1 个答案:

答案 0 :(得分:0)

通过

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