View previous topic :: View next topic |
Author |
Message |
tujh n00b

Joined: 24 May 2018 Posts: 3
|
Posted: Sat May 26, 2018 6:34 pm Post subject: Не запускается копиляция в code::blocks |
|
|
запуская код в code::blocks на на gentoo 4.9.95
Code: |
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
|
выдает
Code: |
-------------- Build: Debug in test (compiler: GNU GCC Compiler)---------------
g++ -Wall -fexceptions -g -c /home/tujh/Desktop/test/main.cpp -o obj/Debug/main.o
g++ -o bin/Debug/test obj/Debug/main.o
Output file is bin/Debug/test with size 27.85 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 test (compiler: GNU GCC Compiler)---------------
Checking for existence: /home/tujh/Desktop/test/bin/Debug/test
Executing: gnome-terminal -t test -x /usr/bin/cb_console_runner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. /home/tujh/Desktop/test/bin/Debug/test (in /home/tujh/Desktop/test/.)
Process terminated with status -1 (0 minute(s), 0 second(s))
| Как видно, компилятор стоит gcc. В чем проблема? xterm есть
З.Ы. Компилить в терминале не предлагать |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 54881 Location: 56N 3W
|
Posted: Sat May 26, 2018 7:50 pm Post subject: |
|
|
Moved from Portage & Programming to Russian.
Please post in English in the main forum.
I don't read Russian and Google translate didn't help. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
TigerJr Guru

Joined: 19 Jun 2007 Posts: 540
|
Posted: Tue Jun 19, 2018 2:22 pm Post subject: |
|
|
Твой test скомпилировался, но запустить не получилось
Code: | gnome-terminal -t test -x /usr/bin/cb_console_runner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. /home/tujh/Desktop/test/bin/Debug/test |
Я с такими методами запуска не сталкивался, попробуй в терминале выполнить эту строчку. Может ошибку напечатают). Хотя может быть обьектный код не поддерживает профиль отладки _________________ Do not use gentoo, it die |
|
Back to top |
|
 |
|