分享

Qt make出现 *** multiple target patterns. Stop.

 happy123god 2012-02-09
出现这个问题的原因是使用make命令的时候,系统变量path所指定的路径有包含
其他make,如cygwin。此时要么去掉这些路径(当想要用make编译QT源文件生成执行文件
时),要么参考如下网址。





When building Qt using MinGW I get the following error: Makefile.Debug:24691: *** multiple target patterns. What can be wrong?

You probably have some include and lib paths that are not necessary and are causing problems, if you do:

  1. set INCLUDE=    
  2. set LIB=    
  3. configure -redo    
  4. mingw32-make

that should solve the problem for you.

Also, make sure that sh.exe (usually comes with Cygwin or msys) is not in the
PATH either, as MinGW’s make tool expects UNIX-makefiles when it is.

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多