User forums > Help
[Solved]Fresh install on Ubuntu 18.04 LTS g++ problems
(1/1)
gabdup:
I installed codeblock 16.01 on ubuntu 18.04 LTS using the Ubuntu Software manager
I clicked the compiler that was detected GNU GCC Compiler
Created a new console project named gab
When I try to run the main.cpp it gives me an error
it is written this in the Build log:
g++ -o bin/Release/gab obj/Release/main.o -s
g++ error: obj/Release/main.o: 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)
I've followed a tutorial which told me to install codeblocks another way and also gcc at
https://www.linuxbabe.com/ubuntu/install-code-blocks-ubuntu-16-04-17-04
but the problem still persists
I tried to uninstall and reinstall codeblock but it didn't fix the problem
i've changed compiler settings with toolchains executable and clicked
autodetect
the problem still persists.
I've consulted and do a thorough research on google and on this forums and I couldn't find anything.
help would be appreciated
stahta01:
Posting a build log would help us help you!
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F
Tim S.
gabdup:
--- Code: ---
-------------- Build: Debug in gab (compiler: GNU GCC Compiler)---------------
g++ -Wall -fexceptions -g -Wall -c /home/gabriel/Téléchargements/Solution/gab/main.cpp -o obj/Debug/main.o
g++ -o bin/Debug/gab obj/Debug/main.o
g++: error: obj/Debug/main.o: Aucun fichier ou dossier de ce type
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))
--- End code ---
gabdup:
Found the problem,
I don't know if it is codeblock or the compiler since I don't understand all the concepts
but special symbol from other language are not supported.
I replaced this:
-c /home/gabriel/Téléchargements/Solution/gab/main.cpp -o obj/Debug/main.o
with this:
Telechargements
Problem solved
Navigation
[0] Message Index
Go to full version