Very simple application fails with “multiple target patterns” from Eclipse

前端 未结 9 948
-上瘾入骨i
-上瘾入骨i 2020-12-01 21:33

Since I\'m more comfortable using Eclipse, I thought I\'d try converting my project from Visual Studio. Yesterday I tried a very simple little test. No matter what I try,

9条回答
  •  忘掉有多难
    2020-12-01 22:22

    On Cygwin, GNU make version 3.81-1 delivered by the default setup program doesn't work with the automatic header file dependencies, generated by the compilers. The error message you will see because of this bug will look something like this:

    Here are two suggested fixes: - Try to obtain the previous version (3.80) - Obtain a fixed 3.81 version, for example from http://www.cmake.org/files/cygwin/make.exe

    src: https://projects.coin-or.org/BuildTools/wiki/current-issues

    Simply replace the make file in your "C:\cygwin\bin\" folder (or wherever cygwin is installed) with the "fixed" make file mentioned above.

提交回复
热议问题