[wxPython-dev] A problem while compiling wxpython-src-2.8.0.1...

Robin Dunn robin at alldunn.com
Tue Dec 26 12:32:21 PST 2006


zhu andy wrote:
> I do follow the instructions on 
> http://wxpython.sourceforge.net/BUILD.html step by step with my OS of 
> windowXP.
> When I do the step 6, the problem happens. After four .obj files of 
> wxregex_regfree.obj、wxregex_regexec.obj、wxregex_regerror.obj、 
> wxregex_regcomp.obj are created,the error occur while linking the four 
> .obj files to wxregexh.lib .
>  
> My compile environment:
> OS:windowsXP
> python: 2.4
> compile tools :cygwin/ bash/ vc7.1(2003)
> compile object:wxpython-src-2.8.0.1
>  
> Can somebody help me ?

>         link /LIB /NOLOGO /OUT:..\..\lib\vc_dll\wxregexh.lib 
> @h:\Temp\nm4.tmp
> link: extra operand `/OUT:..\\..\\lib\\vc_dll\\wxregexh.lib'
> Try `link --help' for more information.
> NMAKE : fatal error U1077: "link" : 返回代码"0x1"

You've probably got cygwin's link.exe installed, and that is being found
on the PATH before MSVC's link.exe.  Since I never need cygwin's link
what I do is just rename /usr/bin/link.exe to link_.exe or something
like that.  I always forget about this whenever I update cygwin so I
guess I should come up with a better solution one of these days.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-dev mailing list