Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have recently downloaded netbeans 8.1 for my 64bit computer, I plan to use it for c/c++ projects. I also downloaded cygwin64 tool for compilation.

I followed every step for the tutorial and changed the env variable path to the bin of cygwin, however, my Netbeans cannot recognize standard directories like stdio.h etc

My build is failing and I am getting this error,

C#
C:\cygwin64\lib\gawk\filefuncs.dll -f Makefile CONF=Debug
Cannot run program "C:\cygwin64\lib\gawk\filefuncs.dll" (in directory "C:\Users\n201tu\Documents\NetBeansProjects\MyShell"): CreateProcess error=193, %1 is not a valid Win32 application

BUILD FAILED (exit value -2, total time: 93ms)


Please let me know what am I doing wrong, below is what I have tried.

What I have tried:

I have already changed the path of the enviroment variable, I have included directory in the properties at a tool level for cygwin/lib (I am not sure if this is correct)

I tried to get a make for execution and randomly selected a file, I think this is where I am going wrong. I think I cant get the 'make' property right.
Posted
Comments
Richard MacCutchan 9-Mar-16 4:14am    
That is nothing to do with recognising stdio.h. The message is telling you that you cannot execute a dynamic link library; and why would you try to?
Shivangi_K 9-Mar-16 20:24pm    
The standard libraries have red line under them and say that they do not recognize the standard library. The error is probably because I got the configuration wrong. However, the libraries are not recognized.
What is it that am doing wrong?

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