Click here to Skip to main content
15,903,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have typed out a long and detailed edition of this problem over HERE[^] with no response after ten hours, and ten people viewing it.

Apparently, NetBeans is giving the CygWin make utility (known as mktemp) an unknown option, specifically, "--f",

At this moment I have been unable to guess where that syntax is defined, or how to change it.

Alms for the clueless are welcomed.

Here is a cut and paste from the output window in NetBeans...

cd 'C:\Users\MURPHY\Documents\NetBeansProjects\FRED_CPP'
C:\cygwin64\bin\mktemp.exe -f Makefile CONF=Debug
mktemp: unknown option -- f
Try '/usr/bin/mktemp --help' for more information.

BUILD FAILED (exit value 1, total time: 204ms)

What I have tried:

I've poked around the NetBeans IDE.

I have looked for a place where the syntax of mkdir might be defined

So far, haven't found it.

I opened a command window and typed "mkdir --help" to see what suggestions he might provide on his own. the "--f" appears to be the entire problem.
Updated 11-Aug-16 22:28pm
Richard MacCutchan 11-Aug-16 6:42am    
You should report this to Netbeans.
Richard MacCutchan 12-Aug-16 4:45am    
Why do you type mkdir --help, when the command in error is clearly mktemp. And as already suggested, you need to report this to Netbeans, we cannot fix their software.

1 solution

Not really an answer but I hope it helps (and posting such a long text as unformatted comment makes it rather unreadable).

NetBeans is giving the CygWin make utility (known as mktemp)
mktemp.exe -f Makefile CONF=Debug
does not match.

It seems that the NetBeans IDE is using the wrong command here. The "-f Makefile" parameter indicates that a make utility should be executed (e.g. the GNU make). But mktmp is not a make utility (from 'man mktemp'):
mktemp - create a temporary file or directory
Create a temporary file or directory, safely, and print its name.

So you should report this to NetBeans as already suggested by Richard.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900