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

Subject: Re: epicsQt plugin build errors
From: 张玉亮 <[email protected]>
To: [email protected]
Date: Fri, 4 Nov 2011 11:28:59 +0800 (CST)
Hello,
 
The problem has been solved. I have made the following to build EPICS base:
 
1) Set EPICS_HOST_ARCH ro win32-x86-mingw
2) Build EPICS base using mingw32-make
 
Previously, I built EPICS base using cygwin make, and the EPICS_HOST_ARCH is win32-x86.
 
Yuliang


-----原始邮件-----
发件人: "Zhang Yuliang" <[email protected]>
发送时间: 2011年11月1日 星期二
收件人: tech-talk <[email protected]>
抄送:
主题: epicsQt plugin build errors

Hello,
 
I downloaded epicsqt-1.1.6 and when I tried to build EPICS-Qt Pluginon Windows xp, the following errors occured:
 
./debug\CaObject.o:D:\Qt\Qt EPICS\epicsqt\ca_framework\plugins-build-desktop/../../../../QtEPICS/epicsqt/ca_framework/api/src/CaObject.cpp:88: undefined reference to `epicsEventCreate'

./debug\CaObject.o:D:\Qt\Qt EPICS\epicsqt\ca_framework\plugins-build-desktop/../../../../QtEPICS/epicsqt/ca_framework/api/src/CaObject.cpp:89: undefined reference to `epicsMutexOsiCreate'

./debug\CaObject.o:D:\Qt\Qt EPICS\epicsqt\ca_framework\plugins-build-desktop/../../../../QtEPICS/epicsqt/ca_framework/api/src/CaObject.cpp:104: undefined reference to `epicsMutexDestroy'

./debug\CaObject.o:D:\Qt\Qt EPICS\epicsqt\ca_framework\plugins-build-desktop/../../../../QtEPICS/epicsqt/ca_framework/api/src/CaObject.cpp:105: undefined reference to `epicsEventDestroy'

./debug\CaObject.o:D:\Qt\Qt EPICS\epicsqt\ca_framework\plugins-build-desktop/../../../../QtEPICS/epicsqt/ca_framework/api/src/CaObject.cpp:478: undefined reference to `dbr_size'

./debug\CaObject.o:D:\Qt\Qt EPICS\epicsqt\ca_framework\plugins-build-desktop/../../../../QtEPICS/epicsqt/ca_framework/api/src/CaObject.cpp:478: undefined reference to `dbr_size'

./debug\CaObject.o:D:\Qt\Qt EPICS\epicsqt\ca_framework\plugins-build-desktop/../../../../QtEPICS/epicsqt/ca_framework/api/src/CaObject.cpp:478: undefined reference to `dbr_value_size'

./debug\CaObject.o:D:\Qt\Qt EPICS\epicsqt\ca_framework\plugins-build-desktop/../../../../QtEPICS/epicsqt/ca_framework/api/src/CaObject.cpp:479: undefined reference to `ca_name'

.......

collect2: ld returned 1 exit status

mingw32-make[1]: *** [debug\QCaPlugin.dll] Error 1

mingw32-make: *** [debug] Error 2

The process "C:/Qt/2010.04/mingw/bin/mingw32-make.exe" exited with code %2.

Error while building project plugins (target: Desktop)

When executing build step 'Make'

 

In the manual "EPICSQt Developers Guide", it is said that undefined references which usually indicate issues with PATH settings. The environment variable for EPICS in my machine setted as follows:

 

EPICS_BASE=C:\EPICS\base-3.14.8.2
EPICS_HOST_ARCH=win32-x86
 
And in PATH I added "C:\EPICS\base-3.14.8.2\bin\win32-x86" .
 
Anything else need to do?
 
Thank you!
 
Regards,
 
Zhang Yuliang

 

 


References:
epicsQt plugin build errors Zhang Yuliang

Navigate by Date:
Prev: asyn R4-18 available Mark Rivers
Next: Re: asyn R4-18 available Noboru Yamamoto
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: epicsQt plugin build errors Benjamin Franksen
Next: RE: epicsQt plugin build errors Andrew Rhyder
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·