wxMac 2.6.3 and iODBC

Amit amitgupta.it at gmail.com
Tue Aug 29 21:23:46 PDT 2006


Hello,

I Did some RnD on getting iODBC working on macintosh. Firstly I
compiled wxMac 2.6.3 (with wxUSE_ODBC = 1) using XCode 2.2.1. Yipeee !.
But when I use this library in my Application I get the following link
error.

ld: Undefined symbols:
_SQLAllocConnect
_SQLAllocEnv
_SQLAllocStmt
_SQLColAttributes
_SQLColumns
_SQLConnect
_SQLDataSources
_SQLDisconnect
_SQLDriverConnect
_SQLError
_SQLExecDirect
_SQLFetch
_SQLForeignKeys
_SQLFreeConnect
_SQLFreeEnv
_SQLFreeStmt
_SQLGetData
_SQLGetInfo
_SQLGetTypeInfo
_SQLNumResultCols
_SQLPrimaryKeys
_SQLSetConnectOption
_SQLTablePrivileges
_SQLTables
_SQLTransact
_SQLBindCol
_SQLBindParameter
_SQLExecute
_SQLExtendedFetch
_SQLGetStmtOption
_SQLParamData
_SQLPrepare
_SQLPutData
_SQLSetStmtOption

Can anyone help on this. !!

One more thing, is it neccesary to install OpenLink Software to wxODBC
working on Mac ?

Regards,
-Amit Gupta

amit gupta wrote:
> Hello,
>
> I have an wxWidgets based application on Mac which requires database
> connectivity to Oracle & SQL Server.
>
> Can anyone help me configure iODBC on macintosh and use it with
> wxWidgets, & also please let me know if there are any dependencies or
> limitations of using iODBC on mac.
>
> BTW : Compiling wxMac with wxUSE_ODBC flag set to 1 using CodeWarrior
> 8.3 gives 88 errors like "undefined identifier 'SQLTCHAR' ........
> 
> Regards
> -Amit Gupta







More information about the wx-users mailing list