Cannot run program “make”: The system cannot find the file specified?

前端 未结 3 1508
旧时难觅i
旧时难觅i 2021-01-20 06:42

This is the first time that this error has come up. I am using Cygwin with Eclipse 3.5 and my Path variable is set to: %CommonProgramFiles%\\Microsoft Shared\\Windows

相关标签:
3条回答
  • 2021-01-20 06:59

    I go around this issue by installing MinGW and use its GCC compiler.

    Environment - OS: Windows 10, Eclipse: Oxygen

    0 讨论(0)
  • 2021-01-20 07:04

    Use Process Explorer to take a look at the PATH environment variable inside Eclipse's process. It's possible that it's changing its PATH internally -- if that's the case, you'll need to figure out how to configure Eclipse so that its PATH is set up correctly.

    If you're finding that C:\cygwin\bin isn't in Eclipse's PATH, and you recently added that to your PATH, you need to close and restart Eclipse for that change to take affect.

    If you still can't figure it out, try using Process Monitor with a filter for Eclipse.exe to get a long, detailed listing of everything it's trying to do. Look for the call to CreateProcess() that's failing and see if you can learn anything more.

    0 讨论(0)
  • 2021-01-20 07:20

    I had same problem and I solved that copy make.exe file in path that ecilipse given. from link below http://www.mediafire.com/download/e9j9g4zun2t68jn/make.exe hope helps

    0 讨论(0)
提交回复
热议问题