vtk构建mac os x 10.10,没有规则将目标“…libpython2.7.dylib”

2024-09-30 01:27:53 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图用vtk-6.1.1在macosx10.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

使用自制程序,我只安装了python2.7.9。很抱歉,我四处找过,但找不到解决这个问题的办法,我对cmake的了解还不够,无法自己解决。在


Tags: ofcmaketargetmake错误dircodedependencies

热门问题