EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: caQtDM Compile Error: qwt_thermo_marker.cpp
From: "Williams Jr., Ernest L." <[email protected]>
To: "[email protected]" <[email protected]>
Cc: "Babbitt, Alisha" <[email protected]>, "[email protected]" <[email protected]>
Date: Sun, 8 Mar 2015 03:48:16 +0000
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


Replies:
Re: caQtDM Compile Error: qwt_thermo_marker.cpp Ebner Simon Gregor (PSI)

Navigate by Date:
Prev: RE: Problem with libhdf5.a when installling areaDetector-2-1 Mark Rivers
Next: Re: caQtDM Compile Error: qwt_thermo_marker.cpp Williams Jr., Ernest L.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Problem with libhdf5.a when installling areaDetector-2-1 Cristian Savlovschi
Next: Re: caQtDM Compile Error: qwt_thermo_marker.cpp Williams Jr., Ernest L.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
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 ·