Problem compiling wxSQLite3-3.3.1

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Slyde
Knows some wx things
Knows some wx things
Posts: 40
Joined: Mon Apr 09, 2018 11:08 pm

Problem compiling wxSQLite3-3.3.1

Post by Slyde » Tue Jan 28, 2020 7:04 pm

Since makefile.gcc got replaced with something I don't know how to work with in the newest release of wxSQLite3, I had to revert back to an older version.

So I open my terminal and go to C:\wxsqlite3-3.3.1\build and type:

Code: Select all

C:\wxsqlite3-3.3.1\build>mingw32-make -f makefile.gcc SHARED=0 MONOLITHIC=0 UNICODE=1 BUILD=debug
That gave me this:

Code: Select all

----------------------------------------------------------------------------
The selected wxWidgets build is not available!
Please use the options prefixed with WX_ to select another wxWidgets build.
----------------------------------------------------------------------------
mingw32-make: *** [makefile.gcc:261: test_for_selected_wxbuild] Error 1
So, since my wxWidgets is version 3.1.3, I went to the makefile.gcc and changed this:

Code: Select all

# Version of the wx library to build against. 
WX_VERSION ?= 30
to

Code: Select all

# Version of the wx library to build against. 
WX_VERSION ?= 31
and got the same error again. What do I do? I have Code::Blocks working, wxWidgets working, and wxSQLite3 is all I need. I will appreciate any and all help. Thank you.

Btw, if my make line is wrong, please let me know. I'm just building wxSQLite3 the same way I built wxWidgets.
Windows 10 Pro / Code::Blocks 17.12 / wxWidgets-3.1.3 / MinGW-w64 8.1.0

utelle
Moderator
Moderator
Posts: 971
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: Problem compiling wxSQLite3-3.3.1

Post by utelle » Tue Jan 28, 2020 7:56 pm

Slyde wrote:
Tue Jan 28, 2020 7:04 pm
Since makefile.gcc got replaced with something I don't know how to work with in the newest release of wxSQLite3, I had to revert back to an older version.
A Makefile for gcc under Windows is provided in all recent releases of wxSQLite3, and it is really easy to use it. Simply execute for example

Code: Select all

mingw32-make config=release_x32 
to build a statically linked version. Other configuration allow to build a static library using wxWidgets DLLs (i.e. release_wxdll_x32) or a DLL (i.e. dll_release_x32). Replace release by debug for a debug build; replace x32 by x64 for a 64-bit build instead of 32-bit. You may have to adjust settings in the configuration file config.gcc to adjust to your wxWidgets build.
Slyde wrote:
Tue Jan 28, 2020 7:04 pm
So I open my terminal and go to C:\wxsqlite3-3.3.1\build and type:
Being 4 years old wxSQLite3 version 3.3.1 is really outdated. Nevertheless, if configured correctly it should still work for wxWidgets 3.1.3.
Slyde wrote:
Tue Jan 28, 2020 7:04 pm

Code: Select all

C:\wxsqlite3-3.3.1\build>mingw32-make -f makefile.gcc SHARED=0 MONOLITHIC=0 UNICODE=1 BUILD=debug
That gave me this:

Code: Select all

----------------------------------------------------------------------------
The selected wxWidgets build is not available!
Please use the options prefixed with WX_ to select another wxWidgets build.
----------------------------------------------------------------------------
mingw32-make: *** [makefile.gcc:261: test_for_selected_wxbuild] Error 1
Well, the error message tells you that the selected wxWidgets build was not found. Please inspect the file makefile.gcc. All configurable options have a short explanation. I assume you have a wxWidgets shared build, so you have to specify option WX_SHARED=1.
Slyde wrote:
Tue Jan 28, 2020 7:04 pm
So, since my wxWidgets is version 3.1.3, I went to the makefile.gcc and changed this:

Code: Select all

# Version of the wx library to build against. 
WX_VERSION ?= 30
to

Code: Select all

# Version of the wx library to build against. 
WX_VERSION ?= 31
Since you want to use wxWidgets 3.1.3 this is the right thing to do.
Slyde wrote:
Tue Jan 28, 2020 7:04 pm
and got the same error again. What do I do? I have Code::Blocks working, wxWidgets working, and wxSQLite3 is all I lack. I will appreciate any and all help. Thank you.

Btw, if my make line is wrong, please let me know. I'm just building wxSQLite3 the same way I built wxWidgets.
The makefile coming with wxSQLite3 allows to build various configurations. For example, you may build a static wxSQLite3 library using a shared wxWidgets library - in this case use options SHARED=0 and WX_SHARED=1.

Additionally, you have to make sure that your wxWidgets build is found _(option WX_DIR).

Slyde
Knows some wx things
Knows some wx things
Posts: 40
Joined: Mon Apr 09, 2018 11:08 pm

Re: Problem compiling wxSQLite3-3.3.1

Post by Slyde » Tue Jan 28, 2020 8:12 pm

I assume you have a wxWidgets shared build
I don't. I didn't want the DLLs all over the place, so I set SHARED=0 for my wxWidgets. Do I need to recompile them to be shared?

I made this change too:

Code: Select all

# The directory where wxWidgets library is installed 
WX_DIR ?= C:\wxWidgets-3.1.3
# WX_DIR ?= $(WXWIN)
Is that right?

And what about this:

Code: Select all

C:\wxsqlite3-3.3.1\build>mingw32-make -f makefile.gcc SHARED=0 WX_SHARED=1 MONOLITHIC=0 UNICODE=1 BUILD=debug
I'm trying. So close to finally getting wxSQLite3 working has me amped up :D
Windows 10 Pro / Code::Blocks 17.12 / wxWidgets-3.1.3 / MinGW-w64 8.1.0

Slyde
Knows some wx things
Knows some wx things
Posts: 40
Joined: Mon Apr 09, 2018 11:08 pm

Re: Problem compiling wxSQLite3-3.3.1

Post by Slyde » Tue Jan 28, 2020 8:34 pm

I just downloaded a newer version of wxSQLite3 and tried this:

Code: Select all

C:\wxsqlite3-4.0.2\wxsqlite3-4.0.2\build>mingw32-make config=release_x32
mingw32-make: *** No targets specified and no makefile found.  Stop.

C:\wxsqlite3-4.0.2\wxsqlite3-4.0.2\build>
So frustrating.
Windows 10 Pro / Code::Blocks 17.12 / wxWidgets-3.1.3 / MinGW-w64 8.1.0

utelle
Moderator
Moderator
Posts: 971
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: Problem compiling wxSQLite3-3.3.1

Post by utelle » Tue Jan 28, 2020 9:06 pm

Slyde wrote:
Tue Jan 28, 2020 8:12 pm
I assume you have a wxWidgets shared build
I don't. I didn't want the DLLs all over the place, so I set SHARED=0 for my wxWidgets. Do I need to recompile them to be shared?
Yes, if you want to use wxWidgets DLLs. No, if you are happy with using static wxWidgets libraries.

However, it is important that the wxWidgets configuration options when building wxSQLite3 match those used to build wxWidgets. That is, in your case use options SHARED=0 and WX_SHARED=0 when building wxSQLite3.
Slyde wrote:
Tue Jan 28, 2020 8:12 pm
I made this change too:

Code: Select all

# The directory where wxWidgets library is installed 
WX_DIR ?= C:\wxWidgets-3.1.3
# WX_DIR ?= $(WXWIN)
Is that right?
Yes, that should work.
Slyde wrote:
Tue Jan 28, 2020 8:12 pm
And what about this:

Code: Select all

C:\wxsqlite3-3.3.1\build>mingw32-make -f makefile.gcc SHARED=0 WX_SHARED=1 MONOLITHIC=0 UNICODE=1 BUILD=debug
I'm trying. So close to finally getting wxSQLite3 working has me amped up :D
If you want to use static wxWidgets libraries (assuming that they were indeed built), then you have to use option WX_SHARED=0 .

utelle
Moderator
Moderator
Posts: 971
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: Problem compiling wxSQLite3-3.3.1

Post by utelle » Tue Jan 28, 2020 9:17 pm

Slyde wrote:
Tue Jan 28, 2020 8:34 pm
I just downloaded a newer version of wxSQLite3 and tried this:

Code: Select all

C:\wxsqlite3-4.0.2\wxsqlite3-4.0.2\build>mingw32-make config=release_x32
mingw32-make: *** No targets specified and no makefile found.  Stop.

C:\wxsqlite3-4.0.2\wxsqlite3-4.0.2\build>
So frustrating.
I'm not very familiar with mingw, since I develop mainly with Visual C++. Typically, make should use the target all as the default. I don't know why this doesn't work for you. Maybe your mingw installation is an older one ... So, try to specify the target explicitly:

Code: Select all

C:\wxsqlite3-4.0.2\wxsqlite3-4.0.2\build>mingw32-make config=release_x32 all
BTW, version 4.0.2 is almost 2 years old. What is your reasoning behind not using the latest released wxSQLite3 version? The latest version is wxSQLite3 4.5.1.

Slyde
Knows some wx things
Knows some wx things
Posts: 40
Joined: Mon Apr 09, 2018 11:08 pm

Re: Problem compiling wxSQLite3-3.3.1

Post by Slyde » Tue Jan 28, 2020 9:35 pm

It didn't go very well:

Code: Select all

C:\wxsqlite3-3.3.1\build>mingw32-make -f makefile.gcc SHARED=0 WX_SHARED=0 MONOLITHIC=0 UNICODE=1 BUILD=debug
if not exist ..\lib\gcc_lib mkdir ..\lib\gcc_lib
g++ -c -o gccmswud\wxsqlite3_lib_wxsqlite3.o -DHAVE_W32API_H  -D_UNICODE -D__WXDEBUG__ -D__WXMSW__ -IC:\wxWidgets-3.1.3\lib\gcc_lib\mswud -IC:\wxWidgets-3.1.3\include -O0 -g -W -Wall -I..\include -DwxUSE_DYNAMIC_SQLITE3_LOAD=0 -DWXSQLITE3_HAVE_METADATA=0 -DWXSQLITE3_HAVE_CODEC=0 -DWXSQLITE3_HAVE_LOAD_EXTENSION=0 -I..\sqlite3\include   -MTgccmswud\wxsqlite3_lib_wxsqlite3.o -MFgccmswud\wxsqlite3_lib_wxsqlite3.o.d -MD -MP ../src/wxsqlite3.cpp
../src/wxsqlite3.cpp: In member function 'void wxSQLite3Database::SetCollation(const wxString&, wxSQLite3Collation*)':
../src/wxsqlite3.cpp:3705:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
   int rc;
       ^~
if exist ..\lib\gcc_lib\libwxcode_msw31ud_wxsqlite3.a del ..\lib\gcc_lib\libwxcode_msw31ud_wxsqlite3.a
ar rcu ..\lib\gcc_lib\libwxcode_msw31ud_wxsqlite3.a gccmswud\wxsqlite3_lib_wxsqlite3.o
ranlib ..\lib\gcc_lib\libwxcode_msw31ud_wxsqlite3.a
g++ -c -o gccmswud\minimal_minimal.o -DHAVE_W32API_H  -D_UNICODE -D__WXDEBUG__ -D__WXMSW__ -IC:\wxWidgets-3.1.3\lib\gcc_lib\mswud -IC:\wxWidgets-3.1.3\include -O0 -g -W -Wall -I..\include -I..\samples -I..\sqlite3\include   -MTgccmswud\minimal_minimal.o -MFgccmswud\minimal_minimal.o.d -MD -MP ../samples/minimal.cpp
../samples/minimal.cpp: In member function 'virtual int Minimal::OnRun()':
../samples/minimal.cpp:623:19: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
     for (i = 0; i < sizeof bin; i++)
                 ~~^~~~~~~~~~~~
../samples/minimal.cpp:643:19: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
     for (i = 0; i < sizeof bin; i++)
                 ~~^~~~~~~~~~~~
windres --use-temp-file -i../samples/minimal.rc -ogccmswud\minimal_minimal_rc.o  --define HAVE_W32API_H  --define _UNICODE --define __WXDEBUG__ --define __WXMSW__ --include-dir C:\wxWidgets-3.1.3\lib\gcc_lib\mswud --include-dir C:\wxWidgets-3.1.3/include --include-dir ../include --include-dir ../samples --include-dir ..\sqlite3\include
g++ -o ..\samples\minimal.exe gccmswud\minimal_minimal.o gccmswud\minimal_minimal_rc.o  -mthreads -LC:\wxWidgets-3.1.3\lib\gcc_lib -g -L..\lib\gcc_lib  -L..\sqlite3\lib   ..\lib\gcc_lib\libwxcode_msw31ud_wxsqlite3.a -lsqlite3 -lwxmsw31ud_core -lwxbase31ud -lwxtiffd -lwxjpegd -lwxpngd -lwxzlibd -lwxregexud -lwxexpatd -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible ..\sqlite3\lib/sqlite3.lib when searching for -lsqlite3
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible ..\sqlite3\lib/sqlite3.dll when searching for -lsqlite3
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible ..\sqlite3\lib/sqlite3.lib when searching for -lsqlite3
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible ..\sqlite3\lib/sqlite3.dll when searching for -lsqlite3
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible ..\sqlite3\lib\sqlite3.lib when searching for -lsqlite3
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsqlite3
collect2.exe: error: ld returned 1 exit status
mingw32-make: *** [makefile.gcc:288: ..\samples\minimal.exe] Error 1

C:\wxsqlite3-3.3.1\build>
BTW, version 4.0.2 is almost 2 years old. What is your reasoning behind not using the latest released wxSQLite3 version?
I got it from SourceForge. That's the most recent version they have there.
Windows 10 Pro / Code::Blocks 17.12 / wxWidgets-3.1.3 / MinGW-w64 8.1.0

utelle
Moderator
Moderator
Posts: 971
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: Problem compiling wxSQLite3-3.3.1

Post by utelle » Tue Jan 28, 2020 10:31 pm

Slyde wrote:
Tue Jan 28, 2020 9:35 pm
It didn't go very well:
Not really surprising. wxSQLite3 3.3.1 didn't have build support for 64-bit. Especially the included SQLite library is 32-bit. And that's what the linker complained about. Since version 3.5.0 the source code of SQLite is an integrated part of wxSQLite3 to overcome such problems.

Additionally, it seems that your wxWidgets library might also be only 32-bit, because the library path does not contain the architecture indicator _x64.
Slyde wrote:
Tue Jan 28, 2020 9:35 pm
BTW, version 4.0.2 is almost 2 years old. What is your reasoning behind not using the latest released wxSQLite3 version?
I got it from SourceForge. That's the most recent version they have there.
Well, development of wxSQLite3 moved to GitHub in 2016. And this fact is mentioned near the bottom of the SourceForge download page.

Slyde
Knows some wx things
Knows some wx things
Posts: 40
Joined: Mon Apr 09, 2018 11:08 pm

Re: Problem compiling wxSQLite3-3.3.1

Post by Slyde » Tue Jan 28, 2020 10:40 pm

Thanks for your help, utelle. I have enough go to by so I think I'm going to blow up my wxWidgets and get the newest wxSQLite3 and make sure I have 64-bit builds. I might be back though :D
Windows 10 Pro / Code::Blocks 17.12 / wxWidgets-3.1.3 / MinGW-w64 8.1.0

Slyde
Knows some wx things
Knows some wx things
Posts: 40
Joined: Mon Apr 09, 2018 11:08 pm

Re: Problem compiling wxSQLite3-3.3.1

Post by Slyde » Wed Jan 29, 2020 12:33 am

I downloaded wxSQLite3-4.5.1 and ran it as you said:

Code: Select all

C:\wxsqlite3\wxsqlite3-master\build>mingw32-make config=release_x32
"==== Building wxsqlite3 (release_x32) ===="
Creating obj/x32/Release/wxsqlite3
wxsqlite3_version.rc
sqlite3secure.c
wxsqlite3.cpp
Creating ../lib/gcc_lib
Linking wxsqlite3
"==== Building minimal (release_x32) ===="
Creating obj/x32/Release/minimal
minimal.rc
minimal.cpp
Creating bin/x32/Release
Linking minimal
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a when searching for -lwxmsw31u_core
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib\libwxmsw31u_core.a when searching for -lwxmsw31u_core
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a when searching for -lwxmsw31u_core
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxmsw31u_core
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib/libwxbase31u.a when searching for -lwxbase31u
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib\libwxbase31u.a when searching for -lwxbase31u
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib/libwxbase31u.a when searching for -lwxbase31u
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxbase31u
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib/libwxjpeg.a when searching for -lwxjpeg
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib\libwxjpeg.a when searching for -lwxjpeg
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib/libwxjpeg.a when searching for -lwxjpeg
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxjpeg
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib/libwxpng.a when searching for -lwxpng
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib\libwxpng.a when searching for -lwxpng
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib/libwxpng.a when searching for -lwxpng
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxpng
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib/libwxzlib.a when searching for -lwxzlib
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib\libwxzlib.a when searching for -lwxzlib
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib/libwxzlib.a when searching for -lwxzlib
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxzlib
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib/libwxtiff.a when searching for -lwxtiff
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib\libwxtiff.a when searching for -lwxtiff
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib/libwxtiff.a when searching for -lwxtiff
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxtiff
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib/libwxexpat.a when searching for -lwxexpat
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib\libwxexpat.a when searching for -lwxexpat
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib/libwxexpat.a when searching for -lwxexpat
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxexpat
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib/libwxregexu.a when searching for -lwxregexu
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib\libwxregexu.a when searching for -lwxregexu
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\wxWidgets-3.1.3/lib/gcc_lib/libwxregexu.a when searching for -lwxregexu
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxregexu
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libkernel32.a when searching for -lkernel32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libkernel32.a when searching for -lkernel32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libkernel32.a when searching for -lkernel32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lkernel32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libuser32.a when searching for -luser32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libuser32.a when searching for -luser32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libuser32.a when searching for -luser32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -luser32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libgdi32.a when searching for -lgdi32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libgdi32.a when searching for -lgdi32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libgdi32.a when searching for -lgdi32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgdi32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libcomdlg32.a when searching for -lcomdlg32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libcomdlg32.a when searching for -lcomdlg32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libcomdlg32.a when searching for -lcomdlg32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lcomdlg32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libwinspool.a when searching for -lwinspool
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libwinspool.a when searching for -lwinspool
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libwinspool.a when searching for -lwinspool
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwinspool
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libwinmm.a when searching for -lwinmm
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libwinmm.a when searching for -lwinmm
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libwinmm.a when searching for -lwinmm
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwinmm
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libshell32.a when searching for -lshell32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libshell32.a when searching for -lshell32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libshell32.a when searching for -lshell32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lshell32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libshlwapi.a when searching for -lshlwapi
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libshlwapi.a when searching for -lshlwapi
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libshlwapi.a when searching for -lshlwapi
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lshlwapi
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libcomctl32.a when searching for -lcomctl32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libcomctl32.a when searching for -lcomctl32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libcomctl32.a when searching for -lcomctl32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lcomctl32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libole32.a when searching for -lole32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libole32.a when searching for -lole32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libole32.a when searching for -lole32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lole32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/liboleaut32.a when searching for -loleaut32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\liboleaut32.a when searching for -loleaut32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/liboleaut32.a when searching for -loleaut32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -loleaut32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libuuid.a when searching for -luuid
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libuuid.a when searching for -luuid
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libuuid.a when searching for -luuid
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -luuid
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/librpcrt4.a when searching for -lrpcrt4
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\librpcrt4.a when searching for -lrpcrt4
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/librpcrt4.a when searching for -lrpcrt4
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lrpcrt4
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libadvapi32.a when searching for -ladvapi32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libadvapi32.a when searching for -ladvapi32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libadvapi32.a when searching for -ladvapi32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ladvapi32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libversion.a when searching for -lversion
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libversion.a when searching for -lversion
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libversion.a when searching for -lversion
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lversion
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libwsock32.a when searching for -lwsock32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libwsock32.a when searching for -lwsock32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libwsock32.a when searching for -lwsock32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwsock32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libwininet.a when searching for -lwininet
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libwininet.a when searching for -lwininet
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libwininet.a when searching for -lwininet
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwininet
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/liboleacc.a when searching for -loleacc
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\liboleacc.a when searching for -loleacc
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/liboleacc.a when searching for -loleacc
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -loleacc
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libuxtheme.a when searching for -luxtheme
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libuxtheme.a when searching for -luxtheme
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libuxtheme.a when searching for -luxtheme
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -luxtheme
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/libstdc++.dll.a when searching for -lstdc++
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/libstdc++.a when searching for -lstdc++
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0\libstdc++.a when searching for -lstdc++
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/libstdc++.dll.a when searching for -lstdc++
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/libstdc++.a when searching for -lstdc++
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lstdc++
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libmingw32.a when searching for -lmingw32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libmingw32.a when searching for -lmingw32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libmingw32.a when searching for -lmingw32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmingw32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libgcc_s.a when searching for -lgcc_s
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libgcc_s.a when searching for -lgcc_s
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libgcc_s.a when searching for -lgcc_s
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgcc_s
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/libgcc.a when searching for -lgcc
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0\libgcc.a when searching for -lgcc
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/libgcc.a when searching for -lgcc
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgcc
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libmoldname.a when searching for -lmoldname
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libmoldname.a when searching for -lmoldname
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libmoldname.a when searching for -lmoldname
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmoldname
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libmingwex.a when searching for -lmingwex
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libmingwex.a when searching for -lmingwex
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libmingwex.a when searching for -lmingwex
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmingwex
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libmsvcrt.a when searching for -lmsvcrt
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libmsvcrt.a when searching for -lmsvcrt
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libmsvcrt.a when searching for -lmsvcrt
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmsvcrt
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libpthread.dll.a when searching for -lpthread
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libpthread.a when searching for -lpthread
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libpthread.a when searching for -lpthread
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libpthread.dll.a when searching for -lpthread
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libpthread.a when searching for -lpthread
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpthread
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libadvapi32.a when searching for -ladvapi32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libadvapi32.a when searching for -ladvapi32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libadvapi32.a when searching for -ladvapi32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ladvapi32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libshell32.a when searching for -lshell32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libshell32.a when searching for -lshell32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libshell32.a when searching for -lshell32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lshell32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libuser32.a when searching for -luser32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libuser32.a when searching for -luser32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libuser32.a when searching for -luser32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -luser32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libkernel32.a when searching for -lkernel32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libkernel32.a when searching for -lkernel32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libkernel32.a when searching for -lkernel32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lkernel32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libiconv.a when searching for -liconv
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libiconv.a when searching for -liconv
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libiconv.a when searching for -liconv
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -liconv
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libmingw32.a when searching for -lmingw32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libmingw32.a when searching for -lmingw32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libmingw32.a when searching for -lmingw32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmingw32
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libgcc_s.a when searching for -lgcc_s
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libgcc_s.a when searching for -lgcc_s
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libgcc_s.a when searching for -lgcc_s
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgcc_s
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/libgcc.a when searching for -lgcc
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0\libgcc.a when searching for -lgcc
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/libgcc.a when searching for -lgcc
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgcc
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libmoldname.a when searching for -lmoldname
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libmoldname.a when searching for -lmoldname
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libmoldname.a when searching for -lmoldname
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmoldname
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libmingwex.a when searching for -lmingwex
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libmingwex.a when searching for -lmingwex
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libmingwex.a when searching for -lmingwex
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmingwex
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libmsvcrt.a when searching for -lmsvcrt
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libmsvcrt.a when searching for -lmsvcrt
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libmsvcrt.a when searching for -lmsvcrt
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmsvcrt
collect2.exe: error: ld returned 1 exit status
mingw32-make[1]: *** [minimal.make:205: bin/x32/Release/minimal.exe] Error 1
mingw32-make: *** [Makefile:96: minimal] Error 2
Then I changed the cmd line and got this:

Code: Select all

C:\wxsqlite3\wxsqlite3-master\build>mingw32-make config=release_x64
"==== Building wxsqlite3 (release_x64) ===="
Creating obj/x64/Release/wxsqlite3
wxsqlite3_version.rc
sqlite3secure.c
wxsqlite3.cpp
In file included from C:\wxWidgets-3.1.3/include/wx/defs.h:45,
                 from C:\wxWidgets-3.1.3/include/wx/wxprec.h:12,
                 from ../src/wxsqlite3.cpp:17:
C:\wxWidgets-3.1.3/include/wx/platform.h:154:10: fatal error: wx/setup.h: No such file or directory
 #include "wx/setup.h"
          ^~~~~~~~~~~~
compilation terminated.
mingw32-make[1]: *** [wxsqlite3.make:252: obj/x64/Release/wxsqlite3/wxsqlite3.o] Error 1
mingw32-make: *** [Makefile:86: wxsqlite3] Error 2
What can I try next?

This is my compiler output:

Code: Select all

C:\wxsqlite3\wxsqlite3-master\build>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=C:/mingw-w64-8.1.0/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/8.1.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../src/gcc-8.1.0/configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64 --with-sysroot=/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64 --enable-shared --enable-static --disable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes --enable-threads=posix --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=nocona --with-tune=core2 --with-libiconv --with-system-zlib --with-gmp=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-mpfr=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-mpc=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-isl=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-pkgversion='x86_64-posix-seh-rev0, Built by MinGW-W64 project' --with-bugurl=https://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -fno-ident -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -fno-ident -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' CPPFLAGS=' -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' LDFLAGS='-pipe -fno-ident -L/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/lib -L/c/mingw810/prerequisites/x86_64-zlib-static/lib -L/c/mingw810/prerequisites/x86_64-w64-mingw32-static/lib '
Thread model: posix
gcc version 8.1.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)
I'm compiling with 64-bit, right?
Windows 10 Pro / Code::Blocks 17.12 / wxWidgets-3.1.3 / MinGW-w64 8.1.0

utelle
Moderator
Moderator
Posts: 971
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: Problem compiling wxSQLite3-3.3.1

Post by utelle » Wed Jan 29, 2020 9:00 am

I'll try to summarize what's going on.

1. You have a 64-bit mingw compiler installed. (The mingw compiler is available in several flavours: 32-bit / 64-bit, posix / windows, sjlj / seh. It is important to use the same compiler for all components of an application. However, I assume that requirement is fulfilled in your case.)

2. You compiled wxWidgets yourself with 64-bit mingw. For VC++ builds the 32-bit and 64-bit library variants are placed in different location, namely lib/vc_lib resp lib/vc_x64_lib. The build files coming with wxSQLite3 assume that this convention is used for mingw, too. That is, it is expected that the library path for the 64-bit build will be lib/gcc_x64_lib. However, in your case the library path is lib/gcc_lib, because the gcc makefile coming with wxWidgets has no mechanism to specify the architecture AFAICT.

3. Compiling and linking wxSQLite3 in 32-bit mode fails, because the wxWidgets libraries are 64-bit and therefore incompatible.

4. Compiling wxSQLite3 in 64-bit mode fails, because the makefile assumes the library search path as lib/gcc_x64_lib, and therefore the build specific setup.h file (which is located in the library directory) can't be found.

The easiest approach to overcome the difficulties, would be to rename the library subdirectory in the wxWidgets build from lib/gcc_lib to lib/gcc_x64_lib. Thereafter using a 64-bit configuration of wxSQLite3 should work. As an alternative you could tweak the wxSQLite3 build files by setting wxArchSuffix to an empty string for the 64-bit configurations. The latter you should only do if you are sure that you never want to use 32-bit builds in parallel.

BTW, wxWidgets provides precompiled library versions at github.

Slyde
Knows some wx things
Knows some wx things
Posts: 40
Joined: Mon Apr 09, 2018 11:08 pm

Re: Problem compiling wxSQLite3-3.3.1

Post by Slyde » Wed Jan 29, 2020 3:35 pm

This is what I'm doing:

I downloaded wxWidgets-3.1.3 ( not the pre-built binaries ) and went to config.gcc. There I changed two lines:

Code: Select all

# C compiler 
# CC = gcc
CC = x86_64-w64-mingw32-gcc

# C++ compiler 
# CXX = g++
CXX = x86_64-w64-mingw32-g++
This will provide me the 64-bit compilation, right? if so, then what makefile line ( to build Debug / Release ) do I use to compile wxWidgets so that wxWidgets and wxSQLite3 work together? Would I use this:

Code: Select all

msw>mingw32-make -f makefile.gcc UNICODE=1 SHARED=0 and WX_SHARED=1 MONOLITHIC=0 BUILD=debug
or this:

Code: Select all

msw>mingw32-make -f makefile.gcc UNICODE=1 SHARED=1 and WX_SHARED=1 MONOLITHIC=0 BUILD=debug
I appreciate your help, utelle. Sorry for being an old man who keeps messing things up, but I promise I'm trying hard to get out of your hair so I won't be bothering you about this. Thank you.
Windows 10 Pro / Code::Blocks 17.12 / wxWidgets-3.1.3 / MinGW-w64 8.1.0

utelle
Moderator
Moderator
Posts: 971
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: Problem compiling wxSQLite3-3.3.1

Post by utelle » Wed Jan 29, 2020 4:09 pm

Slyde wrote:
Wed Jan 29, 2020 3:35 pm
I downloaded wxWidgets-3.1.3 ( not the pre-built binaries ) and went to config.gcc. There I changed two lines:

Code: Select all

# C compiler 
# CC = gcc
CC = x86_64-w64-mingw32-gcc

# C++ compiler 
# CXX = g++
CXX = x86_64-w64-mingw32-g++
This will provide me the 64-bit compilation, right?
Yes, but just because your compiler is 64-bit. The above settings do not affect the library path into which the wxWidgets libraries are built. Unfortunately config.gcc does not offer a documented way to specify the library path.

As said the wxSQLite3 build files assume that for the 64-bit version the library files reside in lib/gcc_x64_lib. The easiest solution (which does not require to rebuild wxWidgets) would be to rename the library directory from gcc_lib to gcc_x64_lib.

However, I took a closer look at the wxWidgets build file makefile.gcc, and I found a way, how to set the library path. If you set the symbol COMPILER_VERSION to _x64 and recompile wxWidgets, then the library path will be as expected by wxSQLite3.

If you don't want to rebuild wxWidgets and if you don't want to rename the library directory either, then you can tweak the wxSQLite3 build files by setting wxArchSuffix to an empty string for the 64-bit configurations.
Slyde wrote:
Wed Jan 29, 2020 3:35 pm
if so, then what makefile line ( to build Debug / Release ) do I use to compile wxWidgets so that wxWidgets and wxSQLite3 work together?
See the options described above.
Slyde wrote:
Wed Jan 29, 2020 3:35 pm
I appreciate your help, utelle. Sorry for being an old man who keeps messing things up, but I promise I'm trying hard to get out of your hair so I won't be bothering you about this. Thank you.
No problem. I'm a rather old guy, too, and I'm here to help you to sort things out.

Slyde
Knows some wx things
Knows some wx things
Posts: 40
Joined: Mon Apr 09, 2018 11:08 pm

Re: Problem compiling wxSQLite3-3.3.1

Post by Slyde » Wed Jan 29, 2020 4:42 pm

I'm rebuilding xwWidgets and wxSQLite3. They're deleted from my drive and I'll build them new. But before I do, I need to know which makefile line to use for the wxWidget build. Which will be beneficial to also using wxSQLite3?

Do I use:

Code: Select all

msw>mingw32-make -f makefile.gcc UNICODE=1 SHARED=0 and WX_SHARED=1 MONOLITHIC=0 BUILD=release
or

Code: Select all

msw>mingw32-make -f makefile.gcc UNICODE=1 SHARED=1 and WX_SHARED=1 MONOLITHIC=0 BUILD=release
Also, do I replace all occurrences of COMPILER_VERSION to _x64 in the makefile.gcc ?
Windows 10 Pro / Code::Blocks 17.12 / wxWidgets-3.1.3 / MinGW-w64 8.1.0

utelle
Moderator
Moderator
Posts: 971
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: Problem compiling wxSQLite3-3.3.1

Post by utelle » Wed Jan 29, 2020 5:08 pm

Slyde wrote:
Wed Jan 29, 2020 4:42 pm
I'm rebuilding wxWidgets and wxSQLite3. They're deleted from my drive and I'll build them new. But before I do, I need to know which makefile line to use for the wxWidgets build. Which will be beneficial to also using wxSQLite3?
It's really up to you whether you build wxWidgets as a static or shared (DLL) library. wxSQLite3 will work with both. However, for wxSQLite3 itself it is typical to build a static library, so that it becomes an integrated part of the application. This is especially recommended, if you make use of the SQLite encryption extension coming with wxSQLite3.

For static wxWidgets libraries use:

Code: Select all

msw>mingw32-make -f makefile.gcc UNICODE=1 SHARED=0 MONOLITHIC=0 BUILD=release COMPILER_VERSION=_x64
For wxWidgets DLLs use

Code: Select all

msw>mingw32-make -f makefile.gcc UNICODE=1 SHARED=1 MONOLITHIC=0 BUILD=release COMPILER_VERSION=_x64
For wxSQLite3 4.5.1 in combination with static wxWidegets use

Code: Select all

msw>mingw32-make config=release_x64 all
For wxSQLite3 4.5.1 in combination with wxWidgets DLLs use

Code: Select all

msw>mingw32-make config=release_wxdll_x64 all
Slyde wrote:
Wed Jan 29, 2020 4:42 pm
Also, do I replace all occurrences of COMPILER_VERSION to _x64 in the makefile.gcc ?
No, you simply set this symbol on the make command line.

Post Reply