Python论坛  - 讨论区

标题:[python-chinese] I compile the Pychm in windows, But meet a lot of errors......

2007年01月09日 星期二 18:48

boyeestudio boyee118在gmail.com
星期二 一月 9 18:48:41 HKT 2007

The Error is show as below:

D:\Downloads\pychm-0.8.4>python setup.py build
running build
running build_py
running build_ext
building 'chm._chmlib' extension
D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\link.exe /DLL
/nologo
 /INCREMENTAL:NO /LIBPATH:D:\Python24\libs /LIBPATH:D:\Python24\PCBuild
chm.lib
/EXPORT:init_chmlib build\temp.win32-2.4\Release\chm/swig_chm.obj/OUT:build\lib
.win32-2.4\chm\_chmlib.pyd /IMPLIB:build\temp.win32-
2.4\Release\chm\_chmlib.lib
LIBC.lib(crt0init.obj) : error LNK2005: ___xc_z ÒѾ­ÔÚ MSVCRT.lib(cinitexe.obj)
Öж¨Òå
LIBC.lib(crt0init.obj) : error LNK2005: ___xc_a ÒѾ­ÔÚ MSVCRT.lib(cinitexe.obj)
Öж¨Òå
LIBC.lib(crt0init.obj) : error LNK2005: ___xi_z ÒѾ­ÔÚ MSVCRT.lib(cinitexe.obj)
Öж¨Òå
LIBC.lib(crt0init.obj) : error LNK2005: ___xi_a ÒѾ­ÔÚ MSVCRT.lib(cinitexe.obj)
Öж¨Òå
LIBC.lib(crt0init.obj) : warning LNK4006: ___xc_z ÒÑÔÚ MSVCRT.lib(cinitexe.obj
)
Öж¨Ò壻ÒѺöÂÔµÚ¶þ¸ö¶¨Òå
LIBC.lib(crt0init.obj) : warning LNK4006: ___xc_a ÒÑÔÚ MSVCRT.lib(cinitexe.obj
)
Öж¨Ò壻ÒѺöÂÔµÚ¶þ¸ö¶¨Òå
LIBC.lib(crt0init.obj) : warning LNK4006: ___xi_z ÒÑÔÚ MSVCRT.lib(cinitexe.obj
)
Öж¨Ò壻ÒѺöÂÔµÚ¶þ¸ö¶¨Òå
LIBC.lib(crt0init.obj) : warning LNK4006: ___xi_a ÒÑÔÚ MSVCRT.lib(cinitexe.obj
)
Öж¨Ò壻ÒѺöÂÔµÚ¶þ¸ö¶¨Òå
   ÕýÔÚ´´½¨¿â build\temp.win32-2.4\Release\chm\_chmlib.lib ºÍ¶ÔÏó build\temp.win
32-2.4\Release\chm\_chmlib.exp
LINK : warning LNK4098: ĬÈÏ¿â"MSVCRT"ÓëÆäËû¿âµÄʹÓóåÍ»£»Ê¹Óà /NODEFAULTLIB:l
ibrary
LINK : warning LNK4098: ĬÈÏ¿â"LIBC"ÓëÆäËû¿âµÄʹÓóåÍ»£»Ê¹Óà /NODEFAULTLIB:lib
rary
build\lib.win32-2.4\chm\_chmlib.pyd : fatal error LNK1169: ÕÒµ½Ò»¸ö»ò¶à¸ö¶àÖض¨
ÒåµÄ·ûºÅ
error: command '"D:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\bin\link
.exe"' failed with exit status 1169

How to fix this problem???
PS: if someone has compile it successfully in windows,Please send me a
copy!!!
Thanks a lot!!
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070109/619adba2/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号