Author Topic: 'CodeBlocks_wx31-unix.cbp' is missing in revisions  (Read 4424 times)

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
'CodeBlocks_wx31-unix.cbp' is missing in revisions
« 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 ?
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: 'CodeBlocks_wx31-unix.cbp' is missing in revisions
« Reply #1 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...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: 'CodeBlocks_wx31-unix.cbp' is missing in revisions
« Reply #2 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'...
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: 'CodeBlocks_wx31-unix.cbp' is missing in revisions
« Reply #3 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?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: 'CodeBlocks_wx31-unix.cbp' is missing in revisions
« Reply #4 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.
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: 'CodeBlocks_wx31-unix.cbp' is missing in revisions
« Reply #5 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!
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: 'CodeBlocks_wx31-unix.cbp' is missing in revisions
« Reply #6 on: September 07, 2019, 10:56:19 pm »
Thank you for these explanations. I will follow your advice.
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl