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  <20132014  2015  2016  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Error building EPICSQt
From: Zenon Szalata <[email protected]>
To: <[email protected]>
Date: Wed, 3 Apr 2013 10:55:38 -0700
Hi Lucas,
I am guessing that you are using epicsQt version 2.0 or higher.
It seems to me that you did not export the QWT_INCLUDE_PATH to point to where your qwt package is installed. Also, at the bottom of framework.pro file you may want to modify the line which specifies the qwt library. I have modified it to:
LIBS += -L$$(QWTDIR)/lib -lqwt,
where I use an environment variable QWTDIR to point to the qwt top directory. Of course, you have built the qwt package.
Specifically, I have installed qwt in /opt/qt/qwt, hence in my case
QWT_INCLUDE_PATH=/opt/qt/qwt/src
and
QWTDIR=/opt/qt/qwt.

I hope that helps.
Zen


On 04/03/13 10:13, Lucas Jose Monteiro Carvalho wrote:
Hello, all

I'm trying to build the EPICSQt, using Ubuntu, but I have this problem, when I make directly on QT Creator:

-------
/usr/bin/ld: cannot find -lqwt
collect2: ld returned 1 exit status
-------

My epicsqt.pro file:

-------

    TEMPLATE = subdirs
    CONFIG   += ordered
    CONFIG   += qwt

message( Applications may need to load the framework library directly. To ensure this can happen one option is to set up LD_LIBRARY_PATH to include the directory <your-epicsqt-project-location>/framework/designer. LD_LIBRARY_PATH is currently $(LD_LIBRARY_PATH) )

message( Applications may need to load the framework library as a Qt plugin. To ensure this can happen one option is to set up QT_PLUGIN_PATH to include the directory <your-epicsqt-project-location>/framework. LD_LIBRARY_PATH is currently $(QT_PLUGIN_PATH) )

SUBDIRS = \
     framework \
     applications/QEGuiApp \
     applications/QEMonitorApp

-------

I have also other problem, resolved partly:

The EPICSQt does not find some libraries, like qwt_plot.h and qwt_plot_curve.h, that are in the folder "/usr/include/qwt-qt4/", and to resolve, I add the complete path in code.

Example:

#include <qwt_plot.h>

Only works when I replace to:

#include </usr/include/qwt-qt4/qwt_plot.h>

I exported some enviroment variables:

QWT_INCLUDE_PATH = /usr/include/qwt-qt4/
EPICS_HOST_ARCH = linux-x86_64
EPICS_BASE = /home/ABTLUS/lucas.monteiro/Documentos/EPICS/base


Thanks in advance,
Lucas José Monteiro Carvalho
Control Group
Brazilian Synchrotron Light Laboratory
[email protected]
+55 19 8217-6011


References:
Error building EPICSQt Lucas Jose Monteiro Carvalho

Navigate by Date:
Prev: Error building EPICSQt Lucas Jose Monteiro Carvalho
Next: setStringParam in my asynPortDriver Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Error building EPICSQt Lucas Jose Monteiro Carvalho
Next: setStringParam in my asynPortDriver Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·