[msw 2.8.6] how to build wxwidgets with wxODBC & wxDBGrid support
Thomas Zehbe
tz at ingenion.de
Mon Nov 12 00:55:30 PST 2007
Hi, I'm sorry that I didn't realize that you are on windows (I always assume
using Linux :)).
So you don't need the libiodbc, but just the odbc driver of the database of
your choice.
In the doc/msw subdir you can find an install.txt. Search for mingw and you
will find two ways to build wx - one using the makefile.gcc and options, the
other way using configure. If you are using makefiles you have to add
USE_ODBC as an option when building wx.
Regards,
Thomas
Am Samstag, 10. November 2007 02:00 schrieb CG:
> chris & thomas, thanks for your reply.
>
> regarding the iodbc, as you mention , there is an older verisn
> built-in version in wxwidgets which may not support unicode well.
>
> should I download the libiodbc-3.52.5 built separately , or overwrite
> the built-in version in wxwidgets and build together with wxwidgets.
>
> besides, i came across the iodbc website, it seems like iodbc only
> officially support POSIX-like OS , could it used/compiled on Windows ?
>
> On Nov 9, 2007 11:29 PM, Thomas Zehbe <mail at thomas-zehbe.de> wrote:
> > Hi,
> > you can get it here: http://www.iodbc.org/index.php?page=downloads/index
> > or here: http://sourceforge.net/project/showfiles.php?group_id=90493
> >
> > You should install the sources tarball.
> >
> > Regards,
> > Thomas
> >
> > Am Freitag, 9. November 2007 15:22 schrieb CG:
> > > 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
> >
> > --
> > Dipl.-Ing. Thomas Zehbe
> > Kuhweide 6
> > 31552 Apelern
> >
> >
> > ---------------------------------------------------------------------
> > 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
--
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
More information about the wx-users
mailing list