make[2]: *** No rule to make target `/root/.pyenv/versions/anaconda3-2.4.0/lib/libpython3.5m.so', needed by `evaluation.so'. Stop.

当出现No rule to make target ,肯定是Makefile有问题。

有的makefile是脚本生成的,你得看脚本的配置文件对不对。

我的是这个脚本生成的。发现是Pythondir的配置不对:

PYTHON_DIR=/home/zgq/anaconda3
cmake \
-DPYTHON_LIBRARY=$PYTHON_DIR/lib/libpython3.5m.so \
-DPYTHON_INCLUDE_DIR=$PYTHON_DIR/include/python3.5m \
-DPYTHON_INCLUDE_DIR2=$PYTHON_DIR/include \
-DBoost_INCLUDE_DIR=/usr/local/include \
-DBoost_NumPy_INCLUDE_DIR=/usr/local/include \
-DBoost_NumPy_LIBRARY_DIR=/usr/local/lib \
-DOpenCV_DIR=/usr/local/share/OpenCV \
-Wno-dev \
. && make

改过来就OK了

make[2]: *** No rule to make target `/root/.pyenv/versions/anaconda3-2.4.0/lib/libpython3.5m.so', needed by `evaluation.so'. Stop.

时间: 2024-10-12 22:50:58

make[2]: *** No rule to make target `/root/.pyenv/versions/anaconda3-2.4.0/lib/libpython3.5m.so', needed by `evaluation.so'. Stop.的相关文章

make: *** No rule to make target `out

按照google的指引,一路很顺,最后make -j5的时候出现:make: *** No rule to make target `dalvik/vm/mterp/out/InterpAsm-x86.S', needed by `out/host/linux-x86/obj/SHARED_LIBRARIES/libdvm_intermediates/mterp/out/InterpAsm-x86.o'. Stop. 解决: cd dalvik/vm/mterp sh ./rebuild.sh

安卓编译No rule to make target问题

今天同事给传了一个安卓项目,但改过了所以的引用,但编译时,仍会报错: make: *** No rule to make target `/Users/Sha/Documents/cocos2d-2.1rc0-x-2.1.2/boZQYJ24Android/proj.android/../../extensions/CCBReader/CCBFileLoader.cpp', needed by `obj/local/armeabi/objs/cocos_extension_static/CCBR

ndk no rule to make target

最近在开发的Android Wear App中,不少关键模块都调用到了算法,比如记步算法.睡眠算法. 而这些算法都是用c++实现的,上层通过jni调用.这里用到了Android的NDK,以前的项目也有用过,例如vitamio的播放器,但没怎么自己编译.so的库.现在涉及到底层算法的修改,于是就涉及到了ndk相关的知识. ndk里有自己的make文件,Android.mk,不同于Makefile,在AndroidManifest同级目录下敲ndk-build就能出结果了,可以直接拿到share l

Eclipse下NDK编译错误之No rule to make target

错误表现: make.exe: *** No rule to make target `/cygdrive/f/Games2014/ThumbelinaCell/projects/ThumbelinaCell/proj.android/../../../extensions/AssetsManager/AssetsManager.cpp', needed by `obj/local/armeabi/objs/cocos_extension_static/AssetsManager/AssetsM

Jenkins编译报错,make: *** No rule to make target `

make: *** No rule to make target `../../src/Qt/HMI/HSaveMgr.cpp', needed by `Linux/release/HSaveMgr.o'. Stop. 分析:一开始以为是App.pri里面没有包含头文件和源文件,填上去后,编译还是报错,仔细看了一下程序目录发现这个类的头文件和目录已经删除了,所以去掉之前加上去的头文件,源文件声明,编译还是出错. 继续查看App.pri发现里面还有两条关于HSaveMgr.cpp的声明如下,删除后

出现make: *** No rule to make target `all'. Stop.解决办法

在mac下用eclipse开发jni 总是出现如题所示的异常,后来将build command 改成ndk-build就可以了 具体如图所示 输出内容 **** Build of configuration Default for project AppUninstall **** /Users/cuiran/tool/android-ndk-r9d/ndk-build all Android NDK: WARNING: APP_PLATFORM android-19 is larger tha

cocos2d-x编译Andorid报错make: *** No rule to make target

最近遇到了使用cocos2d-x 3.2编译Android工程报错如下: make: *** No rule to make target `/Users/apple/Work/Project/cocos2d-x/cocos2d-x-3.2/projects/GuessMovie/proj.android ../../../extensions/AssetsManager/AssetsManager.cpp', needed by `obj/local/armeabi/objs/cocos_ex

make: *** No rule to make target `out/target/common/obj/APPS/framework-res_intermediates/src/R.stamp'

/********************************************************************************** * make: *** No rule to make target `out/target/common/obj/APPS/framework-res_intermediates/src/R.stamp' * 说明: * 编译ethernet的遇到这个依赖没编译的问题. * * 2017-4-27 深圳 龙华民治樟坑村 曾剑锋

eclipse c/c++IDE 编译 make: *** No rule to make target `all'. Stop. 解决办法

若要转载请注明来源 首先看提示信息 产生的背景make: *** No rule to make target `all'.  Stop 在eclipse上创建一个c project(注意:Project type:  Makefile Project下的Empty Project) 添加c语言文件 编辑自己的makefile 点击project->clean 清除编译产生的文件 点击project->build project  就会出现这个错误 原因 首先从提示总可知道 Current P