News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Building wxWidgets 3.0.3 on Win 7 with Git's MinGW-W64

Started by b.bentzen, November 09, 2017, 05:06:53 PM

Previous topic - Next topic

b.bentzen

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

...;C:\cygwin64\bin;D:\Git\mingw64\bin;C:\wxWidgets-3.0.3

Now, in the command prompt, running

$ cd "C:\wxWidgets-3.0.3\build\msw"

and then using make

$ make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1

returns immediately the following:

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'.

stahta01

#1
remove cygwin from your path

Edit1: Better place to ask your question is https://forums.wxwidgets.org/
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

b.bentzen

Thanks for your suggestion, stahta01! I will ask this question there.

stahta01

FYI: Git for Windows does *not* normally have a mingw64 gcc compiler.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]