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  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: Re: areaDetector-R3-3-1/ADCore compile error
From: Mark Rivers via Tech-talk <tech-talk@aps.anl.gov>
To: "Ha, Kiman" <kha@bnl.gov>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Sun, 1 Sep 2019 22:50:16 +0000
Hi Kiman,


> I installed ImageMagick-6 module but I have no idea how to add Lib path.

areaDetector actually uses GraphicsMagick, not ImageMagick.  They are similar, but not the same.

First you should decide if you need the capabilities of GraphicsMagick for your application (NDFileMagick, or ADURL driver).  If not, just set WITH_GRAPHICSMAGICK=NO in your CONFIG_SITE.local file, and then it will not be used.  If you do need GraphicsMagick for your application then I recommend building it in ADSupport, rather than installing the package.  Set GRAPHICSMAGICK_EXTERNAL=NO in CONFIG_SITE.local.

Mark


________________________________
From: Ha, Kiman <kha@bnl.gov>
Sent: Sunday, September 1, 2019 5:11 PM
To: Mark Rivers
Cc: tech-talk@aps.anl.gov
Subject: areaDetector-R3-3-1/ADCore compile error


Hi Mark,



I am trying to compile an areaDetector-R3-3-1/ADCore but I found compile error "Magick++.h: No such file or directory"

 ../NDFileMagick.h:12:22: fatal error: Magick++.h: No such file or directory

I installed ImageMagick-6 module but I have no idea how to add Lib path.

/usr/local/include/ImageMagick-6 $ ls

magick  Magick++  Magick++.h  wand







   -MM -MF NDFileMagick.d  ../NDFileMagick.cpp

In file included from ../NDFileMagick.cpp:23:0:

../NDFileMagick.h:12:22: fatal error: Magick++.h: No such file or directory

compilation terminated.

/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall     -DPREFIX_MAGICK_SYMBOLS -DH5_NO_DEPRECATED_SYMBOLS -DH5Gopen_vers=2  -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include      -I/home/bpmlab2/xilinx/epics/modules/synApps_6_0/support/asyn-R4-33/include     -I/home/bpmlab2/xilinx/epics/modules/synApps_6_0/support/areaDetector-R3-3-1/ADSupport/include/os/Linux -I/home/bpmlab2/xilinx/epics/modules/synApps_6_0/support/areaDetector-R3-3-1/ADSupport/include   -I/home/bpmlab2/xilinx/epics/modules/synApps_6_0/support/areaDetector-R3-3-1/ADCore/include -I/home/bpmlab2/xilinx/epics/base-3.15.6/include/compiler/gcc -I/home/bpmlab2/xilinx/epics/base-3.15.6/include/os/Linux -I/home/bpmlab2/xilinx/epics/base-3.15.6/include        -c ../NDFileMagick.cpp

In file included from ../NDFileMagick.cpp:23:0:

../NDFileMagick.h:12:22: fatal error: Magick++.h: No such file or directory

compilation terminated.

/home/bpmlab2/xilinx/epics/base-3.15.6/configure/RULES_BUILD:239: recipe for target 'NDFileMagick.o' failed

make[3]: *** [NDFileMagick.o] Error 1

make[3]: Leaving directory '/home/bpmlab2/xilinx/epics/modules/synApps_6_0/support/areaDetector-R3-3-1/ADCore/ADApp/pluginSrc/O.linux-x86_64'

/home/bpmlab2/xilinx/epics/base-3.15.6/configure/RULES_ARCHS:58: recipe for target 'install.linux-x86_64' failed

make[2]: *** [install.linux-x86_64] Error 2

make[2]: Leaving directory '/home/bpmlab2/xilinx/epics/modules/synApps_6_0/support/areaDetector-R3-3-1/ADCore/ADApp/pluginSrc'

/home/bpmlab2/xilinx/epics/base-3.15.6/configure/RULES_DIRS:84: recipe for target 'pluginSrc.install' failed

make[1]: *** [pluginSrc.install] Error 2

make[1]: Leaving directory '/home/bpmlab2/xilinx/epics/modules/synApps_6_0/support/areaDetector-R3-3-1/ADCore/ADApp'

/home/bpmlab2/xilinx/epics/base-3.15.6/configure/RULES_DIRS:84: recipe for target 'ADApp.install' failed

make: *** [ADApp.install] Error 2

bpmlab2 ~/xilinx/epics/modules/synApps_6_0/support/areaDetector-R3-3-1/ADCore $





Thanks,

Kiman

Replies:
RE: areaDetector-R3-3-1/ADCore compile error Ha, Kiman via Tech-talk
References:
areaDetector-R3-3-1/ADCore compile error Ha, Kiman via Tech-talk

Navigate by Date:
Prev: areaDetector-R3-3-1/ADCore compile error Ha, Kiman via Tech-talk
Next: RE: areaDetector-R3-3-1/ADCore compile error Ha, Kiman 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  <20192020 
Navigate by Thread:
Prev: areaDetector-R3-3-1/ADCore compile error Ha, Kiman via Tech-talk
Next: RE: areaDetector-R3-3-1/ADCore compile error Ha, Kiman 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  <20192020 
ANJ, 01 Sep 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·