Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: RJP Computing on June 07, 2006, 11:19:37 pm

Title: Compiling wxWidgets Wizard generated program on Ubuntu Linux
Post by: RJP Computing on June 07, 2006, 11:19:37 pm
Hi I am completely new to Linux and I can't seem to get the wizard settings right for a wxWidget Application wizard generated project. I am trying to get through the screens but when I get to the 'wxWidgets' location' I am not sure where to point it to. I have installed wxWidgets from Synaptic and it isn't clear where the base files the wizard are looking for. I found that there are wxWidget files under the /usr/lib/wx/ directory, but that did not satisfy the wizard. Any help would be greatly appreciated.

Thanks
Title: Re: Compiling wxWidgets Wizard generated program on Ubuntu Linux
Post by: mandrav on June 08, 2006, 08:31:17 am
Unfortunately, this wizard generates windows wxWidgets projects currently...
Title: Re: Compiling wxWidgets Wizard generated program on Ubuntu Linux
Post by: thumb on June 08, 2006, 12:10:22 pm
Is the wizard in RC3 will support that? thx.
Title: Re: Compiling wxWidgets Wizard generated program on Ubuntu Linux
Post by: MortenMacFly on June 08, 2006, 12:21:23 pm
Is the wizard in RC3 will support that? thx.
I'm afraid not (yet). Anyway: You could try to add this support yourself. The only file you'll need to change is: [C::B_Sources]\src\plugins\projectwizard\resources\wxwidgets\wizard.script or [C::B_RunTime]\share\CodeBlocks\templates\wizard\wxwidgets\wizard.script. There is also no re-compilation of C::B required for testing. You just may have to restart C::B once in a while...
Wuith regards, Morten.
Ps.: Once you managed to resolve this issue don't hesitate to contribute! ;-)
Title: Re: Compiling wxWidgets Wizard generated program on Ubuntu Linux
Post by: oz on June 08, 2006, 04:58:41 pm
a question about compiling the CB under linux. I installed the CB rpm package, then downloaded the new version of the source code. compiled it use CB itself, ran 'update', there will be a 'output' folder. so what is the next? simply overwrite all files from the output folder or do something else? thanks in advance.
Title: Re: Compiling wxWidgets Wizard generated program on Ubuntu Linux
Post by: mandrav on June 08, 2006, 06:06:15 pm
a question about compiling the CB under linux. I installed the CB rpm package, then downloaded the new version of the source code. compiled it use CB itself, ran 'update', there will be a 'output' folder. so what is the next? simply overwrite all files from the output folder or do something else? thanks in advance.

If all has gone well, just run output/run.sh.