Results 1 to 3 of 3
When I start a new C terminal project in Anjuta it can't find even the default header. I haven't done any C for a little over a year so maybe ...
- 06-22-2007 #1
When I start a new C project in Anjuta it can't find even the default header
When I start a new C terminal project in Anjuta it can't find even the default header. I haven't done any C for a little over a year so maybe I am doing something stupid but I don't think so since I haven't even touched the code yet. Also I have never used this IDE before, I am used to CodeWarrior and Visual Studios.
the default code
The Error OutputCode:/* Created by Anjuta version 1.2.4a */ /* This file will not be overwritten */ #include <stdio.h> int main() { printf("Hello world\n"); return (0); }
Code:main.c:4:19: error: stdio.h: No such file or directory main.c: In function 'main': main.c:7:warning: incompatible implication implicit declaration of built-in function 'printf' make: *** [main.o] Error 1 cc -c -o main.o main.c
- 06-22-2007 #2Linux Enthusiast
- Join Date
- Aug 2006
- Posts
- 631
Have you installed the build-essential package?
RegardsCode:sudo aptitude update sudo aptitude install build-essential
- 06-23-2007 #3
That didn't help I don't think. But what did help was installing the 4 things it told be to right after I created a new project. AutoConf and Glib, I can't remember what the other 2 were. lol it helps to pay attention.


Reply With Quote