Building CVS head with --with-odbc fails

Thomas Zehbe mail at thomas-zehbe.de
Tue Jul 3 05:36:41 PDT 2007


Hi,

You should use the libiodbc-3.52.2 and build it from source. It supports UTF-8 
than recofigure and build wxWidgets. This works for me at least.

Regards,

Thomas


Am Dienstag, 3. Juli 2007 00:49 schrieb David Nock:
> As per subject, get the following error:
>
> /Users/davidn/Development/C++/wxcvs/wxWindowsTest_20070703/buildMulti/bk-de
>ps g++ -c -o baselib_wfstream.o  -D__WXMAC__     -DWXBUILDING -I../src/tiff
> -I../src/jpeg -I../src/png -I../src/zlib  -I../src/regex
> -I../src/expat/lib -DwxUSE_GUI=0 -DwxUSE_BASE=1 -Wall -Wundef
> -Wno-ctor-dtor-privacy -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_
> -I/Users/davidn/Development/C++/wxcvs/wxWindowsTest_20070703/buildMulti/lib
>/wx/include/mac-unicode-release-static-2.9 -I../include -fpascal-strings
> -I../src/mac/carbon/morefilex
> -I/Developer/Headers/FlatCarbon -O2 -fno-strict-aliasing -fno-common
> ../src/common/wfstream.cpp
> ../include/wx/db.h: In member function 'const wxChar*
> wxDbConnectInf::GetDescription()':
> ../include/wx/db.h:342: error: invalid conversion from 'const void*' to
> 'const wxChar*'
> ../include/wx/db.h: In member function 'const wxChar*
> wxDbConnectInf::GetFileType()':
> ../include/wx/db.h:343: error: invalid conversion from 'const void*' to
> 'const wxChar*'
> ../include/wx/db.h: In member function 'const wxChar*
> wxDbConnectInf::GetDefaultDir()':
> ../include/wx/db.h:344: error: invalid conversion from 'const void*' to
> 'const wxChar*'
>
> Using: Mac OS X 10.4.10 Intel, gcc, wx CVS
>
> Configured wxWidgets 2.9.0 for `i686-apple-darwin8.10.1'
>
>   Which GUI toolkit should wxWidgets use?                 mac
>   Should wxWidgets be compiled into single library?       no
>   Should wxWidgets be compiled in debug mode?             no
>   Should wxWidgets be linked as a shared library?         no
>   Should wxWidgets support Unicode?                       yes (using
> wchar_t)
>   What level of wxWidgets compatibility should be enabled?
>                                        wxWidgets 2.6      no
>                                        wxWidgets 2.8      yes
>   Which libraries should wxWidgets use?
>                                        jpeg               builtin
>                                        png                builtin
>                                        regex              builtin
>                                        tiff               builtin
>                                        zlib               builtin
>                                        odbc               sys
>                                        expat              builtin
>                                        libmspack          no
>                                        sdl                no
>
> Dave
>
> ---------------------------------------------------------------------
> 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




More information about the wx-users mailing list