开发者

Why am i not able to link my C/C++ libraries with NetBeans?

I've downloaded C/C++ libraries from Cygwin, and set the environment variables according to the instructions he开发者_运维问答re, in NetBeans.

I've also gone through this.

Actually I followed the same steps on a different machine and everything worked out fine. But on my machine the associations aren't made. for example: #include<stdio.h> says No such file or directory.

Any idea what the problem might be?

The Cygwin package I downloaded is also fine, I downloaded it twice.


If it's complaining about a #include, that's a compile issue, not a linking issue.

What happens if you create a new C/C++ application project and try to build it?

In the Build node of the project properties, is the correct Tool Collection selected? (Cygwin in your case). And the Tools -> Options, on the C/C++ tab, is that tool collection set up correctly?


You should check whether you have a file c:\cygwin\usr\include\stdio.h.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜