areaDetector-r2-0
make will error out when building the Nexus plugin because it can't find hdf5.h. Adding $(info "$(HDF5_INCLUDE)") into the nexus makefile shows an empty string. It seems that the HDF5_INCLUDE variable is not getting passed from $(AREA_DETECTOR)/configure/CONFIG_SITE.local. Copying the required files over from ADBinaries will allow the Nexus plugin to build. ADBinaries, NetCDF, jpg, and tiff plugins all build successfully.
pluginSrc errors out (I think) when looking for the Asyn libraries when it opens NDPluginDriver.cpp. Not entire certain of that, but if I comment out NDPluginDriver.cpp from the make file, it will error out at NDPluginStdArrays looking for getAsynStdInterfaces. (As a side note, I noticed while troubleshooting that HDF5_INCLUDE is not getting passed here either.)
Probably just some pathing issues, but I have been stumped for a while.
-ZB
nexus error:
make -C ./nexusSrc install
make[3]: Entering directory `C:/epics/areaDetector-R2-0/ADCore/ADApp/nexusSrc'
make -C O.windows-x64 -f ../Makefile TOP=../../.. T_A=windows-x64 install
"../../.."
make[4]: Entering directory `C:/epics/areaDetector-R2-0/ADCore/ADApp/nexusSrc/O.windows-x64'
cl -c /favor:blend /nologo /D__STDC__=0 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /Ox /GL
/W3 /w44355 -DHDF5 -D_FILE_OFFSET_BITS=64 -DH5_BUILT_AS_DYNAMIC_LIB /MD -I. -I..\\O.Common -I. -I.. -I..\\..\
\..\\include\\os\\WIN32 -I..\\..\\..\\include -IC:\\epics\\base-3.14.12.4\\include\\os\\WIN32 -IC:\\epics\\base-3.14
.12.4\\include -IC:\\epics\\synApps_5_7\\support\\asyn-4-21\\include ..\\napi.c
napi.c
c:\epics\areadetector-r2-0\adcore\adapp\nexussrc\napi5.h(6) : fatal error C1083: Cannot open include file: 'hdf5.h': No
such file or directory
make[4]: *** [napi.obj] Error 2
make[4]: Leaving directory `C:/epics/areaDetector-R2-0/ADCore/ADApp/nexusSrc/O.windows-x64'
make[3]: *** [install.windows-x64] Error 2
make[3]: Leaving directory `C:/epics/areaDetector-R2-0/ADCore/ADApp/nexusSrc'
make[2]: *** [nexusSrc.install] Error 2
make[2]: Leaving directory `C:/epics/areaDetector-R2-0/ADCore/ADApp'
make[1]: *** [ADApp.install] Error 2
make[1]: Leaving directory `C:/epics/areaDetector-R2-0/ADCore'
make: *** [ADCore.install] Error 2
make: Leaving directory `C:/epics/areaDetector-R2-0'
pluginSrc error:
make: Entering directory `c:/epics/areaDetector-R2-0/ADCore/ADApp/pluginSrc'
make -C O.windows-x64 -f ../Makefile TOP=../../.. T_A=windows-x64 install
make[1]: Entering directory `c:/epics/areaDetector-R2-0/ADCore/ADApp/pluginSrc/O.windows-x64'
cl /nologo /EHsc /GR -c /favor:blend /nologo /D__STDC__=0 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEP
RECATE /Ox /GL /W3 /w44355 -DLIBTIFF_STATIC -DH5_BUILT_AS_DYNAMIC_LIB /MD /TP -I. -I..\\O.Common -I. -I.. -
I..\\..\\..\\include\\os\\WIN32 -I..\\..\\..\\include -IC:\\epics\\base-3.14.12.4\\include\\os\\WIN32 -IC:\\epics\\b
ase-3.14.12.4\\include -IC:\\epics\\synApps_5_7\\support\\asyn-4-21\\include ..\\NDPluginDriver.cpp
NDPluginDriver.cpp
..\NDPluginDriver.cpp(60) : error C3861: 'setTimeStamp': identifier not found
make[1]: *** [NDPluginDriver.obj] Error 2
make[1]: Leaving directory `c:/epics/areaDetector-R2-0/ADCore/ADApp/pluginSrc/O.windows-x64'
make: *** [install.windows-x64] Error 2
make: Leaving directory `c:/epics/areaDetector-R2-0/ADCore/ADApp/pluginSrc'