Hi Mark, Emmanuel and all,
Thanks for your help, finally I made it. I'd like to share my experience.
I think the previous failed reason was:
1: On my linux system (Linux Mint Qiana, x86_64, kernel 3.13.0) Qt 4.8.6
(/usr/lib/x86_64-linux-gnu/qt4) and 5.1.1
(/opt/Android/Qt5.1.1/5.1.1/gcc_64/) was installed;
2: The 'qmake' command (/usr/bin/qmake) is 4.8.6 by default, which would
be called first before I redefined the PATH value;
Thanks to Mark and Emmanuel's message, I clearly redefined the PATH
value to let 'qmake' be definitely the 5.1.1 version, i.e.
export
PATH=PATH=/opt/Android/Qt5.1.1/5.1.1/gcc_64/bin:/bin/:/usr/bin/:/usr/sbin,
and then everything went smoothly.
Regards,
Tong
On 11/15/2014 02:49 AM, Mark Rivers wrote:
I had similar problems the other day when I built caQtDM on Linux.
Anton helped me a lot.
I have appended a message that includes the complete trail of
communications with Anton. I have also attached a shell script I
created to define all of the necessary environment variables.
I think my most important 2 mistakes were:
- Not defining QTBASE, which I then defined as:
QTBASE=/usr/local/caQtDM/3-8-5/caQtDM_Binaries
- Not using the top-level build script, caQtDM_BuildAll. I was just
using qmake and make, which did not work.
Mark
*From:*[email protected]
[mailto:[email protected]] *On Behalf Of *Emmanuel Mayssat
*Sent:* Friday, November 14, 2014 12:35 PM
*To:* Tong Zhang
*Cc:* Mezger Anton Christian; EPICS mailing list
*Subject:* RE: compile qtdm
Tong Zhang,
I can certainly help you.
Difficult to say what exactly is the problem without the error message.
To start, I would just guess that you environment is not set correctly.
Are you on Linux?
Note that QtDM requires a few environment variables to be set to start
and run correctly.
What are your settings for QTDM_LIBINSTALL, QTDM_RPATH, and LD_LIBRARY_PATH?
In the tutorial you are following, my installation paths were
/home/local/epics # Home directory of the epics user
+-- base
+-- <base.version> # Base version is 3.14.12.4
+-- bin/linux-x86_64
+-- lib/linux-x86_64
+-- extensions
+-- <base.version> # Extensions compiled against this base version
+-- src # Where the source for EPICS extensions is installed
+-- bin/linux-x86_64 # Where the extension binary files are installed
+-- lib/linux-x86_64
+-- extras # Non-EPICS base and non-EPICS extensions
+-- <base.version> # Version the source was compiled against
+-- bin/linux-x86_64 # Where the binary files are installed
+-- lib/linux-x86_64
In the tutorial, I installed caQtDM in the extras/... directories as it is not
an EPICS extension (i.e. doesn't use the configure directory which is part of
the EPICS build system)
I hope this help.
If it doesn't, send the error message and the first few lines of
./caQtDM_BuildAll
Regards,
--
Emmanuel Mayssat
http://www.epicsqt.org
Date: Fri, 14 Nov 2014 14:44:18 +0800
From:[email protected] <mailto:[email protected]>
To:[email protected] <mailto:[email protected]>
Subject: compile qtdm
Hi Emayssat,
I came cross your caQtDM wiki page, it is really a great job. I'm
working on the development for FEL facility control applications, and I
have experience about C++/QT, so your qtdm is a nice tool for me to
choose. However, I failed to compile the source, is complains the
qtcontrols lib when linking, my qt version is 4.8.6, could you please
help me out?
Thanks!
--
Tong Zhang
Free-electron Laser Department,
Shanghai Institute of Applied Physics (SINAP), CAS
2019 Jialuo Road, Shanghai 201800, China
Office: +86-021-3919-4269
Mobile: +86-185-1628-3148
- References:
- RE: compile qtdm Emmanuel Mayssat
- Navigate by Date:
- Prev:
Re: Browser based EPICS GUI Alex Wallace
- Next:
RELATED TO GRAPH priya tiwari
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: compile qtdm Emmanuel Mayssat
- Next:
RELATED TO GRAPH priya tiwari
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|