I'm having trouble to compile wxsqlite3. I'm trying to set up a development environment with code blocks, mingw, wxwidgets 2.9.4 and wxsqlite 3 in windows xp; wxwidgets has been compiled and tested and everything seems to be correct; I compiled wxwidgets as a monolithic shared library (dll) and when I try to compile wxsqlite 3 (using build29 makefile.gcc) I receive some warnings and 1 error: "mingw32\bin\ld.exe: cannot find -lwxbase29ud".
This is my makefile.gcc configuration:
Code: Select all
# Compiler flags to link shared library
LINK_DLL_FLAGS ?= -shared
# C++ compiler
CXX = g++
# Standard flags for C++
# Standard preprocessor flags (common for CC and CXX)
# Standard linker flags
# Use DLL build of wx library? [0,1]
WX_SHARED ?= 1
# Use debug build of wxWidgets (linked with debug CRT)? [0,1]
WX_DEBUG ?= 1
# Version of the wx library to build against.
WX_VERSION ?= 29
# The directory where wxWidgets library is installed
WX_DIR ?= $(WXWIN)
# Build this wxCode component as DLL or as static library? [0,1]
SHARED ?= 1
# If 1 then the SQLite library will be loaded dynamically at run time [1,0]
USE_DYNAMIC_SQLITE3_LOAD ?= 0
# If 1 then the SQLite library has to be compiled with meta data support [1,0]
HAVE_METADATA ?= 0
# If 1 then the SQLite library has to be compiled with codec support [1,0]
HAVE_CODEC ?= 0
# If 1 then the SQLite library has to be compiled with loadable extension support [1,0]
HAVE_LOAD_EXTENSION ?= 0
# Folder where the SQLite3 link library is located
SQLITE3_DIR ?= ..\sqlite3
Two files are created anyway: wxsqlite3_dll_wxsqlite3.o and wxsqlite3_dll_wxsqlite3.o.d in gccmswud_dll folder but I don't know how to use these files and if they are correct. I cannot find a complete step by step guide to compile and test wxsqlite3 so I am very confused...
Please help me.