Just got Code::Blocks, running it on linux mint. Every time I try to run the code it just gives me the message "It seems that this file has not been built yet. Do you want to build it now?" and when I click yes it just repeats it.
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F)
Do you have an compiler installed?
Tim S.
Yes, I have the G++ compiler.
Post the build log!
Nothing to be done (all items are up-to-date).
Checking for existence: /home/usr/Untitled Folder/Untitled1
READ THE LINK I POSTED!
Also, spaces in the path can sometimes cause problems.
Tim S.
Build log:
gcc -c "/home/usr/Untitled Folder/Untitled1.c" -o "/home/usr/Untitled Folder/Untitled1.o"
g++ -o "/home/usr/Untitled Folder/Untitled1" "/home/usr/Untitled Folder/Untitled1.o"
Process terminated with status 0 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
Checking for existence: /home/usr/Untitled Folder/Untitled1
Executing: xterm -T '/home/usr/Untitled Folder/Untitled1' -e /usr/bin/cb_console_runner "/home/usr/Untitled Folder/Untitled1" (in /home/usr/Untitled Folder)
Process terminated with status -1 (0 minute(s), 2 second(s))
This is when I run the code.
do you have xterm installed?
if not you can change the default terminal in Settings->environment->Shell to run commands in...
Or you install xterm...
That was the problem, thank you so much!