Author Topic: Code::Blocks doesn'n work on Ubuntu  (Read 2991 times)

fr0mgate

  • Guest
Code::Blocks doesn'n work on Ubuntu
« on: December 11, 2018, 09:01:48 pm »
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))
« Last Edit: December 12, 2018, 04:58:42 pm by fr0mgate »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Code::Blocks doesn'n work on Ubuntu
« Reply #2 on: December 12, 2018, 06:06:57 pm »
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++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org