-
Notifications
You must be signed in to change notification settings - Fork 651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
编译pycaffe错误显示 无法开启"python27.lib #262
Comments
同問題!@@ 目前有解決方法嗎?! |
@Lordores @gaexp251546 原因是你下载的thirdparty里的libboost版本是用python2.7编译的,你自己下载一个Boost source code,自己编译一下:先运行bootstrap.bat(Boost根目录下),再在命令行下运行 .\b2.exe address-model=64(这个一定要加,默认可能是32位的),然后复制到thridparty里(include要一起复制) |
我的也是,因为windows上python3.6还没出现兼容的caffe,依赖的库版本有几个不一样,如protobuf,lmdb,libboost,我还是放弃了,比较折腾,要用就用python2.7,配置方便 |
@maxteleg 将编译好的哪些boost文件替换过去呢?boost全部文件夹吗?? |
@xiaosuzhang $BOOST_DIR/stage/lib/ 下的所有以‘.lib'结尾的文件;还有$BOOST_DIR/boost文件夹 |
@maxteleg 您好,可以把您编译过得基于python3.5的thirdparty发我一份吗??谢谢 |
为什么我拷贝过去了,还是出现 python27.lib 呢? |
@maxteleg 你发的这个百度链接失效了,麻烦能重新发一下么?急需,谢谢! |
@justein Sorry for the late reply: https://pan.baidu.com/s/1o_qGgZQ0M5Z06TuEQxkF2g icsq |
@maxteleg very thanks your reply ,but I have changed py27,thx all the same! |
@ maxteleg ,你好,根绝提供的python3.5编译的thirdparty,复制进去,但是会出现找不到 python36.lib的问题,请问怎么解决呢? |
i have the same problem, and i solve this problem by using the absolute path of the 'lib and include' in the CommonSetings.props |
maybe you should try the python2.7 |
我用Anaconda3装的 python3.6,libcaffe成功编译,但在编译其他的时候,如pycaffe等出现
錯誤 LNK1104 無法開啟檔案 'python27.lib' caffe E:\caffe\newcaffe\caffe-windows-ms\windows\caffe\LINK 1
请问是一定需要python2.7么?
The text was updated successfully, but these errors were encountered: