Codeblocks -> "It seems that this project has not been built yet. Do you want to build it now?" - How do I fix this?

Asked

Viewed 6,901 times

0

It seems that codeblocks cannot find the folder where my project is. I have tested the separate compiler and it is working perfectly. Does anyone know how I fix it?

Look at:

gcc -Wall -g  -c "/home/ehecatl/Área de Trabalho/programacao-c/Lembrando/main.c" -o obj/Debug/main.o
g++  -o bin/Debug/Lembrando 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.
  • 1

    It could be the case’s fault Área de Trabalho, in case being linux or Mac you could move the projects to a folder like /home/ehecatl/programacao-c/.

  • What a silly little mistake! Thank you for answering. ;)

  • For nothing, see ya

2 answers

1

The problem was the folder with accentuation and/or spaces, Maybe Codeblocks IDE cannot work properly to pass the data to the compiler:

/home/ehecatl/Área de Trabalho/programacao-c/

Suggested to the author using the folder:

/home/ehecatl/programacao-c/

And the problem was resolved

0

Good night,

I tried several strategies, but only this solved my problem: 1 : Open the terminal; 2: Type the following command line "sudo apt-get install g++"; 3: Restart the Codeblocks.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.