As soon as I add sqlite3.c I get error(s).
No problems with FLTK.
(I'm just new to this and thought this would be the easiest way. But there must be a reason for "wxsqlite"???)
Any help appreciated.
Code: Select all
g++.exe -Wall -pipe -mthreads -Winvalid-pch -include wx_pch.h -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -DWX_PRECOMP -g -ID:\Guido\develop\wxWidgets\include -ID:\Guido\develop\wxWidgets\lib\gcc_dll\mswu -c D:\Guido\develop\SeMan\First\FirstMain.cpp -o obj\Debug\SeMan\First\FirstMain.o
windres.exe -ID:\Guido\develop\wxWidgets\include -ID:\Guido\develop\wxWidgets\lib\gcc_dll\mswu -J rc -O coff -i D:\Guido\develop\SeMan\First\resource.rc -o obj\Debug\SeMan\First\resource.res
g++.exe -LD:\Guido\develop\wxWidgets\lib\gcc_dll -o bin\Debug\First.exe obj\Debug\sqlite-amalgamation-3310100\sqlite3.o obj\Debug\SeMan\First\FirstApp.o obj\Debug\SeMan\First\FirstMain.o obj\Debug\SeMan\First\resource.res -mthreads -lwxmsw30u_core -lwxbase30u -lwxpng -lwxzlib -mwindows
cc1.exe: warning: ./wx_pch.h.gch/Debug_SeMan_First_wx_pch_h_gch: not for GNU C17
cc1.exe: warning: ./wx_pch.h.gch/Debug_wx_pch_h_gch: not for GNU C17
In file included from D:\Guido\develop\wxWidgets\include/wx/strconv.h:17,
from D:\Guido\develop\wxWidgets\include/wx/strvararg.h:20,
from D:\Guido\develop\wxWidgets\include/wx/string.h:46,
from D:\Guido\develop\wxWidgets\include/wx/log.h:43,
from D:\Guido\develop\wxWidgets\include/wx/msw/private.h:23,
from D:\Guido\develop\wxWidgets\include/wx/wxprec.h:44,
from ./wx_pch.h:14,
from <command-line>:
D:\Guido\develop\wxWidgets\include/wx/buffer.h:19:1: error: unknown type name 'class'
class WXDLLIMPEXP_FWD_BASE wxCStrData;
^~~~~
D:\Guido\develop\wxWidgets\include/wx/buffer.h:27:1: error: unknown type name 'namespace'; did you mean 'iswspace'?
namespace wxPrivate
...