Which version of ADCore are you using?
Where is libxml/xmlreader.h located on your system.
The next release of areaDetector/configure/EXAMPLE_CONFIG_SITE.local allows you to define XML2_INCLUDE, and that directory is added to USR_INCLUDES. In R2-1 USR_INCLUDES just adds -I/usr/include/libxml2. If that is where your libxml/xmlreader.h is located then it should work.
Mark
________________________________________
From: [email protected] [[email protected]] on behalf of GONG Yu [[email protected]]
Sent: Wednesday, February 25, 2015 8:56 PM
To: [email protected]
Subject: Error in compiling areaDetector
Hello everyone,
I am running to the error when I compile the areaDetector module.
The errors are listed below:
################################################################################################
In file included from ../NDFileHDF5.h:15,
from ../NDFileHDF5.cpp:33:
../NDFileHDF5LayoutXML.h:11:30: warning: libxml/xmlreader.h: No such file or directory
../NDFileHDF5Layout.h:112: warning: ‘class hdf5::Element’ has virtual functions but non-virtual destructor
../NDFileHDF5LayoutXML.h:111: error: ‘xmlTextReaderPtr’ does not name a type
make[4]: *** [NDFileHDF5.o] Error 1
make[4]: Leaving directory `/home/gongyu/areaDetector-R2-0/ADCore/ADApp/pluginSrc/O.linux-x86'
make[3]: *** [install.linux-x86] Error 2
make[3]: Leaving directory `/home/gongyu/areaDetector-R2-0/ADCore/ADApp/pluginSrc'
make[2]: *** [pluginSrc.install] Error 2
make[2]: Leaving directory `/home/gongyu/areaDetector-R2-0/ADCore/ADApp'
make[1]: *** [ADApp.install] Error 2
make[1]: Leaving directory `/home/gongyu/areaDetector-R2-0/ADCore'
make: *** [ADCore.install] Error 2
################################################################################################
The products that have been built or installed are listed belows:
EPICS base 3.14.12.4
asyn4-25
synApps (autosave-5-1,busy-1-6,calc-3-2,sscan-2-9)
libtiff (tiff-4.0.4beta)
zlib (zlib-1.2.8)
libjpeg (libjpeg-turbo-1.4.0)
szip (szip-2.1)
hdf5 (hdf5-1.8.12)
My operating system is 32bit CentOS 5.6
After this error, I install the libxml2 (libxml2, libxml2-devel and zlib-devel requied by libxml2-devel) by using RPM, then I rebuild the zlib and hdf5. But when I compile the areaDetector module, I still get the same error.
I do not know how to solve this problem, can anyone help me?
Thank you,
gongyu
- References:
- Error in compiling areaDetector GONG Yu
- Navigate by Date:
- Prev:
Error in compiling areaDetector GONG Yu
- Next:
CSS - Boolean switch Amien Crombie [TLABS]
- 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:
Error in compiling areaDetector GONG Yu
- Next:
RE: RE: Error in compiling areaDetector Mark Rivers
- 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
|