Hi Ali,
What version of ADore are you running? Is it R2-0, R2-1, or the latest master branch? Similarly, are you running ADBinaries R2-0, R2-1, or the latest master branch? If you are using the master branch of both ADBinaries and ADCore then the following note in ADBinaries/RELEASE.md is important:
- Updated the HDF5 libraries from release 1.8.7 to 1.8.14. The names of the libraries have changed, so Makefiles must be modified. Both static and dynamic libraries are provided. The symbol HDF5_STATIC_BUILD must be defined to instruct the build system which version of the library to use: YES=static, NO=dynamic.
So you must define HDF5_STATIC_BUILD=NO. You can do this in areaDetector/configure/CONFIG_SITE.local. The example version of that file, EXAMPLE_CONFIG_SITE.local, now defines that correctly.
Mark
________________________________
From: [email protected] [[email protected]] on behalf of Alireza Panna [[email protected]]
Sent: Sunday, February 22, 2015 3:08 PM
To: [email protected]
Subject: Error in compiling area detector.
Hello tech-talkers,
I am running into the following error when I try to compile the following area detector module. https://github.com/areaDetector?page=2
make -C ./nexusSrc install
make[3]: Entering directory `C:/Epics/support/areaDetector-2-0/ADCore/ADApp/nexu
sSrc'
make -C O.windows-x64 -f ../Makefile TOP=../../.. T_A=windows-x64 install
make[4]: Entering directory `C:/Epics/support/areaDetector-2-0/ADCore/ADApp/nexu
sSrc/O.windows-x64'
link /nologo /subsystem:windows /dll /LTCG /incremental:no /opt:ref /release /
MACHINE:X64 /implib:NeXus.lib /out:NeXus.dll napi.obj napi5.obj nap
iu.obj nxdataset.obj nxio.obj nxstack.obj nxxml.obj stptok.obj C:\Epics\sup
port\areaDetector-2-0\\ADBinaries\\lib\\windows-x64\\hdf5.lib C:\Epics\support\
areaDetector-2-0\\ADBinaries\\lib\\windows-x64\\szip.lib C:\Epics\support\areaD
etector-2-0\\ADBinaries\\lib\\windows-x64\\zlib.lib
napi5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_SHORT_g
napi5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_INT32_g
napi5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_INT_g
napi5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_INT8_g
napi5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_UINT64_g
napi5.obj : error LNK2001: unresolved external symbol H5P_CLS_DATASET_CREATE_ID_
g
napi5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_USHORT_g
napi5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_UINT_g
napi5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_UCHAR_g
napi5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_SCHAR_g
napi5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_FLOAT_g
napi5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_UINT8_g
napi5.obj : error LNK2001: unresolved external symbol H5T_C_S1_g
napi5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_INT16_g
napi5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_UINT16_g
napi5.obj : error LNK2001: unresolved external symbol H5P_CLS_FILE_ACCESS_ID_g
napi5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_UINT32_g
napi5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_INT64_g
napi5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_DOUBLE_g
NeXus.dll : fatal error LNK1120: 19 unresolved externals
make[4]: *** [NeXus.dll] Error 1120
make[4]: Leaving directory `C:/Epics/support/areaDetector-2-0/ADCore/ADApp/nexus
Src/O.windows-x64'
make[3]: *** [install.windows-x64] Error 2
make[3]: Leaving directory `C:/Epics/support/areaDetector-2-0/ADCore/ADApp/nexus
Src'
make[2]: *** [nexusSrc.install] Error 2
make[2]: Leaving directory `C:/Epics/support/areaDetector-2-0/ADCore/ADApp'
make[1]: *** [ADApp.install] Error 2
make[1]: Leaving directory `C:/Epics/support/areaDetector-2-0/ADCore'
make: *** [ADCore.install] Error 2
My build site is configured as follows:
Epics base-3.14.12.4 (compiled dynamically) using MS Visual studio 12.0
all required support libraries for area detector are compiled namely:
ASYN=$(SUPPORT)/asyn-4-26
AUTOSAVE=$(SUPPORT)/autosave-5-5
BUSY=$(SUPPORT)/busy-1-6
SSCAN=$(SUPPORT)/sscan-2-10
CALC=$(SUPPORT)/calc-3-4-2
and EPICS host env variable is set to windows-x64
I know previously, dynamic build for area detector wasn't possible for modules before 1-9-1. I am using 2-0 (I am guessing that is the one currently hosted at github. I searched for this issue on tech-talks and found that the error has something to do with the HDF5 library. I wanted to know if someone can help me fix this.
Any help is appreciated.
Thank you.
Best,
Ali
--
Alireza Panna
University of Maryland, College Park
- References:
- Error in compiling area detector. Alireza Panna
- Navigate by Date:
- Prev:
Error in compiling area detector. Alireza Panna
- Next:
Re: using EPICS code with HTTP port Dirk Zimoch
- 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 area detector. Alireza Panna
- Next:
CSS: HOW TO INCLUDE ONE JAVASCRIPT FILE IN ANOTHER JAVASCRIPT FILE IN CSS ? B Chitalia/TVM/TCS
- 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
|