Code::Blocks

User forums => General (but related to Code::Blocks) => Topic started by: dostabile on October 12, 2018, 04:07:25 pm

Title: Code Blocks non compile
Post by: dostabile on October 12, 2018, 04:07:25 pm
Ciao a tutti ho appena installato codeblock e il compilatore su Linux usando le diciture che sono sulla guida.
sudo apt-get install built-essential
e
sudo apt-get install codeblocks.

Ma quando apro codeblocsk e provo ad compilare ed avviare il programma main.c che trovo gia scritto con printf("hello world"); mi esce questo :

Checking for existence: /home/mimmo/Scrivania/Esercizi C/prova/bin/Debug/prova
Executing: xterm -T prova -e /usr/bin/cb_console_runner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. /home/mimmo/Scrivania/Esercizi\ C/prova/bin/Debug/prova  (in /home/mimmo/Scrivania/Esercizi C/prova/.)
Process terminated with status -1 (0 minute(s), 0 second(s))

e non mi apre la schermata con hello world. come risolvo??
Grazie
Title: Re: Code Blocks non compile
Post by: Miguel Gimenez on October 12, 2018, 05:38:46 pm
The file is already compiled, probably you don't have xterm installed. Try opening a console, go to the bin/Debug folder and write ./prova to see if it runs. If yes, do sudo apt-get install xterm.

Next tiime try writing in english.
Title: Re: Code Blocks non compile
Post by: oBFusCATed on October 12, 2018, 06:42:04 pm
Please post in English! It is one of the rules of this forum.