Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Не запускается копиляция в code::blocks
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
tujh
n00b
n00b


Joined: 24 May 2018
Posts: 3

PostPosted: Sat May 26, 2018 6:34 pm    Post subject: Не запускается копиляция в code::blocks Reply with quote

запуская код в 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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54572
Location: 56N 3W

PostPosted: Sat May 26, 2018 7:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
TigerJr
Guru
Guru


Joined: 19 Jun 2007
Posts: 540

PostPosted: Tue Jun 19, 2018 2:22 pm    Post subject: Reply with quote

Твой 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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum