This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated: qt4-4.7.4-3


Yaakov (Cygwin/X) wrote:

I have finally updated Qt4 in the Cygwin distribution to 4.7.4

Just for the sake of completeness...


I find the following problem with Cygwin-X QT4 4.7.4.

Trying to build a CERN application, ROOT [*], it fails in this way:

[...]
g++ -O2 -pipe -Wall -Woverloaded-virtual -Iinclude -I/usr/X11R6/include -DQT3_SUPPORT -DQT_DLL -DQT_THREAD_SUPPORT -I. -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -o gui/qtgsi/src/TQCanvasImp.o -c /tmp/root/gui/qtgsi/src/TQCanvasImp.cxx
Generating dictionary gui/qtgsi/src/G__QtGSI.cxx...
core/utils/src/rootcint_tmp.exe -cint -f gui/qtgsi/src/G__QtGSI.cxx -c -DQTVERS=4 /tmp/root/gui/qtgsi/inc/TQApplication.h /tmp/root/gui/qtgsi/inc/TQRootDialog.h /tmp/root/gui/qtgsi/inc/TQRootCanvas.h /tmp/root/gui/qtgsi/inc/TQRootGuiFactory.h /tmp/root/gui/qtgsi/inc/TQCanvasMenu.h /tmp/root/gui/qtgsi/inc/TQRootApplication.h /tmp/root/gui/qtgsi/inc/TQCanvasImp.h /tmp/root/gui/qtgsi/inc/LinkDef.h
Error: Symbol QCloseEvent is not defined in current scope include/TQRootDialog.h:81:
Error: Symbol ce is not defined in current scope include/TQRootDialog.h:81:
Error: void type variable can not be declared include/TQRootDialog.h:81:
Error: Syntax error include/TQRootCanvas.h:159:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing gui/qtgsi/src/G__QtGSI.cxx gui/qtgsi/src/G__QtGSI.h !!!
Error: core/utils/src/rootcint_tmp: error loading headers...
/tmp/root/gui/qtgsi/Module.mk:69: recipe for target `gui/qtgsi/src/G__QtGSI.cxx' failed
make: *** [gui/qtgsi/src/G__QtGSI.cxx] Error 1


To reproduce:

$ wget ftp://root.cern.ch/root/root_v5.32.01.source.tar.gz
$ tar -xf root_v5.32.01.source.tar.gz
$ cd root

$ ./configure win32gcc --enable-qt --with-qt-incdir=/usr/include/qt4 --with-qt-libdir=/usr/lib/qt4/lib 2>&1 | tee /tmp/build-ROOT.log

$ make 2>&1 | tee -a /tmp/build-ROOT.log

ROOT builds fine with QT4 4.5 on Cygwin and on GNU/Linux Kubuntu with QT4 4.7.4.

Another strange thing I notice is that I need to add

--with-qt-incdir=/usr/include/qt4 --with-qt-libdir=/usr/lib/qt4/lib

to "./configure..."

Ciao,
Angelo.

---
http://root.cern.ch

Attachment: build-ROOT-configure.output.bz2
Description: Binary data

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]