Author Topic: Building wxWidgets 3.0.3 on Win 7 with Git's MinGW-W64  (Read 202 times)

Offline b.bentzen

  • Single posting newcomer
  • *
  • Posts: 2
Building wxWidgets 3.0.3 on Win 7 with Git's MinGW-W64
« on: November 09, 2017, 05:06:53 pm »
Hello,

I hope this is the right place to post this question well, I'm trying to compile wxWidgets 3.0.3 on Windows 7 with

1. MinGW-W64 from Git version 2.12.2.windows.2 (I am not using C::B's mingw since I already had Git's before).
2. Code::Blocks version 16.01 (from codeblocks-16.01-setup.exe)
3. wxWidgets 3.0.3

my path includes

Code: [Select]
...;C:\cygwin64\bin;D:\Git\mingw64\bin;C:\wxWidgets-3.0.3
Now, in the command prompt, running

Code: [Select]
$ cd "C:\wxWidgets-3.0.3\build\msw"
and then using make

Code: [Select]
$ make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1
returns immediately the following:

Code: [Select]
if not exist gcc_mswudll mkdir gcc_mswudll
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

and the build does not start. In fact, nothing else happens. There are no added files in the directory lib.

I already tried to delete the files in the above-mentioned directory gcc_mswudll in order to try again, but the folder does not even exist...

PS: makefile.gcc is in build/msw and it indeed starts with a lowercase 'm'.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 5969
    • My Best Post
Re: Building wxWidgets 3.0.3 on Win 7 with Git's MinGW-W64
« Reply #1 on: November 09, 2017, 05:35:14 pm »
remove cygwin from your path

Edit1: Better place to ask your question is https://forums.wxwidgets.org/
« Last Edit: November 09, 2017, 06:01:00 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline b.bentzen

  • Single posting newcomer
  • *
  • Posts: 2
Re: Building wxWidgets 3.0.3 on Win 7 with Git's MinGW-W64
« Reply #2 on: November 10, 2017, 04:30:04 pm »
Thanks for your suggestion, stahta01! I will ask this question there.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 5969
    • My Best Post
Re: Building wxWidgets 3.0.3 on Win 7 with Git's MinGW-W64
« Reply #3 on: November 11, 2017, 02:44:07 am »
FYI: Git for Windows does *not* normally have a mingw64 gcc compiler.

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