Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Bilal Shafique on April 21, 2017, 03:36:03 pm
-
Hi all,
I am new to Code Blocks but not to FORTRAN. I am writing a CODE in FORTRAN but when I press Build and Run button, it gives the following error;
||=== Build file: "no target" in "no project" (compiler: unknown) ===|
Please help me out.
Thank you all in anticipation.
-
Please read 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)
1. Make sure you have an FORTRAN Compiler installed.
Edit: Code::Blocks is an IDE/Editor; it is NOT a Compiler
Tim S.
-
Thanks for your response.
I have already set the GNU Fortran Compiler in Settings > Compiler but when I write a FORTRAN program and try to build and run it, it gives the error "no target" in "no project" (compiler: unknown).
I am not getting where is the error.
Looking for tips to tackle this.
Thanks again.
-
Create a project, dont just a single file.