![Gabriel Pastori Gabriel Pastori](//static.vivaolinux.com.br/imagens/fotos/desconhecido.png)
gabrielpastori
(usa Ubuntu)
Enviado em 09/12/2016 - 16:28h
Baixei o g++ e o Codeblocks no linux(ubuntu)
Criei um projeto no Codeblocks (testeo), ele abriu com um tal de (testeo->sources->main.cpp) com o seguinte código:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
Quando dei run ele apresentou os seguintes erros:
-------------- Build: Debug in testeo (compiler: GNU GCC Compiler)---------------
g++ -Wall -fexceptions -g -c "/home/gabriel/Área de Trabalho/testeo/main.cpp" -o obj/Debug/main.o
g++ -o bin/Debug/testeo obj/Debug/main.o
g++: error: obj/Debug/main.o: Arquivo ou diretório não encontrado
g++: fatal error: no input files
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
Como posso corrigi-los?
Grato desde já!