Originally Posted by
jpn
Exactly what did you write to the .pro file?
SUBDIRS += src
TEMPLATE = subdirs
CONFIG += warn_on \
qt \
thread
INCLUDEPATH += /usr/include/oracle/10.2.0.4/client
SUBDIRS += src
TEMPLATE = subdirs
CONFIG += warn_on \
qt \
thread
INCLUDEPATH += /usr/include/oracle/10.2.0.4/client
To copy to clipboard, switch view to plain text mode
Originally Posted by
jpn
In which exact directory is occi.h?
Like above.
Originally Posted by
jpn
How did you write the include directive?
Normally as
#include <occi.h>
#include <occi.h>
To copy to clipboard, switch view to plain text mode
Originally Posted by
jpn
What does the corresponding compiler command look like, including all arguments?
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I. -I. -o oracleconn.o oracleconn.cpp
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I. -I. -o oracleconn.o oracleconn.cpp
To copy to clipboard, switch view to plain text mode
Any ideas what could be wrong??
Bookmarks