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  <20142015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: areaDetector Windows 7 x64 Build Problems
From: Zachary Brown <zab8@cornell.edu>
To: EPICS Tech Talk <tech-talk@aps.anl.gov>
Date: Sat, 10 May 2014 23:23:22 -0400
Hello,

I'm having issues building areaDetector with Windows 7 x64.  First issue is with the Nexus file plugin, the second is with the StdArrays plugin (error messages at end of post).

I currently have installed:

ActiveState Perl 5.16
GnuMake32 3.81 (in C:\GnuMake32)
.NET 4.0
Win7 SDK for 64-bit compilers and VS2010

base 3.14.12.4 (SHARED LIBRARIES = YES, STATIC BUILD =NO)
synapps 5.7
areaDetector-r2-0

Base and Synapps have built successfully.  I've set up areaDetector per the guide here: https://github.com/areaDetector/areaDetector/blob/master/INSTALL_GUIDE.md

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'



Replies:
RE: areaDetector Windows 7 x64 Build Problems Mark Rivers

Navigate by Date:
Prev: CSS: The difference among Javascript 、Python Script and Execute Command hongchunxia
Next: RE: areaDetector Windows 7 x64 Build Problems Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: CSS: The difference among Javascript 、Python Script and Execute Command Kasemir, Kay
Next: RE: areaDetector Windows 7 x64 Build Problems Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·