[odb-users] Building libodb-qt-1.4.0 on XP
Dan Coffey
dcoffey at netharmonix.com
Thu Jul 21 14:30:26 EDT 2011
Hi Boris,
I started out using cygwin and I could build libodb-qt-1.4.0 and
libodb-boost-1.4.0 without any problems but not the libodb-mysql-1.4.0.
I did try
./configure CFLAGS=-mno-cygwin CXXFLAGS=-mno-cygwin LDFLAGS=-mno-cygwin
but those flags seem to have been removed from cygwin.
I've switched to MinGW Shell and I could build the libodb-1.4.0 without
any problems.
When I try the other libodb-boost or libodb-qt I get the
/configure: error: QtCore is not found;/ message.
I put the qt include files in /usr/include/qt and /usr/local/include/qt
but that did not fix the problem.
I've run:
$ ./configure CPPFLAGS=-I/usr/include/qt, no help
What am I doing wrong?
Thanks,
Dan
------------------------------------------------------------------------
* XP SP3
* MinGW Shell
* PATHS
o /d/Development/C++/ODB/libodb-qt-1.4.0
o $ ls /usr/include
FlexLexer.h boost mysql odb qt4
o $ ls /usr/include/qt
ActiveQt Qt Qt3Support QtCore QtDBus QtDeclarative QtDesigner
QtGui QtHelp QtMeeGoGraphicsSystemHelper QtMultimedia QtNetwork
QtOpenGL QtOpenVG QtScript QtScriptTools QtSql QtSvg QtTest
QtUiTools QtWebKit QtXml QtXmlPatterns phonon phonon_compat
o $ ls /usr/include/qt4
ActiveQt Qt Qt3Support QtCore QtDBus QtDeclarative QtDesigner
QtGui QtHelp QtMeeGoGraphicsSystemHelper QtMultimedia QtNetwork
QtOpenGL QtOpenVG QtScript QtScriptTools QtSql QtSvg QtTest
QtUiTools QtWebKit QtXml QtXmlPatterns phonon phonon_compat
o $ ls /usr/local/include/qt
ActiveQt Qt Qt3Support QtCore QtDBus QtDeclarative QtDesigner
QtGui QtHelp QtMeeGoGraphicsSystemHelper QtMultimedia QtNetwork
QtOpenGL QtOpenVG QtScript QtScriptTools QtSql QtSvg QtTest
QtUiTools QtWebKit QtXml QtXmlPatterns phonon phonon_compat
o $ ls /usr/local/include/qt4
ActiveQt Qt Qt3Support QtCore QtDBus QtDeclarative QtDesigner
QtGui QtHelp QtMeeGoGraphicsSystemHelper QtMultimedia QtNetwork
QtOpenGL QtOpenVG QtScript QtScriptTools QtSql QtSvg QtTest
QtUiTools QtWebKit QtXml QtXmlPatterns phonon phonon_compat
* Commands that have been executed with the output message (see below)
o $ ./configure CPPFLAGS=-I/usr/include/qt
o $ ./configure CPPFLAGS=-I/usr/include/qt4
o $ ./configure CPPFLAGS=-I/usr/include/qt4/
Output:
checking for pkg-config... no
checking for QtCore... no
configure: error: QtCore is not found; consider using CPPFLAGS/LDFLAGS
to specify its location
More information about the odb-users
mailing list