Debug 版的 C/C++ Python 扩展模块链接错误:Error LNK1104 cannot open file 'python35_d.lib'
来源:互联网 发布:淘宝直播卖的东西好吗 编辑:程序博客网 时间:2024/06/05 18:31
LNK1104: cannot open file ‘python34_d.lib’
http://answers.opencv.org/question/68148/lnk1104-cannot-open-file-python34_dlib/
There is an ugly workaround, but there must be a better way. Anyway, the fix is to change the hardcoded DEFAULTLIB on line 325 of pyconfig.h to use the release lib. This is actually someone else’s idea, but I can’t find that post any more.
# if defined(_DEBUG)//# pragma comment(lib,"python34_d.lib")# pragma comment(lib,"python34.lib") // no debug lib in python distribution# elif ...
It is also necessary to undefine Py_DEBUG on line 370 to avoid link errors:
#ifdef _DEBUG//# define Py_DEBUG#endif
0 0
- Debug 版的 C/C++ Python 扩展模块链接错误:Error LNK1104 cannot open file 'python35_d.lib'
- LINK : fatal error LNK1104: cannot open file 'uafxcw.lib'错误
- error LNK1104: cannot open file 'atlthunk.lib'
- error LNK1104: cannot open file 'Spromeps_Win64.lib'
- error LNK1104: cannot open file 'opencv_calib3d300.lib'
- error LNK1104: cannot open file 'opencv_calib3d300.lib'
- VS2013 error LNK1104: cannot open file " .lib"
- fatal error LNK1104: cannot open file 'C:\Program Files\OpenNI2\Lib\\.obj解决方案
- LINK 错误:LINK : fatal error LNK1104: cannot open file 'uafxwce.lib' 的解决办法
- VS2008编译错误—LINK : fatal error LNK1104: cannot open file 'LIBC.lib'
- vs2010出现link错误: fatal error LNK1104,cannot open file ***.???.lib解决办法
- VS2010编译错误—LINK : fatal error LNK1104: cannot open file 'LIBC.lib'
- OpenCV错误:INK : fatal error LNK1104: cannot open file "cvaux.lib"
- VS2008 LINK : fatal error LNK1104: cannot open file 'atls.lib'错误解决方案
- LINK : fatal error LNK1104: cannot open file 'mfcs42d.lib'
- LINK : fatal error LNK1104: cannot open file "mfc42ud.lib" - 解决
- LINK : fatal error LNK1104: cannot open file "mfc42ud.lib"
- LINK : fatal error LNK1104: cannot open file 'LIBCD.lib'
- 冗余表数据一致性
- oracle11g账号过期
- Linux 目录结构
- leetcode-108. Convert Sorted Array to Binary Search Tree
- ubuntu下navicat试用到期解决办法(删除system.reg之后navicat不能运行解决办法)
- Debug 版的 C/C++ Python 扩展模块链接错误:Error LNK1104 cannot open file 'python35_d.lib'
- VSCode 插件离线安装
- Git创建分支并上传代码到新分支上
- android 基础 ---> RecyclerView
- 三、python安装cocos2d-x3.4 autoBindings
- 总结:python中除ifelse外,其它用到else的地方
- TCP/IP-ARP
- 编码质量评分标准
- SpringMVC+Json构建基于Restful api