I have Windows 10, and compiled wxWidgets-3.1.0 without problems. I got Codeblocs to work with this version by changing the project script. I then tried to compile wxSqlite3 - but after 3 days trying all kinds of things, reading all i can there is just no solution, so I hope someone here can help me get this to work.

I have the following included in path: .... C:\CodeBlocks\MinGW\bin;C:\wxWidgets-3.1.0;C:\wxsqlite3-3.3.1; .... and also the WXWIN pointing to C:\wxWidgets-3.1.0 in user variables under windows.

The output from trying to install it varies, the last thing i tried resulted in the result below:

wxSqlite3 still needs wxW 3.0. You can see that from the libs it is trying to link with, i.e. -lwxbase30udYou can either download the latest wxW 3.0.x version and use it to build wxSqlite3 or modify the makefile and replace 30 with 31 in the lib names in order to build using wxW 3.1.

I believe the linker errors are there because you miss some standard windows libraries. Add "shlwapi" and "version" libraries to "Link libraries" in Project build options / Linker settings. If you are using a GCC makefile you need to add these two libraries there: Append " -lshlwapi -lversion" to the lines starting with "-luuid".

I Am running Windows 64 bit and Windows 10, if it is easier to start over, just give me the steps from start, and the versions that work together. Version of wxWidgets, wxSqlite so that I can compile code that is compatible.

Thank you so much,

====================================================Sorry, getting sloppy after recompiling so many times, I did not add it properly to all lines, and now that I dis it all over - it finally compiled.

catalin wrote:wxSqlite3 still needs wxW 3.0. You can see that from the libs it is trying to link with, i.e. -lwxbase30udYou can either download the latest wxW 3.0.x version and use it to build wxSqlite3 or modify the makefile and replace 30 with 31 in the lib names in order to build using wxW 3.1.

Can anyone give me more info on this? I'm currently trying to buildwxSQLite3 with wxWidgets3.1 and I get a LNK1104 Error: "cannot open file 'wxbase30ud.lib"Where do I change the 30 to 31 at?

AKG wrote:I Am running Windows 64 bit and Windows 10, if it is easier to start over, just give me the steps from start, and the versions that work together. Version of wxWidgets, wxSqlite so that I can compile code that is compatible.

wxSQLite3 3.3.1 was released over a year ago. In the meantime the build system of wxSQLite3 has been overhauled (version 3.5.0 in January 2017). And wxSQLite3 3.5.5 is the most recent release done in June 2017.

I would strongly recommend to upgrade to this latest release of wxSQLite3. Building wxSQLite3 for wxWidgets 3.1 should work more or less out of the box. Adjustments to the actual development environment can be easily introduced via the customization files wx_setup.props resp. config.gcc.