Author Topic: Windows 11 query -regarding MSYS2 and wxWidget 3.1.5 build issue  (Read 570 times)

Offline AndrewCot

  • Almost regular
  • **
  • Posts: 249
Let me start by saying that the issues could be due to my Windows 11 setup and if you think they are let me know. I have W11 installed as a guest as I want to play with it before upgrading my main PC as IMHO I do not want to get stuck and have to reinstall everything again on my main PC.

I have Windows 11 configured as a virtual guest on Virtualbox 6.1.30 under Windows 10. I have installed MSYS 2 and installed a bunch of packages like I have on my W10 box. I copied my wxwidget 3.1.5 source tree from W10 to W11 and tried to build it, but it hung when creating the DLL using the bin utilities ar.exe. I tried again is the same thing occurred.

Anyone got any pointers or ideas on this one or should I try the wxwidget forums? I won't look at this tonight (Oz time).  O could try a different compiler  or bin utilites or the latest wxwidget source or TBA  or .....

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7191
    • My Best Post
Re: Windows 11 query -regarding MSYS2 and wxWidget 3.1.5 build issue
« Reply #1 on: November 30, 2021, 10:40:24 am »
Are you using UCRT64 or MINGW64 command prompt to do the building?

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7191
    • My Best Post
Re: Windows 11 query -regarding MSYS2 and wxWidget 3.1.5 build issue
« Reply #2 on: November 30, 2021, 09:16:08 pm »
Are you using UCRT64 or MINGW64 command prompt to do the building?

Tim S.

The reason I ask is Windows is going move to an new C Run Time (CRT) and that is used by UCRT64.
That means that maybe the UCRT64 GCC will work for Win11.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline AndrewCot

  • Almost regular
  • **
  • Posts: 249
Re: Windows 11 query -regarding MSYS2 and wxWidget 3.1.5 build issue
« Reply #3 on: December 01, 2021, 01:58:21 am »
Thanks for the response.  I have not installed any of the new UCRT64 (or CLANGxx as well btw). I am using the C:\msys64\mingw64 bin files.

I will check out the UCRT64 and give it a go.