EPICS Controls Argonne National Laboratory

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  <20212022  2023  2024  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Building areaDetector on Windows with MSYS2 and MINGW64
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: Mark Rivers <rivers at cars.uchicago.edu>, "Smith, William" <william.smith at helmholtz-berlin.de>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 7 May 2021 07:19:09 -0700
On 5/7/21 6:15 AM, Mark Rivers via Tech-talk wrote:
> 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.


Yes, this is definitely a bug with GraphickMagick.  (I've seen and caused
similar issues)  In this case it seems to be specific to Windows (wrapped
by ifdef _VISUALC_).  It also does not seem to have been reported, and is
still present it the latest revision.

https://github.com/ImageMagick/ImageMagick/blob/456ed029ee28fd979cab3473df866a73fa92f826/Magick%2B%2B/lib/Magick%2B%2B/Drawable.h#L73

https://github.com/ImageMagick/ImageMagick/blob/2747ccfc1044fc3da6d32ff1ebbca5e926fcf602/Magick%2B%2B/lib/Magick%2B%2B/Include.h#L74


> 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
> 


References:
Building areaDetector on Windows with MSYS2 and MINGW64 Smith, William via Tech-talk
Re: Building areaDetector on Windows with MSYS2 and MINGW64 Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Building areaDetector on Windows with MSYS2 and MINGW64 Mark Rivers via Tech-talk
Next: PVXS release 0.1.5 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Building areaDetector on Windows with MSYS2 and MINGW64 Mark Rivers via Tech-talk
Next: Running edm screens on RHEL8 Ivashkevych, Oksana 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  <20212022  2023  2024 
ANJ, 07 May 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·