I tried it and wxSQLite3 can't be build with GCC 5.1.0.
I tried GCC 8.1.0 from https://mingw-w64.org/doku.php/download/mingw-builds
(The installer asks for several options, leave everything as it is).
I managed to build both wxWidgets 3.1.2 and wxSQLite3 with it.
Another wxSQLite3 Installation Question
Re: Another wxSQLite3 Installation Question
Use the source, Luke!
Re: Another wxSQLite3 Installation Question
Why? When installing Code::Blocks you can choose between a setup with and a setup without bundled C++ compiler. You should have used the setup without bundled compiler, and then use your already installed version MinGW 8.2.0. There should be no problem compiling wxWidgets with MinGW 8.2.0. Alternatively, you could use the precompiled wxWidgets version for MinGW 8.1.0 and install additionally the 8.1.0 compiler.
I doubt that you can easily mix binaries produced by version 5.1.0 with those produced by version 8.2.0.
Regards,
Ulrich
Re: Another wxSQLite3 Installation Question
Unfortunately this is true for wxSQLite3 version 4.0.0 and above. The reason is that the SQLite encryption extension uses a Windows system function for generating random numbers, but the definition of that function is missing from the header files coming with TDM gcc 5.1.
Using a recent C++ compiler and a recent wxWidgets version is the best option, for sure.doublemax wrote: ↑Sun Jul 14, 2019 12:27 pmI tried GCC 8.1.0 from https://mingw-w64.org/doku.php/download/mingw-builds
(The installer asks for several options, leave everything as it is).
I managed to build both wxWidgets 3.1.2 and wxSQLite3 with it.
Regards,
Ulrich