Terminal do Code Blocks Retorna vazio ao

1. Terminal do Code Blocks Retorna vazio ao

Marcos
MarcosPereiraRc

(usa Outra)

Enviado em 27/08/2022 - 20:35h

#include <iostream>

using namespace std;

int main()
{
cout << "Hello world!" << endl;
cout << "OLAAAAAA" << endl;
return 0;
}



BUILD LOG


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

gcc -Wall -fexceptions -g -c "/home/marcos/Área de Trabalho/CppBasics/main.cpp" -o obj/Debug/main.o
g++ -o bin/Debug/CppBasics obj/Debug/main.o
Output file is bin/Debug/CppBasics with size 38.37 KB
Process terminated with status 0 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))


-------------- Run: Debug in CppBasics (compiler: GNU GCC Compiler)---------------

Checking for existence: /home/marcos/Área de Trabalho/CppBasics/bin/Debug/CppBasics
Set variable: LD_LIBRARY_PATH=.:
Executing: xterm -T CppBasics -e /usr/bin/cb_console_runner LD_LIBRARY_PATH=:. /home/marcos/Área\ de\ Trabalho/CppBasics/bin/Debug/CppBasics (in /home/marcos/Área de Trabalho/CppBasics/.)



  


2. Re: Terminal do Code Blocks Retorna vazio ao

Gerald pennington
Geraldpennington

(usa Kali)

Enviado em 03/11/2022 - 07:15h

Thank you for your question and for using CodeBlocks as IDE.

The error message you are getting is because codeBlocks has no 'write' privileges to the folder where it wants to place the binary (or executable). You need to change the privileges of the folder where you ave your projects stored to Read/Write/Execute for all.
https://www.tellculvers.org/
If you need to know how to do that, you need to put the specs of your system in the comments, I will tell you here on how to.
You usually get this message when you try to recompile an executable that is already running.

If you got this error, you should simply close your application. If you can't see an application window and you're still getting the error, open Task manager (Ctrl+Shift+Esc), find your program in processes list and close it from here.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts