Hi! What version of wxWindows do you use? It makes a difference if wether you use 2.4.2 (the current stable one) or 2.5.1 (the CVS version). In 2.5.1 the libs have been splitted up into groups, where the DB classes are not in the base lib. For gcc it should be called something like libwxmsw_adv.a.
Using 2.4.2 everything gets compiled to one lib. You would have to link with libwxmsw.a. ODBC and DB classes are optional. Make sure you compiled them. Check the file setup.h for wxUSE_ODBC. It has to be set to 1 in order to compile these classes. Otherwise there will be undefined references and you'd have to compile the lib (or missing parts) again. Check http://upcase.malteser-gl.de for a little guide on compiling wxWindows I wrote some time ago. I got a devpack there that has ODBC support. There's also another link to a devpack of which I'm not certain it contains DB support.
upCASE ----------------------------------- If it was hard to write, it should be hard to read!- Do. Or do not. There is no try! |