Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: LETARTARE on September 06, 2019, 07:27:13 pm

Title: 'CodeBlocks_wx31-unix.cbp' is missing in revisions
Post by: LETARTARE on September 06, 2019, 07:27:13 pm
While trying to compile 'CB-11839' with 'wx3.1.1' under 'OpenSuse-Leap-15.1' I found that the project files 'xxxx_wx31-unix.cbp' were all missing ( except 'FortranProject_cbsvn_wx31-unix.cbp' and 'wxSmith_wx31-unix.cbp').
Why these omissions ?
Title: Re: 'CodeBlocks_wx31-unix.cbp' is missing in revisions
Post by: oBFusCATed on September 06, 2019, 09:15:29 pm
These project files are duplicates of the wx30 and they have been removed.
If wx3.1 is your default wx, then you can use the wx30 projects and it will work fine.
If not then you'll have to modify the projects (see the custom variables tab) to adjust them to match your setup.

I guess we need to improve our project/workspace setup to allow more flexibility, but this is currently not the case.
If you want to just build a version you want to use the autotools build system is preferable or even building projects.
The cb build system is only useful if you want to develop codeblocks...
Title: Re: 'CodeBlocks_wx31-unix.cbp' is missing in revisions
Post by: LETARTARE on September 07, 2019, 11:50:41 am
Well.
Since for 'Windows' (Nightly builds) you used 'wx3.1.1' and 'gcc-8.1.0', it seemed logical to keep the 'wx3.1.x' oriented files (.cbp) rather than 'wx3. 0.x'.

I'll try your first recommendation on building 'CB' under 'Leap-15.1', but it requires a lot of adaptations on all '.cbp' files for 'wx3.1.1'...
Title: Re: 'CodeBlocks_wx31-unix.cbp' is missing in revisions
Post by: oBFusCATed on September 07, 2019, 09:42:59 pm
Why do you think it is logical to keep wx31 projects for linux? And why our windows decisions should be related to the decisions we make for linux or macos?
Title: Re: 'CodeBlocks_wx31-unix.cbp' is missing in revisions
Post by: LETARTARE on September 07, 2019, 10:39:24 pm
My logic is that of a user of 'CB' with 'Vista' and 'Linux' who seeks to have the same presentation and the same behavior in both environments.

But you can also explain to me why the developers of CB have chosen this difference of treatment.
Title: Re: 'CodeBlocks_wx31-unix.cbp' is missing in revisions
Post by: oBFusCATed on September 07, 2019, 10:51:52 pm
We cannot choose wx3.0 for windows, because it is too unstable and doesn't have enough hidpi features.

For Linux we don't control the wx install. We use the distro version, so we choose what is available and currently this is wx3.0. wx3.1 is a development version after all.

And if you're a user you're advised to use the autotools build system on linux. It produces better fitting executables and there you can more easily change the used wx version!
Title: Re: 'CodeBlocks_wx31-unix.cbp' is missing in revisions
Post by: LETARTARE on September 07, 2019, 10:56:19 pm
Thank you for these explanations. I will follow your advice.