public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Angelo Graziosi <angelo.graziosi@alice.it>
To: XCygwin <cygwin-xfree@cygwin.com>
Subject: Re: [ANNOUNCEMENT] Updated: qt4-4.7.4-3
Date: Sat, 03 Mar 2012 20:14:00 -0000	[thread overview]
Message-ID: <4F527B7D.9040906@alice.it> (raw)

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

             reply	other threads:[~2012-03-03 20:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-03 20:14 Angelo Graziosi [this message]
2012-03-05  1:19 ` Building ROOT (was Re: Updated: qt4-4.7.4-3) Yaakov (Cygwin/X)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F527B7D.9040906@alice.it \
    --to=angelo.graziosi@alice.it \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).