您的位置:首页 > 运维架构 > Shell

cygwin安装gamit错误————cannot find -lshell32

2013-04-17 22:58 225 查看
出现错误:

/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find
 -luser32
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find
 -lkernel32
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find
 -ladvapi32
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find
 -lshell32
解决办法:

http://stackoverflow.com/questions/4272139/gcc-cygwin-compile-error

You may not have the 
w32api
 in
the folders.

Go to: 
C:\cygwin\usr\lib\w32api
 and
copy all the files into 
C:\cygwin\usr\lib
 and
C:\cygwin\lib
 That
should fix the 
-luser32
 errors.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐