Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Fallen-Angel on September 20, 2009, 04:36:21 pm
-
I've found out that C:B can be used under Mandriva [Linux] and so I installed it from installation program. Now C:B works fine until running the created project. The compiler is right and it works fine, too, but I think there is a problem with linker. after it compiles, there says:
Checking for existence: /home....
Executing: xterm -T "Project name" -e /usr/bin/cb_console_runner /home/.../bin/Debug/"Project name folder" (in /home/"Project name folder"/.)
Process terminated with status 255 (0 minutes, 0 seconds)
When I think about it, Code::Blocks must work fine, it seems like Mandriva has some problems with running the files.
If someone know the problem and know how to solve it, please post a replay.
Thank you for "listening".
-
I am not sure about that issue, but... have you checked if xterm is installed?
-
Wow, that works! Thank you!
I do not have good linux expirience, but now I know something more. ^^
Thanks Ceniza
P.S.: A lot of C::B users do not know how to solve this problem. When I install C::B with installation program, why it does not include xterm in the installation list?
-
Wow, that works! Thank you!
I do not have good linux expirience, but now I know something more. ^^
Thanks Ceniza
P.S.: A lot of C::B users do not know how to solve this problem. When I install C::B with installation program, why it does not include xterm in the installation list?
It's a good question, but xterm is not necessary, you can use other terminals as well, not all work as expected, but it's the users choice, whether he wants xterm or konsole or ...
We could use x-terminal-emulator instead of xterm (this one should exist as default terminal for your X-windows-system), but the different terminals are not parameter-compatible. So if the user wants other terminals than xterm, they have to tweak "Settings -> Environment -> Globals settings -> Terminal to launch console programs" themselves.
I think about putting xterm on the list of suggested packages for debian, but I don't think it belongs to the dependencies, because C::B also works with other terminal-emulators.
-
I understand. But I installed some other programs here I can choose betwene packages I want to install. In that case user can choose which program he likes to use.
-
If you use a package manager and a prepackaged binary the maintainer can add such questions, but if you compile it yourself, the software can not provide such a functionality (easily), because it does not know anything about the package structure.
-
Okay, I understood. Thank you for fast replays and direct answers.
C::B forum is the only one forum I know where users answer that fast and have interests in this questions. Respect!
P.S.: Sorry for my bad English.