[msw 2.8.6] how to build wxwidgets with wxODBC & wxDBGrid support

chris elliott biol75 at york.ac.uk
Fri Nov 9 06:29:29 PST 2007


well, mingw can build either using
make -f makefile.gcc [...]

or by doing
configure --with-odbc --enable-debug [...other options ] && make

so you get the choice. In the first case you have to edit setup.h by 
hand, in the second configure does it for you (and may give better error 
messages if libraries are not present).

chris



CG wrote:
> unfortunately I am using mingw on winxp , I think the config args only
> applicable to wxGTK ..
> 
> By the way , I do not catch what you mean that "should not use buildin
> iodbc but build/install original libiodbc-3.52.5". Where can I get the
> original libiodbc ?
> 
> On Nov 9, 2007 9:04 PM, Thomas Zehbe <tz at ingenion.de> wrote:
>> Hi,
>>
>> You can use config args like this:
>> configure --with-gtk=2 --enable-debug --enable-unicode --disable-universal
>> --disable-monolithic --enable-gui --enable-shared --enable-exceptions
>> --with-odbc --with-opengl
>>
>> But to make odbc work, you shouldn't use the buildin iodbc, but build and
>> install the original libiodbc-3.52.5, so that wx can pick this. This is
>> required if you want to use unicode.
>>
>> Regards,
>> Thomas
>>
>> Am Freitag, 9. November 2007 12:51 schrieb CG:
>>
>>> Hi all, I try to build the wxWidgets msw 2.8.6 , with MONOLITHIC=0
>>> SHARED=1 UNICODE=1 , I get the wxbase, wxadv , xrc etc library .
>>> However, I didn't get the odbc library and the dbgrid library.
>>>
>>> I have searched the Internet , but the searching result only show me
>>> how to change the setup.h to enable the ODBC on the application built
>>> on wxwidgets. It does not helps me because my problem is I do not get
>>> the wxODBC library after building the wxwidgets .
>>>
>>> How should I do to get a wxWidgets built with wxODBC and wxDbGrid ?
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
>>> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>> --
>> Dipl.-Ing. Thomas Zehbe
>> INGENION GmbH
>> Kuhweide 6
>> 31552 Apelern
>> Fon: 05043 / 40 57 90 4
>> Fax: 05043 / 40 57 90 7
>> www.ingenion.de
>>
>> Geschäftsführer: Dipl.-Ing. Thomas Zehbe
>> Amtsgericht Stadthagen, HRB 200093
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
>> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
> 
> 




More information about the wx-users mailing list