After fixing the configuration issues with rev 93 {Unable to configure svn trunk}, I ran into two issues while trying to compile unixODBC-GUI-Qt
szLogPrintf.cpp:10:22: error: autotest.h: No such file or directory
conn.cpp:3116: error: call of overloaded ‘QString(NULL)’ is ambiguous
The missing include file (autotest.h) in problem # 1 is related to a unixODBC issue
{ autotest.h}
It looks like
autotest.h
was left out of the
include_HEADERS
in
unixODBC-2.3.0/include/Makefile
and thus, not installed.
My solution was to manually copy
unixODBC-2.3.0/include/autotest.h
to my Qt include directory
/opt/local/include
.
The second issue I ran into is either a "stricter compiler problem" or because I'm using QT 4.7.1. The solution was to modify ODBCTestQ4/OdbcHandle.h, line 109 by casting the default NULL value for "desc" to a "(const char*)"
I am building unixODBC-GUI-Qt rev. 93 against Qt v4.7.1 and unixODBC v.2.3.0. I used the following configuration:
After fixing the configuration issues with rev 93 {Unable to configure svn trunk}, I ran into two issues while trying to compile unixODBC-GUI-Qt
szLogPrintf.cpp:10:22: error: autotest.h: No such file or directory
conn.cpp:3116: error: call of overloaded ‘QString(NULL)’ is ambiguous
The missing include file (autotest.h) in problem # 1 is related to a unixODBC issue
{ autotest.h}
It looks like
was left out of the
in
and thus, not installed.
My solution was to manually copy
to my Qt include directory
.
The second issue I ran into is either a "stricter compiler problem" or because I'm using QT 4.7.1. The solution was to modify ODBCTestQ4/OdbcHandle.h, line 109 by casting the default NULL value for "desc" to a "(const char*)"
These two changes allowed me to successfully make rev. 93.
Addendum: sorry about the ugly post - still trying to master the BBCode mark-up. Can't figure out how to edit my original post.