Hi,
I am trying to build areaDetector on a Windows 10 machine to eventually use a support module from Diamond for an SES Electron Analyser. I followed the instructions here which I found excellent:
https://docs.epics-controls.org/projects/how-tos/en/latest/getting-started/installation-windows-msys2.html
I installed EPICS 3.15.7 and built asyn, busy, calc, seq, sscan and autosave against it. I then tried to install areaDetector and get the error below. I am using MSYS2 with MINGW64 which installs gcc version 10.2.0.
I am not sure how to attempt to solve this problem, any help would be appreciated.
Thanks
Will
make[6]: *** [/usr/local/epics/base/configure/RULES_BUILD:239: Image.obj] Error 1
In file included from ../Magick++/Options.h:21,
from ../ImageRef.cpp:15:
../Magick++/Drawable.h:96:8: error: explicit instantiation of 'class std::allocator<Magick::Coordinate>' in namespace 'Magick' (which does not enclose namespace 'std') [-fpermissive]
96 | std::allocator<Magick::Coordinate>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Magick++/Drawable.h:190:8: error: explicit instantiation of 'class std::allocator<Magick::Drawable>' in namespace 'Magick' (which does not enclose namespace 'std') [-fpermissive]
190 | std::allocator<Magick::Drawable>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../Magick++/Drawable.h:270:6: error: explicit instantiation of 'class std::allocator<Magick::VPath>' in namespace 'Magick' (which does not enclose namespace 'std') [-fpermissive]
270 | std::allocator<Magick::VPath>;
| ^~~~~~~~~~~~~~~~~~~~~~~~
../Magick++/Drawable.h:2239:6: error: explicit instantiation of 'class std::allocator<Magick::PathArcArgs>' in namespace 'Magick' (which does not enclose namespace 'std') [-fpermissive]
2239 | std::allocator<Magick::PathArcArgs>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Magick++/Drawable.h:2413:6: error: explicit instantiation of 'class std::allocator<Magick::PathCurvetoArgs>' in namespace 'Magick' (which does not enclose namespace 'std') [-fpermissive]
2413 | std::allocator<Magick::PathCurvetoArgs>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Magick++/Drawable.h:2597:6: error: explicit instantiation of 'class std::allocator<Magick::PathQuadraticCurvetoArgs>' in namespace 'Magick' (which does not enclose namespace 'std') [-fpermissive]
2597 | std::allocator<Magick::PathQuadraticCurvetoArgs>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[6]: *** [/usr/local/epics/base/configure/RULES_BUILD:239: ImageRef.obj] Error 1
make[6]: Leaving directory '/home/sissy_user/support/areaDetector/ADSupport/supportApp/GraphicsMagickSrc/Magick++/lib/O.windows-x64-mingw'
make[5]: *** [/usr/local/epics/base/configure/RULES_ARCHS:58: install.windows-x64-mingw] Error 2
make[5]: Leaving directory '/home/sissy_user/support/areaDetector/ADSupport/supportApp/GraphicsMagickSrc/Magick++/lib'
make[4]: *** [/usr/local/epics/base/configure/RULES_DIRS:84: lib.install] Error 2
make[4]: Leaving directory '/home/sissy_user/support/areaDetector/ADSupport/supportApp/GraphicsMagickSrc/Magick++'
make[3]: *** [/usr/local/epics/base/configure/RULES_DIRS:84: Magick++.install] Error 2
make[3]: Leaving directory '/home/sissy_user/support/areaDetector/ADSupport/supportApp/GraphicsMagickSrc'
make[2]: *** [/usr/local/epics/base/configure/RULES_DIRS:84: GraphicsMagickSrc.install] Error 2
make[2]: Leaving directory '/home/sissy_user/support/areaDetector/ADSupport/supportApp'
make[1]: *** [/usr/local/epics/base/configure/RULES_DIRS:84: supportApp.install] Error 2
make[1]: Leaving directory '/home/sissy_user/support/areaDetector/ADSupport'
make: *** [/usr/local/epics/base/configure/RULES_DIRS:84: /home/sissy_user/support/areaDetector/ADSupport.install] Error 2