免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5218 | 回复: 2
打印 上一主题 下一主题

模块编译cannot find -lmsvcr90 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-08-22 03:38 |只看该作者 |倒序浏览
想编译lupa模块,但总是有个报错···但我明明已经有msvcr90这个dll了·····奇怪···求破····

编译结果:
building without Cython
No local build of LuaJIT2 found in lupa directory, checking for installed library using pkg-config
Did not find LuaJIT2 using pkg-config: pkg-config cannot find an installed luajit
running install
running build
running build_py
copying lupa\version.py -> build\lib.win32-2.7\lupa
running build_ext
building 'lupa._lupa' extension
D:\Program Files (x86)\DEV-CPP\Bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python27\include -IC:\Python27\PC -c lupa/_lupa.c -o

build\temp.win32-2.7\Release\lupa\_lupa.o
writing build\temp.win32-2.7\Release\lupa\_lupa.def
D:\Program Files (x86)\DEV-CPP\Bin\dllwrap.exe -mno-cygwin -mdll -static --entry _DllMain@12 --output-lib build\temp.win32-

2.7\Release\lupa\lib_lupa.a --def build\temp.win32-2.7\Release\lupa\_lupa.def -s build\temp.win32-2.7\Release\lupa\_lupa.o -LC:

\Python27\libs -LC:\Python27\PCbuild -lpython27 -lmsvcr90 -o build\lib.win32-2.7\lupa\_lupa.pyd

D:\Program Files (x86)\DEV-CPP\Bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lmsvcr90
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
error: command 'dllwrap' failed with exit status 1

论坛徽章:
17
处女座
日期:2013-08-27 09:59:352015亚冠之柏太阳神
日期:2015-07-30 10:16:402015亚冠之萨济拖拉机
日期:2015-07-29 18:58:182015年亚洲杯之巴勒斯坦
日期:2015-03-06 17:38:17摩羯座
日期:2014-12-11 21:31:34戌狗
日期:2014-07-20 20:57:32子鼠
日期:2014-05-15 16:25:21亥猪
日期:2014-02-11 17:32:05丑牛
日期:2014-01-20 15:45:51丑牛
日期:2013-10-22 11:12:56双子座
日期:2013-10-18 16:28:17白羊座
日期:2013-10-18 10:50:45
2 [报告]
发表于 2013-08-22 16:40 |只看该作者
回复 1# wfnh


    有说这是python的一个bug,可以试试写spec解决这个问题

http://www.mingw.org/wiki/SpecsFileHOWTO

论坛徽章:
0
3 [报告]
发表于 2013-08-23 00:54 |只看该作者
回复 2# myworkstation

好··谢谢·我尝试一下


   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP