User forums > Using Code::Blocks

Compiling C::B using Msys2

<< < (2/6) > >>

alle_meije:
Just to report, configuring wxWidgets with
--- Code: --- --prefix=/mingw64 --enable-compat28
--- End code ---
before building did not solve the issue. The build of C::B stops with the same error at the same line.

I'm not sure if the problem is with how wxWidgets was coded / built or C::B?

stahta01:

--- Quote from: alle_meije on August 19, 2015, 04:51:59 pm ---Just to report, configuring wxWidgets with
--- Code: --- --prefix=/mingw64 --enable-compat28
--- End code ---
before building did not solve the issue. The build of C::B stops with the same error at the same line.

I'm not sure if the problem is with how wxWidgets was coded / built or C::B?

--- End quote ---

I will try doing this in a week or so.
If in two weeks, I have NOT posted please reply to this post to remind me.

Tim S.

alle_meije:
Many thanks for that!

In the meantime I am compiling wxWidgets with more options for 'configure':

--- Code: -----enable-shared --enable-unicode --enable-opengl --enable-monolithic
--- End code ---
Options that are set via a Makefile.gcc in the Windows compilation guide of C::B -- I only have 'configure' though.

stahta01:

--- Quote from: alle_meije on August 19, 2015, 05:38:08 pm ---Many thanks for that!

In the meantime I am compiling wxWidgets with more options for 'configure':

--- Code: -----enable-shared --enable-unicode --enable-opengl --enable-monolithic
--- End code ---
Options that are set via a Makefile.gcc in the Windows compilation guide of C::B -- I only have 'configure' though.

--- End quote ---

These options are almost positively required

--- Code: -----enable-shared --enable-unicode

--- End code ---
Note: wxWidgets should default to having "--enable-unicode" as if it was on.

The option "--enable-opengl" is NOT required; but, a very good idea.

No idea on whether "--enable-monolithic" is required; but, I would guess it is NOT required and wxWidgets master tends to be broken from time to time on using that option.

Tim S.

stahta01:
FYI:

I would guess wxWidgets master is less stable than wxWidgets 3.0.2

But, WX_3_0_BRANCH is likely to be more stable than wxWidgets 3.0.2.

https://github.com/wxWidgets/wxWidgets/archive/WX_3_0_BRANCH.zip

Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version