User forums > Help

Code Blocks not building

<< < (4/6) > >>

cliffrad:
I have the similar problem on my Mac. When I first start a project the Hello World program works correctly then I write a program, press build and run and the Hello World programme is still there. In my tool-chain executables it says /usr.

oBFusCATed:
What? I guess you have trouble seeing a terminal...

cliffrad:
No the terminal comes up after the hello world program correctly then after I build and run a new program the old Hello World program comes up in the terminal again as if I haven't changed the program. Apologies for my ignorance but I am new to programming..cheers

BlueHazzard:
A fresh build log would help:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

what operating system are you using?
Are you using projects, or simple files?
What do you change in the hello world program?
Does your anti virus blocks the compiler linker?

cliffrad:
OS X EL CAPITAN

int main()
{
    int a=11, b=2;
    float modulus;
    modulus =a %b;
    printf("product =%f", modulus);
    return 0;
}

The above is my program. as you can see I have deleted the hello world part..
How do I check if the anti virus is blocking the compiler? I have ran programs before..

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version