EPICS Home

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  2017  2018  2019  2020  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: areaDetector error in mingw, windows
From: lynn via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk <tech-talk at aps.anl.gov>
Date: Thu, 13 Apr 2023 18:38:24 +0800 (CST)
Hi,
    I want to use areaDetector, using Ming 64,Windows Home 64.
    base 7.0.7, asyn, areaDetector and other module are all new version from git.

    I am not quite sure about how to install it, using windows lib and software. But I know linux way, so i install it just like linux OS, except EPICS_HOST_ARCH or something.
   
I did these, before i make areaDetector :
1) base,asyn, busy and other module was installed well and prepare areaDetector( ADSupport, ADCore)  
2) cp and modify  release.local, release_libs.local,release_prods.local,config_site.local  
3) make and error came out( error message at bottom)
4) Then I tried CONFIG_SITE.local.linux-x86.win32-x86-mingw,CONFIG_SITE.local.linux-x86.win32-x86-mingw-static  and CONFIG_SITE.local.WIN32, all  failed.
5) I also try to configure areaDetector, using GraphicsMagick external, still in mingw environment.
configure && make :
libtool:   error: Could not determine host file name corresponding to
libtool:   error:   'Magick++/lib/.libs/' :

And I want to know:
Considering i did much work using linux way in mingw environment. 
1) how to fix the error below? 
2) if you have better way, please let me know it.  
 
Output of areaDetector make: (in Mingw 64)
 C:/msys64/mingw64/include/objidl.h:11436:11: error: reference to 'byte' is ambiguous
11436 |     const byte *pv,
      |           ^~~~
C:/msys64/mingw64/include/c++/12.2.0/bits/cpp_type_traits.h:406:30: note: candidates are: 'enum class std::byte'
  406 |   enum class byte : unsigned char;
      |                              ^~~~
C:/msys64/mingw64/include/rpcndr.h:63:25: note:                 'typedef unsigned char byte'
   63 |   typedef unsigned char byte;
      |                         ^~~~
In file included from C:/msys64/mingw64/include/msxml.h:311,
                 from C:/msys64/mingw64/include/urlmon.h:458,
                 from C:/msys64/mingw64/include/objbase.h:163:
C:/msys64/mingw64/include/oaidl.h:587:5: error: reference to 'byte' is ambiguous
  587 |     byte *pRecord;
      |     ^~~~
C:/msys64/mingw64/include/c++/12.2.0/bits/cpp_type_traits.h:406:30: note: candidates are: 'enum class std::byte'
  406 |   enum class byte : unsigned char;
      |                              ^~~~
C:/msys64/mingw64/include/rpcndr.h:63:25: note:                 'typedef unsigned char byte'
   63 |   typedef unsigned char byte;
      |                         ^~~~
make[6]: *** [/home/dell/base-7.0.7/configure/RULES_BUILD:267: Image.obj] Error 1
make[6]: Leaving directory '/home/dell/areaDetector-master/ADSupport/supportApp/GraphicsMagickSrc/Magick++/lib/O.windows-x64-mingw'
make[5]: *** [/home/dell/base-7.0.7/configure/RULES_ARCHS:58: install.windows-x64-mingw] Error 2
make[5]: Leaving directory '/home/dell/areaDetector-master/ADSupport/supportApp/GraphicsMagickSrc/Magick++/lib'
make[4]: *** [/home/dell/base-7.0.7/configure/RULES_DIRS:85: lib.install] Error 2
make[4]: Leaving directory '/home/dell/areaDetector-master/ADSupport/supportApp/GraphicsMagickSrc/Magick++'
make[3]: *** [/home/dell/base-7.0.7/configure/RULES_DIRS:85: Magick++.install] Error 2
make[3]: Leaving directory '/home/dell/areaDetector-master/ADSupport/supportApp/GraphicsMagickSrc'
make[2]: *** [/home/dell/base-7.0.7/configure/RULES_DIRS:85: GraphicsMagickSrc.install] Error 2
make[2]: Leaving directory '/home/dell/areaDetector-master/ADSupport/supportApp'
make[1]: *** [/home/dell/base-7.0.7/configure/RULES_DIRS:85: supportApp.install] Error 2
make[1]: Leaving directory '/home/dell/areaDetector-master/ADSupport'
make: *** [/home/dell/base-7.0.7/configure/RULES_DIRS:85: /home/dell/areaDetector-master/ADSupport.install] Error 2

$ uname -a
MINGW64_NT-10.0-22000 DESKTOP-M04F14I 3.4.6.x86_64 2023-04-01 11:43 UTC x86_64 Msys
$ gcc --version
gcc.exe (Rev10, Built by MSYS2 project) 12.2.0
$ make --version
GNU Make 4.4.1
Built for x86_64-pc-msys


Regards,
Lynn

--

lynn
邮箱:lynn0703 at yeah.net

Replies:
Re: areaDetector error in mingw, windows Ralph Lange via Tech-talk
Re: areaDetector error in mingw, windows Mark Rivers via Tech-talk

Navigate by Date:
Prev: RE: areadetector on windows, xml2 done, now Lightfield Freddie Akeroyd - STFC UKRI via Tech-talk
Next: Re: areadetector on windows, xml2 done, now Lightfield Mark Rivers via Tech-talk
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  <20232024 
Navigate by Thread:
Prev: Re: 'isegHAL' module / IOC for iseg device Florian Feldbauer via Tech-talk
Next: Re: areaDetector error in mingw, windows Ralph Lange via Tech-talk
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  <20232024