News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Code::Blocks doesn'n work on Ubuntu

Started by fr0mgate, December 11, 2018, 09:01:48 PM

Previous topic - Next topic

fr0mgate

Hello. I started to use Ubuntu quite recently and almost do not understand it. I downloaded Code::Blocks from Software Center and I can't build any C++ program. Maybe I need to install something else?

Full build log:


-------------- Build: Debug in helloworld (compiler: GNU GCC Compiler)---------------

g++ -Wall -fexceptions -g  -c /home/fromgate/Documents/MSHP/C++/helloworld/main.cpp -o obj/Debug/main.o
g++  -o bin/Debug/helloworld obj/Debug/main.o   
g++: error: obj/Debug/main.o: There is no such file or directory
g++: fatal error: no input files
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

stahta01

Please do not use spaces or special characters in the path. And, only use ASCII characters in the path!

And, please post the real unedited build log in the future!

Tim S.
 
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]