Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: ghader on October 18, 2011, 08:14:05 pm
-
Dear all,
I am new to Code Blocks IDE. I could not manage to pass arguments to the target program using this IDE. I mean that I don't know how to use Project->Set programs' arguments to provide arguments to my program.
Regards,
Hamidreza
-
Hm, have you tried to enter some values to see what happens?
-
See image attached. Make sure you operate on a project with valid targets.
-
Thanks for the reply,
I got what the problem is. In that window of my codeblocks, the arguments' text box is such a small box that you could not even see it. I tried to maximize the window hoping that the text box would become bigger but it didn't change. How should I change its size to make it possible to enter program arguments there?
Regards,
Hamidreza
-
I tried to maximize the window hoping that the text box would become bigger but it didn't change.
That is weird and has never been reported. What platform / version (platform, C::B, wxWidgets) do you use?
-
Has anyone solved this problem? I tried the solution listed on http://apt.jenslody.de but it still didn't fix the problem. Thanks.
-
Has anyone solved this problem? I tried the solution listed on http://apt.jenslody.de but it still didn't fix the problem. Thanks.
Can you try what happens, if you replace the file "select_target.xrc" resource [C::B shared]\share\CodeBlocks\manager_resources.zip with the one in the attached the zip file, please?
It's very simple: just extract all the files, replace the one I've attached, re-zip them and replace the original ZIP.
-
I use Ubuntu 11.10, cannot see parameter arguments in that dialog, after replace new select_target.xrc file, problem is solved.
By the way, in windows there is no any problem.
-
Hi,
I updated to ubuntu 12.04 and i can not see how introduce the arguments the entry is missing, i followed your steps but it is giving me a error
Thanks
-
And the error is?
-
Sorry, check attached file,
Thanks
[attachment deleted by admin]
-
C::B crashed and but where. Read the text in this dialog and probably you can find some useful info you can provide to us.
But this easiest way to fix this is to install a nightly build from jens repo -> http://apt.jenslody.de/
-
thanks, nightly build from jens repo fixed the problem
-
I have reported a bug, related to this problem (invisible program arguments input box) in Launchpad, under the Ubuntu package of code::blocks.
Please go there and check "this bug affects me" if you have a same problem with code::blocks in Ubuntu.
Link to bug report:
https://bugs.launchpad.net/ubuntu/+source/codeblocks/+bug/1031904
Thank you.
-
I have reported a bug, related to this problem (invisible program arguments input box) in Launchpad
Well you hopefully noticed that this bug is fixed since a rather long time in recent nightlies. Did you try one of these?