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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Re:Re: areaDetector error in mingw, windows |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | lynn <lynn0703 at yeah.net> |
Cc: | tech-talk <tech-talk at aps.anl.gov> |
Date: | Sat, 15 Apr 2023 15:48:35 +0000 |
On further thought I don't see how you can use mingw with the Xspress3. The EPICS driver calls the vendor driver using a library, and does not communicate over sockets. The EPICS driver thus needs to run on the same computer as the vendor library and hardware
interfaces. I believe the vendor only support 64-bit Linux. So I don't think you can use mingw and Windows.
Mark
From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Saturday, April 15, 2023 10:35 AM To: lynn <lynn0703 at yeah.net> Cc: ralph.lange at gmx.de <ralph.lange at gmx.de>; tech-talk <tech-talk at aps.anl.gov> Subject: Re: Re:Re: areaDetector error in mingw, windows
Hi Lynn,
The xspress3 module explictly restricts its builds to the linux-x86_64 architecture in these 2 lines in the Makefiles:
I am not sure if that restriction is necessary or not. You try adding mingw to those Makefiles and see if it works.
Mark From: lynn <lynn0703 at yeah.net>
Sent: Friday, April 14, 2023 4:57 AM To: Mark Rivers <rivers at cars.uchicago.edu> Cc: ralph.lange at gmx.de <ralph.lange at gmx.de>; tech-talk <tech-talk at aps.anl.gov> Subject: Re:Re: areaDetector error in mingw, windows Hi Mark and Ralph,
Thank you for your answer. I choose an easy way, set WITH_GRAPHICSMAGICK=NO and work well.
Actually, I intend to use xspress3 module in mingw of windows.
And i did these thing and met some error again.
1) i installed xspress3 module well, but there isn't bin file( mingw-64, base7.0.7, asyn, areaDetector and others good).
I want to know. Could I do some setting, make the bin file of xspress3 came out directly after make command?
2) Since there isn't bin file, I try: [1] create an ioc using makeBaseApp.pl. [2] add st.cmd of xspess.
But something wrong during [1].
I did these:
(a) type: $(BASE)/bin/windows-x64-mingw/makeBaseApp.pl -t example example
(b) type: $(BASE)/bin/windows-x64-mingw/makeBaseApp.pl -i -t example example
(c) choose windos-x64-mingw,
The following target architectures are available in base:
windows-x64 windows-x64-mingw P.S. There are two file in my &(BASE)/bin/. "window-x64" and "windows-x64-mingw"
(d) make, no error
(e) start the ioc
--
$ ../../bin/windows-x64-mingw/example.exe st.cmd
#!../../bin/windows-x64-mingw/example < envPaths epicsEnvSet("IOC","iocexample") epicsEnvSet("TOP","/home/dell/all") epicsEnvSet("EPICS_BASE","/home/dell/base-7.0.7") cd "/home/dell/all" Invalid directory path, ignored ## Register all support components dbLoadDatabase "dbd/example.dbd" filename="../dbStatic/dbLexRoutines.c" line number=276dbRead opening file dbd/example.dbd example_registerRecordDeviceDriver pdbbase registerRecordDeviceDriver failed aSub registerRecordDeviceDriver failed aai *** ***
registryJLinkAdd failed trace
registryJLinkAdd failed pva ## Load record instances dbLoadTemplate "db/user.substitutions" dbLoadTemplate: error opening sub file db/user.substitutions dbLoadRecords "db/exampleVersion.db", "user=dell" filename="../dbStatic/dbLexRoutines.c" line number=276dbRead opening file db/exampleVersion.db dbLoadRecords: failed to load 'db/exampleVersion.db' dbLoadRecords "db/dbSubExample.db", "user=dell" filename="../dbStatic/dbLexRoutines.c" line number=276dbRead opening file db/dbSubExample.db dbLoadRecords: failed to load 'db/dbSubExample.db' cd "/home/dell/all/iocBoot/iocexample" Invalid directory path, ignored iocInit Starting iocInit checkDatabase: menuConvert not defined. iocBuild: Aborting, bad database definition (DBD)! Base 7.0.7 was right. These process should be good in linux. I don't know what is wrong with it.
So could someone do me a favor. I just want to use xspress in mingw.
Regards,
Lynn
在 2023-04-13 21:31:14,"Mark Rivers" <rivers at cars.uchicago.edu> 写道:
|