Do you like to promote your wxWidgets based application or component!? Post it here and let's see what the critics have to say. Also, if you found that ONE wx component the world needs to know about, put it here for future reference.
Version 3.3.1 of wxSQLite3 has been released. It supports version 3.12.1 of SQLite. This version is compatible with wxWidgets 2.8.12 and wxWidgets 3.0.2.
The wxSQLite3 file release contains the doxygen generated documentation.
The complete C source code for building SQLite with support for 128 resp. 256 bit AES encryption is included. For convenience the SQLite amalgamation source code is included, too. Additionally the source code of the optional SQL extension functions module is included as well.
The file release for Windows additionally contains version 3.12.1 of the SQLite DLL in 3 different flavors:
the original unmodified DLL,
DLL supporting optional database file encryption using 128 bit AES encryption, and
DLL supporting optional database file encryption using 256 bit AES encryption.
Additionally a precompiled SQLite shell with encryption support for Windows is included.
-------------- Build: DLL Release Win64 x64 in wxsqlite3 (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -D_WINDOWS -D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DNDEBUG -D_USRDLL -DWXMAKINGDLL_WXSQLITE3 -D_UNICODE -DWXUSINGDLL -D__WXMSW__ -DwxUSE_DYNAMIC_SQLITE3_LOAD=0 -DWXSQLITE3_HAVE_METADATA=1 -DWXSQLITE3_HAVE_CODEC=1 -DWXSQLITE3_HAVE_LOAD_EXTENSION=0 -std=c++11 -ID:\wxWidgets-3.0.2\lib\gcc_dll\mswu -ID:\wxWidgets-3.0.2\include -I..\include -I..\sqlite3\include -c C:\Users\Administrator\Desktop\wxsqlite3-3.3.1\src\wxsqlite3.cpp -o .objs\src\wxsqlite3.o
C:\Users\Administrator\Desktop\wxsqlite3-3.3.1\src\wxsqlite3.cpp: In member function 'int wxSQLite3Database::SetLimit(wxSQLite3LimitType, int)':
C:\Users\Administrator\Desktop\wxsqlite3-3.3.1\src\wxsqlite3.cpp:4054:44: error: 'WXSQLITE_LIMIT_WORKER_THREADS' was not declared in this scope
if (id >= WXSQLITE_LIMIT_LENGTH && id <= WXSQLITE_LIMIT_WORKER_THREADS)
^
C:\Users\Administrator\Desktop\wxsqlite3-3.3.1\src\wxsqlite3.cpp: At global scope:
C:\Users\Administrator\Desktop\wxsqlite3-3.3.1\src\wxsqlite3.cpp:4081:45: error: no 'int wxSQLite3Database::GetSystemErrorCode() const' member function declared in class 'wxSQLite3Database'
int wxSQLite3Database::GetSystemErrorCode() const
^
C:\Users\Administrator\Desktop\wxsqlite3-3.3.1\src\wxsqlite3.cpp: In static member function 'static wxString wxSQLite3Database::LimitTypeToString(wxSQLite3LimitType)':
C:\Users\Administrator\Desktop\wxsqlite3-3.3.1\src\wxsqlite3.cpp:4107:48: error: 'WXSQLITE_LIMIT_WORKER_THREADS' was not declared in this scope
if (type >= WXSQLITE_LIMIT_LENGTH && type <= WXSQLITE_LIMIT_WORKER_THREADS)
^
Process terminated with status 1 (0 minute(s), 1 second(s))
3 error(s), 0 warning(s) (0 minute(s), 1 second(s))
Yes. And WXSQLITE_LIMIT_WORKER_THREADS is defined in wxsqlite3.h there. If your compiler says it can't find it, i suspect you're including an older version of wxsqlite3.h from somewhere.
Maybe you copied wxsqlite3.h from an older wxSQLite version into your wxWidgets include directory and forgot about it?
Yes. And WXSQLITE_LIMIT_WORKER_THREADS is defined in wxsqlite3.h there. If your compiler says it can't find it, i suspect you're including an older version of wxsqlite3.h from somewhere.
Obviously something is messed up. The compiler messages indicate that an outdated version of wxsqlite3.h was included. The corresponding changes were introduced in wxSQLite3 version 3.3.1. Any older version of the header file will produce those compile errors.
doublemax wrote:Maybe you copied wxsqlite3.h from an older wxSQLite version into your wxWidgets include directory and forgot about it?
Please check your path D:\wxWidgets-3.0.2\include\wx. Most probably you'll find an outdated version of wxsqlite3.h there.
BTW, usually you should not mix the wxWidgets sources and headers with add-on components like wxSQLite3 as wxSQLite3 is not an integral part of wxWidgets.