Code::Blocks Forums

User forums => Help => Topic started by: gimpy on December 12, 2008, 01:19:20 am

Title: problem under ubuntu with stdio.h
Post by: gimpy on December 12, 2008, 01:19:20 am
Im a newby in that domain and im trying to run that simple program:

#include <stdio.h>
#include <stdlib.h>

int main()
{
    printf("Hello world!\n");
    return 0;
}


the prob is that it shows me a error that is not able to find stdio.h and stlib.h could you help me to find it im not able to locate it anywhere ?
Title: Re: problem under ubuntu with stdio.h
Post by: stahta01 on December 12, 2008, 06:50:12 am
Please try tuning on Compiler Full logging.

http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

Tim S
Title: Re: problem under ubuntu with stdio.h
Post by: Jenna on December 12, 2008, 07:47:32 am
You are missing the package "libc6-dev" and most likely more packages with development-files/headers.
Title: Re: problem under ubuntu with stdio.h
Post by: gimpy on December 12, 2008, 06:48:53 pm
thanks i download the lib and that fix my problem