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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Error in compiling area detector.
From: Alireza Panna <[email protected]>
To: "[email protected]" <[email protected]>
Date: Sun, 22 Feb 2015 16:08:34 -0500
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

Replies:
RE: Error in compiling area detector. Mark Rivers

Navigate by Date:
Prev: RE: synApps_5_7 build error (sscanSupport.dbd) Mooney, Tim M.
Next: RE: Error in compiling area detector. Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: synApps_5_7 build error (sscanSupport.dbd) Mooney, Tim M.
Next: RE: Error in compiling area detector. Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·