I am using 18.04.4 lts version of Ubuntu. I downloaded Code::Blocks from "Ubuntu Software" and didn't install any other package. I do not know if the packages required for development are installed. This error:
||=== Build: Debug in Hello (compiler: GNU GCC Compiler) ===|
obj/Debug/main.o||No such file or directory|
||error: no input files|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
There is a long an details description on the code blocks wiki: Install Code Blocks from source on Linux
The process is not trivial and requires several steps before building the project with:
Read the wiki entry and follow the steps carefully
Download or checkout the source code
Bootstrap, configure, and make code blocks
Use checkinstall, to generate and install a Debian package.
The file path references, such as: obj\Debug\main.o are giving an absolute path. What you probably want is:
.\obj\Debug\main.o
so you get a relative path based on the current directory. Your Code::Blocks and gcc installations in Ubuntu 18.04 seem to be OK for C programming language, but please note that for C++ you also need to install g++ package withsudo apt install g++