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

Subject: RE: epicsqt
From: Mark Rivers <[email protected]>
To: "Siddons, David" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Mon, 29 May 2017 19:56:39 +0000
Hi Pete,

What directories are ContainerProfile.h and QEFormMapper.h located in?

The directories being searched with -I when building main.cpp are:

-I/usr/share/qt4/mkspecs/linux-g++ 
-I. 
-I/usr/include/qt4/QtUiTools 
-I/usr/include/qt4/QtDesigner 
-I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtNetwork 
-I/usr/include/qt4/QtGui 
-I/usr/include/qt4/QtXml 
-I/usr/include/qt4/QtScript 
-I/usr/include/qt4 
-IO.linux-x86_64/ui 
-I. 
-Iinclude 
-I/home/peter/epicsqt//include 
-IO.linux-x86_64/moc 
-IO.linux-x86_64/ui 

It looks like the current default directory when it compiles main.cpp is /home/peter/epicsqt/trunk/applications/QEGuiApp.  So that is the location of ., include, and O.linux-x86_64.
Is ContainerProfile.h in one of those directories?  

Mark


________________________________________
From: Siddons, David [[email protected]]
Sent: Monday, May 29, 2017 2:35 PM
To: Mark Rivers
Cc: [email protected]
Subject: RE: epicsqt

Hi Mark,
  I started from scratch, by downloading the Application Makefile from the svn repository, as per the docs, and running make. It downloads all the code and starts a build. Eventually it stops here:

cd applications/QEGuiApp/ && make -f Makefile.linux-x86_64
make[2]: Entering directory '/home/peter/epicsqt/trunk/applications/QEGuiApp'
/usr/lib/x86_64-linux-gnu/qt4/bin/uic src/MainWindow.ui -o O.linux-x86_64/ui/ui_MainWindow.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic src/MessageLog.ui -o O.linux-x86_64/ui/ui_MessageLog.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic src/saveDialog.ui -o O.linux-x86_64/ui/ui_saveDialog.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic src/restoreDialog.ui -o O.linux-x86_64/ui/ui_restoreDialog.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic src/manageConfigDialog.ui -o O.linux-x86_64/ui/ui_manageConfigDialog.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic src/aboutDialog.ui -o O.linux-x86_64/ui/ui_aboutDialog.h
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -IO.linux-x86_64/ui -I. -Iinclude -I/home/peter/epicsqt//include -IO.linux-x86_64/moc -IO.linux-x86_64/ui -o O.linux-x86_64/obj/main.o src/main.cpp
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -IO.linux-x86_64/ui -I. -Iinclude -I/home/peter/epicsqt//include -IO.linux-x86_64/moc -IO.linux-x86_64/ui -o O.linux-x86_64/obj/MainWindow.o src/MainWindow.cpp
In file included from src/main.cpp:27:0:
include/QEGui.h:31:30: fatal error: ContainerProfile.h: No such file or directory
compilation terminated.
Makefile.linux-x86_64:332: recipe for target 'O.linux-x86_64/obj/main.o' failed
make[2]: *** [O.linux-x86_64/obj/main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from src/MainWindow.cpp:145:0:
include/MainWindow.h:31:26: fatal error: QEFormMapper.h: No such file or directory
compilation terminated.
Makefile.linux-x86_64:339: recipe for target 'O.linux-x86_64/obj/MainWindow.o' failed
make[2]: *** [O.linux-x86_64/obj/MainWindow.o] Error 1
make[2]: Leaving directory '/home/peter/epicsqt/trunk/applications/QEGuiApp'
Makefile.linux-x86_64:81: recipe for target 'sub-applications-QEGuiApp-make_default-ordered' failed
make[1]: *** [sub-applications-QEGuiApp-make_default-ordered] Error 2
make[1]: Leaving directory '/home/peter/epicsqt/trunk'
makefile:111: recipe for target 'framework' failed
make: *** [framework] Error 2

The files it complains about do exist in the installed code.

Pete.
________________________________________
From: Mark Rivers [[email protected]]
Sent: Monday, May 29, 2017 2:43 PM
To: Siddons, David
Cc: [email protected]
Subject: Re: epicsqt

Hi Pete,

Can you send the complete command that failed, and also the location of ContainerProfile.h? If it is in the distribution then there is probably a problem with -I in the compile command.

Mark


Sent from my iPhone

On May 29, 2017, at 11:47 AM, Siddons, David <[email protected]<mailto:[email protected]>> wrote:

I am trying to build epicsqt using the application makefile. The build stops while building MainWindow.cpp with two errors:

In file included from src/main.cpp:27:0:
include/QEGui.h:31:30: fatal error: ContainerProfile.h: No such file or directory
compilation terminated.
Makefile.linux-x86_64:332: recipe for target 'O.linux-x86_64/obj/main.o' failed
make[2]: *** [O.linux-x86_64/obj/main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from src/MainWindow.cpp:145:0:
include/MainWindow.h:31:26: fatal error: QEFormMapper.h: No such file or directory
compilation terminated.

These files do exist in the distribution; why are they not found?

I am building with epics 3.15.5 on Ubuntu 16.04. Is there an environment variable which I missed?

Pete.


Replies:
RE: epicsqt Siddons, David
References:
epicsqt Siddons, David
Re: epicsqt Mark Rivers
RE: epicsqt Siddons, David

Navigate by Date:
Prev: RE: epicsqt Siddons, David
Next: RE: epicsqt Siddons, David
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: epicsqt Siddons, David
Next: RE: epicsqt Siddons, David
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·