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: Re: caQtDM Compile Error: qwt_thermo_marker.cpp
From: "Williams Jr., Ernest L." <[email protected]>
To: "Mezger Anton Christian (PSI)" <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Mon, 9 Mar 2015 07:56:58 +0000

Sent from my iPhone

> On Mar 9, 2015, at 12:07 AM, Mezger Anton Christian (PSI) <[email protected]> wrote:
> 
> Hi Ernesto,
> 
> I updated the table and it can be viewed on our site.
Sounds good

> For building caQtDM, do not use qmake directly. You should use the schell script caQtDM_BuildAll. I hope it will work like that.

Indeed, the compile error happens when using the build script 

-- Ernesto

> 
> Best regards
> 
> Anton
> 
> -----Original Message-----
> From: Williams Jr., Ernest L. [mailto:[email protected]] 
> Sent: Sonntag, 8. März 2015 04:48
> To: Mezger Anton Christian (PSI)
> Cc: Babbitt, Alisha; [email protected]; Williams Jr., Ernest L.
> Subject: caQtDM Compile Error: qwt_thermo_marker.cpp
> 
> 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 
> g++ -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
> g++ -Wall -W -D_REENTRANT -fPIC -DIO_OPTIMIZED_FOR_TABWIDGETS 
> g++ -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB 
> g++ -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS 
> g++ -I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/QtUiTools 
> g++ -I/usr/include/QtDesigner -I/usr/include/QtCore -I/usr/include/QtGui 
> g++ -I/usr/include/QtXml -I/usr/include/QtScript -I/usr/include -Isrc 
> g++ -I/afs/slac/g/lcls/package/qwt-6.1.0/include -Imoc -o 
> g++ obj/moc_leftclick_with_modifiers_eater.o 
> g++ 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 
> g++ -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong 
> g++ --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
> g++ -O2 -Wall -W -D_REENTRANT -fPIC -DIO_OPTIMIZED_FOR_TABWIDGETS 
> g++ -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB 
> g++ -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS 
> g++ -DQWT_DLL -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. 
> g++ -I/usr/include/QtUiTools -I/usr/include/QtDesigner 
> g++ -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml 
> g++ -I/usr/include/QtScript -I/usr/include -Isrc -I/usr/include/qwt 
> g++ -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


References:
caQtDM Compile Error: qwt_thermo_marker.cpp Williams Jr., Ernest L.

Navigate by Date:
Prev: caQtDM Compile Error: qwt_thermo_marker.cpp Williams Jr., Ernest L.
Next: Re: caQtDM Compile Error: qwt_thermo_marker.cpp Ebner Simon Gregor (PSI)
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: caQtDM Compile Error: qwt_thermo_marker.cpp Williams Jr., Ernest L.
Next: Re: caQtDM Compile Error: qwt_thermo_marker.cpp Ebner Simon Gregor (PSI)
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 ·