Soumyadeep Ganguly
Soumyadeep Ganguly

Reputation: 57

"Can not find source" in Eclipse CDT in UBUNTU 14.10

My problem is that I try to debug this simple Hello World Program in Eclipse LUNA CDT and UBUNTU 14.10 but get the error- can't find source at /build/buildd/glibc-2.19/stdio-common/printf.c. My Code is

# include <stdio.h>`
int main()`
{
   printf("\n Hello World!!");
   return 0;
}

Upvotes: 0

Views: 491

Answers (1)

S.I.J
S.I.J

Reputation: 989

First remove the two ' in your program (first and second line).Before all of this remember to select the " linux gcc " compiler while creating your project file. Then create your source file and give .c extension

Upvotes: 0

Related Questions