I'm just porting my project over to windows and seem to be having trouble with ODBC support in wxWidgets. My project compiles but when it goes to link i get undefined reference errors such as:
Now, under linux I just made sure that I built wxWidgets with:.objs\odbc.o:odbc.cpp:(.text+0x5b2): undefined reference to `_imp___ZN14wxDbConnectInfC1EPvRK8wxStringS3_S3_S3_S3_S3_'
.objs\odbc.o:odbc.cpp:(.text+0x786): undefined reference to `_imp___Z17wxDbGetConnectionP14wxDbConnectInfb'
.objs\odbc.o:odbc.cpp:(.text+0x7ef): undefined reference to `_imp___Z17wxDbGetConnectionP14wxDbConnectInfb'
.objs\odbc.o:odbc.cpp:(.text+0x9fa): undefined reference to `_imp___ZN4wxDb10GetColumnsERK8wxStringPtPKc'
and everything would work fine../configure --with-odbc
Under windows however I'm not sure how to enable ODBC. I edited the config.gcc file to enable 'USE_ODBC=1' but it still doesn't seem to have built it in. The setup.h file for my build still had wxUSE_ODBC set to 0 as well.
Am I missing a step? What is required to get ODBC support enabled when building wxWidgets from source under MSW?
Cheers.