public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Re: [ANNOUNCEMENT] Updated: qt4-4.7.4-3
@ 2012-03-03 20:14 Angelo Graziosi
  2012-03-05  1:19 ` Building ROOT (was Re: Updated: qt4-4.7.4-3) Yaakov (Cygwin/X)
  0 siblings, 1 reply; 2+ messages in thread
From: Angelo Graziosi @ 2012-03-03 20:14 UTC (permalink / raw)
  To: XCygwin

[-- Attachment #1: Type: text/plain, Size: 2491 bytes --]

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 #2: build-ROOT-configure.output.bz2 --]
[-- Type: application/octet-stream, Size: 1928 bytes --]

[-- Attachment #3: Type: text/plain, Size: 223 bytes --]

--
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-05  1:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-03 20:14 [ANNOUNCEMENT] Updated: qt4-4.7.4-3 Angelo Graziosi
2012-03-05  1:19 ` Building ROOT (was Re: Updated: qt4-4.7.4-3) Yaakov (Cygwin/X)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).