Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
General (but related to Code::Blocks)
»
Code Blocks non compile
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Code Blocks non compile (Read 4344 times)
dostabile
Single posting newcomer
Posts: 2
Code Blocks non compile
«
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
Logged
Miguel Gimenez
Developer
Lives here!
Posts: 1553
Re: Code Blocks non compile
«
Reply #1 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.
Logged
oBFusCATed
Developer
Lives here!
Posts: 13413
Re: Code Blocks non compile
«
Reply #2 on:
October 12, 2018, 06:42:04 pm »
Please post in English! It is one of the rules of this forum.
Logged
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
General (but related to Code::Blocks)
»
Code Blocks non compile