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: "Ebner Simon Gregor (PSI)" <[email protected]>
Cc: "Mezger Anton Christian \(PSI\)" <[email protected]>, "Babbitt, Alisha" <[email protected]>, "[email protected]" <[email protected]>
Date: Mon, 9 Mar 2015 13:16:39 +0000
________________________________________
From: Ebner Simon Gregor (PSI) [[email protected]]
Sent: Monday, March 9, 2015 1:04 AM
To: Williams Jr., Ernest L.
Cc: Mezger Anton Christian (PSI); Babbitt, Alisha; [email protected]
Subject: Re: caQtDM  Compile Error: qwt_thermo_marker.cpp

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 thought it was a multiple inheritance issue based on the warning message
Can you explain this in more detail?
I thought I would never utter the words "CORBA" again.  :(

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.
================================================
Here I just downloaded qwt 6.0.1 from Source Forge and build it
Now, everything builds and installs properly

The above only worked for RHEL 6


For Fedora 21;  I can't build qwt 6.0.1
Get the following error:

[ernesto@localhost qwt-6.0.1]$ make
cd src/ && /usr/lib64/qt4/bin/qmake /home/ernesto/tools/Qwt/qwt-6.0.1/src/src.pro -o Makefile
Project ERROR: local build will conflict with /usr/lib64/libqwt.*
Makefile:33: recipe for target 'src/Makefile' failed
make: *** [src/Makefile] Error 2


In any case, we will now start playing with caQtDM under RHEL6 which is what we are using :)

Thanks again.

Cheers,
Ernest




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
>



References:
caQtDM Compile Error: qwt_thermo_marker.cpp Williams Jr., Ernest L.
Re: caQtDM Compile Error: qwt_thermo_marker.cpp Ebner Simon Gregor (PSI)

Navigate by Date:
Prev: Python Soft IOC v2.9 michael.abbott
Next: RE: Problem with libhdf5.a when installling areaDetector-2-1 Cristian Savlovschi
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: caQtDM Compile Error: qwt_thermo_marker.cpp Ebner Simon Gregor (PSI)
Next: EPICS Database Builder Tool michael.abbott
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 ·