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
|