Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: ghader on October 18, 2011, 08:14:05 pm

Title: I don't know how to use Project->Set programs' arguments to provide arguments to
Post 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
Title: Re: I don't know how to use Project->Set programs' arguments to provide arguments to
Post by: oBFusCATed on October 18, 2011, 08:36:24 pm
Hm, have you tried to enter some values to see what happens?
Title: Re: I don't know how to use Project->Set programs' arguments to provide arguments to
Post by: MortenMacFly on October 18, 2011, 08:38:24 pm
See image attached. Make sure you operate on a project with valid targets.
Title: Re: I don't know how to use Project->Set programs' arguments to provide arguments to
Post by: ghader on October 19, 2011, 08:39:06 am
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
Title: Re: I don't know how to use Project->Set programs' arguments to provide arguments to
Post by: MortenMacFly on October 19, 2011, 05:55:00 pm
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?
Title: Re: I don't know how to use Project->Set programs' arguments to provide arguments to
Post by: ubuntuLearner on March 09, 2012, 03:32:57 am
Has anyone solved this problem?  I tried the solution listed on http://apt.jenslody.de but it still didn't fix the problem.  Thanks.
Title: Re: I don't know how to use Project->Set programs' arguments to provide arguments to
Post by: MortenMacFly on March 09, 2012, 06:31:26 am
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.
Title: Re: I don't know how to use Project->Set programs' arguments to provide arguments to
Post by: jingzhe on March 20, 2012, 12:42:18 pm
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.
Title: Re: I don't know how to use Project->Set programs' arguments to provide arguments to
Post by: dilocomosacha on May 06, 2012, 11:17:39 pm
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
Title: Re: I don't know how to use Project->Set programs' arguments to provide arguments to
Post by: oBFusCATed on May 06, 2012, 11:27:14 pm
And the error is?
Title: Re: I don't know how to use Project->Set programs' arguments to provide arguments to
Post by: dilocomosacha on May 08, 2012, 11:42:50 am
Sorry, check attached file,

Thanks

[attachment deleted by admin]
Title: Re: I don't know how to use Project->Set programs' arguments to provide arguments to
Post by: oBFusCATed on May 08, 2012, 11:46:46 am
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/
Title: Re: I don't know how to use Project->Set programs' arguments to provide arguments to
Post by: dilocomosacha on May 08, 2012, 02:01:52 pm
thanks, nightly build from jens repo fixed the problem
Title: Re: I don't know how to use Project->Set programs' arguments to provide arguments to
Post by: Hamad_Spider on August 01, 2012, 10:35:19 pm
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.
Title: Re: I don't know how to use Project->Set programs' arguments to provide arguments to
Post by: MortenMacFly on August 01, 2012, 10:40:45 pm
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?