User forums > General (but related to Code::Blocks)

The console does not open after starting the compiled program (ubuntu 10.4)

<< < (2/2)

Jenna:
Can you please copy and paste the whole Build log after trying to start your program with the run-button ?

stanislav:
When pushing the run button (green arrow), nothing is shown in the build log.

When pushing the compile and run button (arrow and the gear), for less than a second this message appears:


--- Code: ----------------- Build: Release in Test1 ---------------

Target is up to date.


--- End code ---

But it disappears immediately.

Here is the main.c file:


--- Code: ---#include <stdio.h>
#include <stdlib.h>

int main()
{
    printf("Hello world!\n");
    //cin.get();
    getchar();
    return 0;
}

--- End code ---

Seams to be a unknown problem here.

Jenna:
Can you zip and attach your project ?
*.cbp and sources are enough.

stanislav:
Here it is. Its just a project made by the cb wizard.

Navigation

[0] Message Index

[*] Previous page

Go to full version