Experimental Physics and
| |||||||||||||||||
|
Hello Ernesto
You might run into troubles using caqtdm with qwt-6.1.0 on RHEL6 (SL6) especially when you’re using KDE (its a Corba issue if you are interested in the reasons). I attached you the packaging script for caqtdm we currently use here at PSI to create our caqtdm package for SL6 (RHEL6). You have to adapt the script for sure as it is downloading qwt 6.0.1 for compilation from a local server and cloning the internal git repository for caqtdm. Also the installation path you might want to adapt. Best Simon > On 08 Mar 2015, at 04:48, Williams Jr., Ernest L. <[email protected]> wrote: > > Hi Anton, > > Here it SLAC we are heavy EDM users. > Time to checkout caQtDM :) > > I will also want to give your converter tool a try: "edl2ui" > Any new updates on the conversion table? > http://www.aps.anl.gov/epics/tech-talk/2015/msg00137.php > > > But, I am having trouble building :( > > I am trying to build the caQtDM for RHEL6 x86_64 > I am also attempting to build on Fedora 21 x86_64 > I get the same compile error message for "qwt_thermo_marker.cpp" > > > ******************************************************************* > RHEL6 ==> > ******************************************************************* > caQtDM Version: 3.8.10 > > qmake -version > QMake version 2.01a > Using Qt version 4.6.2 in /usr/lib64 > > qt-devel-4.6.2-28.el6_5.x86_64 > > QWT VERSION: qwt-6.1.0 > > QtDesigner Version 4.6.2 > /usr/include/QtDesigner > > Compile Error Below: > > g++ -c -m64 -pipe -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W -D_REENTRANT -fPIC -DIO_OPTIMIZED_FOR_TABWIDGETS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/QtUiTools -I/usr/include/QtDesigner -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtScript -I/usr/include -Isrc -I/afs/slac/g/lcls/package/qwt-6.1.0/include -Imoc -o obj/moc_leftclick_with_modifiers_eater.o moc/moc_leftclick_with_modifiers_eater.cpp > In file included from src/qwt_thermo_marker.cpp:42: > src/qwt_thermo_marker.h:111: warning: direct base 'QWidget' inaccessible in 'QwtThermoMarker' due to ambiguity > src/qwt_thermo_marker.cpp: In function 'bool qwtIsLogarithmic(const QwtThermoMarker*)': > src/qwt_thermo_marker.cpp:46: error: 'QwtScaleTransformation' has not been declared > src/qwt_thermo_marker.cpp:46: error: expected initializer before 'scaleType' > src/qwt_thermo_marker.cpp:49: error: 'scaleType' was not declared in this scope > src/qwt_thermo_marker.cpp:49: error: 'QwtScaleTransformation' has not been declared > src/qwt_thermo_marker.cpp: At global scope: > > > > > *********************************************************************************** > Fedora 21 ==> > *********************************************************************************** > caQtDM Version: 3.8.10 > > qmake -version > QMake version 2.01a > Using Qt version 4.8.6 in /usr/lib64 > > qt-devel-4.8.6-18.fc21.x86_64 > > QWT VERSION: qwt-6.1.2-1.fc21.x86_64 > > QtDesigner Version 4.8.6 > /usr/include/QtDesigner > > Compile Error Below: > > g++ -c -pipe -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC -DIO_OPTIMIZED_FOR_TABWIDGETS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -DQWT_DLL -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtUiTools -I/usr/include/QtDesigner -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtScript -I/usr/include -Isrc -I/usr/include/qwt -Imoc -I/usr/include/qwt -o obj/moc_camenu.o moc/moc_camenu.cpp > In file included from src/qwt_thermo_marker.cpp:42:0: > src/qwt_thermo_marker.h:110:20: warning: direct base ‘QWidget’ inaccessible in ‘QwtThermoMarker’ due to ambiguity > class QTCON_EXPORT QwtThermoMarker: public QWidget, public QwtAbstractScale > ^ > src/qwt_thermo_marker.cpp: In function ‘bool qwtIsLogarithmic(const QwtThermoMarker*)’: > src/qwt_thermo_marker.cpp:46:11: error: ‘QwtScaleTransformation’ does not name a type > const QwtScaleTransformation::Type scaleType = > ^ > src/qwt_thermo_marker.cpp:49:14: error: ‘scaleType’ was not declared in this scope > return ( scaleType == QwtScaleTransformation::Log10 ); > > > Cheers, > Ernesto > Attachment:
caqtdm_package-master.zip
| ||||||||||||||||
ANJ, 16 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |