EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2012  2013  2014  <20152016  2017  2018  2019  Index 2012  2013  2014  <20152016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: RE: epicsqt compile error
From: "Williams Jr., Ernest L." <[email protected]>
To: Zai Wang <[email protected]>
Cc: "[email protected]" <[email protected]>, "Babbitt, Alisha" <[email protected]>, "Williams Jr., Ernest L." <[email protected]>
Date: Tue, 17 Mar 2015 00:02:11 +0000
Hi Zai,

The actual problem is the the epicsqt package uses two different variables for the same thing.

framework uses:
# The following QWT include path and library path are only required if
INCLUDEPATH += $$(QWT_INCLUDE_PATH)

But Applications uses:
$(QWTINCLUDE)

So, I set  "QWTINCLUDE"   to  "QWT_INCLUDE_PATH"

The Getting started Guide only talks about setting:   "QWT_INCLUDE_PATH"


Alisha will send out a diff file and patch for the changes we made.

Then you can consider them for inclusion into your next release.



Cheers,
Ernest
________________________________________
From: Zai Wang [[email protected]]
Sent: Monday, March 16, 2015 4:06 PM
To: Williams Jr., Ernest L.
Subject: RE: epicsqt compile error

Hi Ernest

You might mix up with caQtDM. They have different ENV variables for the same libs. It may be easy to use other PC or virtual box without caQtDM at start.
Then you check the make log msgs to see if any error.

Note: the below log complains caQtDM no qwt include path defined.



Cheers


Zai


Subject:

epicsqt compile error

From:

"Williams Jr., Ernest L." <[email protected]<mailto:ernesto_at_slac.stanford.edu>>

To:

"[email protected]<mailto:Andrew.Rhyder_at_synchrotron.org.au>" <[email protected]<mailto:Andrew.Rhyder_at_synchrotron.org.au>>

Cc:

"[email protected]<mailto:qti-talk_at_aps.anl.gov>" <[email protected]<mailto:qti-talk_at_aps.anl.gov>>, "Babbitt, Alisha" <[email protected]<mailto:ababbitt_at_slac.stanford.edu>>, "Williams Jr., Ernest L." <[email protected]<mailto:ernesto_at_slac.stanford.edu>>

Date:

Mon, 16 Mar 2015 16:24:22 +0000


Hi Andrew,





I definitely have QWT installed

I used QWT to actually build caQtDM.

***************************************************************************

[ernesto@icd-pc90626 qwt-6.0.1]$ env |grep QWT

QWT_INCLUDE_PATH=/afs/slac/g/lcls/package/qwt-6.0.1/include

QWT_ROOT=/afs/slac/g/lcls/package/qwt-6.0.1

***************************************************************************





However, when attempting to build epicsqt, I get the following error:





cd applications/QEGuiApp/ && make -f Makefile

make[1]: Entering directory `/afs/slac.stanford.edu/g/lcls/vol8/epics/R3-14-12-4_1-0/extensions/extensions-R3-14-12/src/epicsQt/epicsQt-R3-0-2/applications/QEGuiApp'

make -f Makefile.Release

make[2]: Entering directory `/afs/slac.stanford.edu/g/lcls/vol8/epics/R3-14-12-4_1-0/extensions/extensions-R3-14-12/src/epicsQt/epicsQt-R3-0-2/applications/QEGuiApp'

g++ -c -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_REENTRANT -Wall -W -DQE_USE_CAQTDM -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/QtUiTools -I/usr/include/QtDesigner -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtScript -I/usr/include -IO.linux-x86_64/ui_headers -I. -Iinclude -I../../framework/widgets/QEWidget -I../../framework/widgets/QEForm -I../../framework/widgets/QELogin -I../../framework/data -I../../framework/api -I../../framework/common -I../../../../caQtDM/caQtDM-R3-8-10/caQtDM_Lib/src -I../../../../caQtDM/caQtDM-R3-8-10/caQtDM_QtControls/src -I -IO.linux-x86_64/moc -IO.linux-x86_64/ui_headers -o O.linux-x86_64/obj/main.o src/main.cpp                                                                                                      !



In file included from ../../../../caQtDM/caQtDM-R3-8-10/caQtDM_Lib/src/limitsStripplotDialog.h:45,

                 from ../../../../caQtDM/caQtDM-R3-8-10/caQtDM_Lib/src/caqtdm_lib.h:68,

                 from include/MainWindow.h:52,

                 from include/QEGui.h:32,

                 from src/main.cpp:27:



Replies:
RE: epicsqt compile error Zai Wang

Navigate by Date:
Prev: EPICS CA Interface for caQtDM and epicsqt Williams Jr., Ernest L.
Next: RE: EPICS CA Interface for caQtDM and epicsqt Williams Jr., Ernest L.
Index: 2012  2013  2014  <20152016  2017  2018  2019 
Navigate by Thread:
Prev: RE: epicsqt compile error Williams Jr., Ernest L.
Next: RE: epicsqt compile error Zai Wang
Index: 2012  2013  2014  <20152016  2017  2018  2019 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·