Hi Will,
Unless you are sure that your application will need the GraphicsMagick file writer or the ADURL driver I would suggest just changing areaDetector/configure/CONFIG_SITE.local from
WITH_GRAPHICSMAGICK = YES
to
WITH_GRAPHICSMAGICK = NO
It looks like GraphickMagick needs some changes to work with gcc 10.2.0.
Mark
________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Smith, William via Tech-talk <tech-talk at aps.anl.gov>
Sent: Friday, May 7, 2021 7:35 AM
To: tech-talk at aps.anl.gov
Subject: Building areaDetector on Windows with MSYS2 and MINGW64
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
________________________________
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech (Sprecher), Prof. Dr. Jan Lüning, Thomas Frederking
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
14109 Berlin
Deutschland
- Replies:
- Re: Building areaDetector on Windows with MSYS2 and MINGW64 Michael Davidsaver via Tech-talk
- References:
- Building areaDetector on Windows with MSYS2 and MINGW64 Smith, William via Tech-talk
- Navigate by Date:
- Prev:
Building areaDetector on Windows with MSYS2 and MINGW64 Smith, William via Tech-talk
- Next:
Re: Building areaDetector on Windows with MSYS2 and MINGW64 Michael Davidsaver 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
2023
2024
- Navigate by Thread:
- Prev:
Building areaDetector on Windows with MSYS2 and MINGW64 Smith, William via Tech-talk
- Next:
Re: Building areaDetector on Windows with MSYS2 and MINGW64 Michael Davidsaver 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
2023
2024
|