Author Topic: Problem with "Set programs' arguments" window with C::B 10.05 under Ubuntu 12.04  (Read 6128 times)

ggarcia

  • Guest
Hi all,

When I open the mentionned window, the editable field name "Program arguments" has a very small vertical dimension. It is still there, if you're precise with your mouse, you can click in it and type the arguments into it (you don't see the text, though, due to the vertical dimension). Then, it works normally, the parameters are taken into account.
I tried to resize the window, even maximized it, but it made no difference.

I searched for "command line arguments" in the messages and got answers on how to use this particular dialog box to pass parameters but didn't find a solution to annoying problem.

Thanks for any input.

               G. Garcia

Code::Blocks 10.05 rev. 0 under Ubuntu 12.04

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Thanks for any input.
Quickest way: Use a nightly.

Alternatively it was described somewhere in the forums how to fix it in the related XRC resource file (no compilation needed). But I don't know, where unfortunately. You'll need to search.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

johnjlaw

  • Guest
ggarcia

I was pulling hairs over this as well but as I found the thread MortenMacFly mentioned here: http://forums.codeblocks.org/index.php/topic,15376.0.html

Essentially as explained you must replace the select_target.xrc or edit the code yourself. This file is compressed in a zip at /usr/share/codeblocks/manager_resources.zip

A link to the file is also here: http://fossies.org/unix/misc/codeblocks_12.11-1.tar.gz:a/codeblocks-12.11release8629/src/sdk/resources/select_target.xrc

I know this is an old post but hopefully it will help someone else out.

John