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: "[email protected]" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Babbitt, Alisha" <[email protected]>, "Williams Jr., Ernest L." <[email protected]>
Date: Mon, 16 Mar 2015 17:01:51 +0000
Hi andrew,

Next problem:
*************************************************************************************
g++ -m64 -Wl,-O1 -o qegui O.linux-x86_64/obj/main.o O.linux-x86_64/obj/MainWindow.o O.linux-x86_64/obj/StartupParams.o O.linux-x86_64/obj/InstanceManager.o O.linux-x86_64/obj/saveRestoreManager.o O.linux-x86_64/obj/saveDialog.o O.linux-x86_64/obj/QEGui.o O.linux-x86_64/obj/restoreDialog.o O.linux-x86_64/obj/manageConfigDialog.o O.linux-x86_64/obj/loginDialog.o O.linux-x86_64/obj/recentFile.o O.linux-x86_64/obj/aboutDialog.o O.linux-x86_64/obj/moc_MainWindow.o O.linux-x86_64/obj/moc_InstanceManager.o O.linux-x86_64/obj/moc_saveRestoreManager.o O.linux-x86_64/obj/moc_saveDialog.o O.linux-x86_64/obj/moc_restoreDialog.o O.linux-x86_64/obj/moc_manageConfigDialog.o O.linux-x86_64/obj/moc_recentFile.o O.linux-x86_64/obj/moc_aboutDialog.o O.linux-x86_64/obj/qrc_QEGui.o     -L/afs/slac/g/lcls/epics/R3-14-12-4_1-0/base/base-R3-14-12-4_1-0/lib/linux-x86_64 -lca -lCom -L../../framework/designer -lQEPlugin -L/afs/slac/g/lcls/epics/R3-14-12-4_1-0/extensions/extensions-R3-14-12/src/caQtDM/!
 caQtDM-R3-8-10/caQtDM_Lib -lcaQtDM_Lib -lQtScript -lQtXml -lQtGui -lQtNetwork -lQtCore -lQtDesigner -lpthread -lQtUiTools
/usr/bin/ld: cannot find -lcaQtDM_Lib
collect2: ld returned 1 exit status
make[2]: *** [qegui] Error 1
make[2]: Leaving 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'
****************************************************************************************


I modified  "<>/epicsQt/epicsQt-R3-0-2/applications/QEGuiApp/QEGuiApp.pro"   to reference the correct location :

"QE_CAQTDM/caQtDM_Binaries"


#===========================================================
# PSI's caQtDM integration
isEmpty( _QE_CAQTDM ) {
} else {
    INCLUDEPATH += $$(QE_CAQTDM)/caQtDM_Lib/src \
                   $$(QE_CAQTDM)/caQtDM_QtControls/src \
                   $(QWTINCLUDE)
    LIBS += -L$$(QE_CAQTDM)/caQtDM_Binaries -lcaQtDM_Lib
}
#===========================================================


________________________________________
From: Williams Jr., Ernest L.
Sent: Monday, March 16, 2015 9:42 AM
To: [email protected]
Cc: Babbitt, Alisha; [email protected]; Szalata, Zenon M.; Williams Jr., Ernest L.
Subject: RE: epicsqt compile error

Hi Andrew,

In order to solve the issue below; I had to define  "QWTINCLUDE"

export QWT_INCLUDE_PATH=$QWT_ROOT/include
export QWTINCLUDE=$QWT_INCLUDE_PATH


Your Getting Started guide only mentions:  "QWT_INCLUDE_PATH"



Cheers,
Ernest

________________________________________
From: Williams Jr., Ernest L.
Sent: Monday, March 16, 2015 9:24 AM
To: [email protected]
Cc: Babbitt, Alisha; [email protected]; Szalata, Zenon M.; Williams Jr., Ernest L.
Subject: epicsqt compile error

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:
../../../../caQtDM/caQtDM-R3-8-10/caQtDM_QtControls/src/castripplot.h:34:22: error: qwt_plot.h: No such file or directory
../../../../caQtDM/caQtDM-R3-8-10/caQtDM_QtControls/src/castripplot.h:35:28: error: qwt_plot_curve.h: No such file or directory
../../../../caQtDM/caQtDM-R3-8-10/caQtDM_QtControls/src/castripplot.h:36:36: error: qwt_plot_intervalcurve.h: No such file or directory
../../../../caQtDM/caQtDM-R3-8-10/caQtDM_QtControls/src/castripplot.h:37:27: error: qwt_plot_grid.h: No such file or directory
../../../../caQtDM/caQtDM-R3-8-10/caQtDM_QtControls/src/castripplot.h:38:29: error: qwt_plot_canvas.h: No such file or directory
../../../../caQtDM/caQtDM-R3-8-10/caQtDM_QtControls/src/castripplot.h:39:33: error: qwt_interval_symbol.h: No such file or directory
../../../../caQtDM/caQtDM-R3-8-10/caQtDM_QtControls/src/castripplot.h:40:24: error: qwt_symbol.h: No such file or directory
../../../../caQtDM/caQtDM-R3-8-10/caQtDM_QtControls/src/castripplot.h:41:30: error: qwt_scale_widget.h: No such file or directory
../../../../caQtDM/caQtDM-R3-8-10/caQtDM_QtControls/src/castripplot.h:42:29: error: qwt_plot_picker.h: No such file or directory
../../../../caQtDM/caQtDM-R3-8-10/caQtDM_QtControls/src/castripplot.h:43:29: error: qwt_plot_layout.h: No such file or directory
../../../../caQtDM/caQtDM-R3-8-10/caQtDM_QtControls/src/castripplot.h:45:28: error: qwt_scale_draw.h: No such file or directory
../../../../caQtDM/caQtDM-R3-8-10/caQtDM_QtControls/src/castripplot.h:46:24: error: qwt_legend.h: No such file or directory
../../../../caQtDM/caQtDM-R3-8-10/caQtDM_QtControls/src/castripplot.h:47:30: error: qwt_scale_engine.h: No such file or directory
../../../../caQtDM/caQtDM-R3-8-10/caQtDM_QtControls/src/castripplot.h:51:31: error: qwt_legend_item.h: No such file or directory
../../../../caQtDM/caQtDM-R3-8-10/caQtDM_QtControls/src/castripplot.h:54:29: error: qwt_plot_marker.h: No such file or directory

========================================================================================================
Any ideas here?


Cheers,
Ernest




References:
epicsqt compile error Williams Jr., Ernest L.
RE: epicsqt compile error Williams Jr., Ernest L.

Navigate by Date:
Prev: RE: epicsqt compile error Williams Jr., Ernest L.
Next: 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 Williams Jr., Ernest L.
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 ·