Experimental Physics and Industrial Control System
> In RELEASE.local I have a line for ADPointGrey drivers
> #ADPOINTGREY=$(AREA_DETECTOR)/ADPointGrey
> but make terminates with:
> make -C /home/eli_sw/epics/support/areaDetector-2-5/ADPointGrey install
> make[1]: *** /home/eli_sw/epics/support/areaDetector-2-5/ADPointGrey: No such file or directory. Stop.
I suspect the problem is that you also have a RELEASE.local.$(EPICS_HOST_ARCH), e.g. RELEASE.local.linux-x86_64 which does define ADPOINTGREY. The correct solution is to remove that file if you don't need it, or comment out ADPOINTGREY in that file. You should not need to modify the Makefile.
Mark
________________________________________
From: Marcin Lukaszewski [[email protected]]
Sent: Wednesday, February 15, 2017 4:28 AM
To: Mark Rivers
Cc: [email protected]
Subject: RE: Problem compiling areaDetector-2-5
Hi Mark,
Changing WITH_XML2 to YES solved the problem.
I had to change WITH_HDF5 to YES too, to resolve the similar error (missing header file for hdf5).
The reason why I set almost everything to NO in CONFIG_SITE.local is that I wanted to start small, build a bare minimum without dependencies and then add them later. I am new to areaDetector, and I thought that would be the right approach to learning how to configure and deploy new areaDetector support.
However, there is something more which is puzzling me now.
In RELEASE.local I have a line for ADPointGrey drivers
#ADPOINTGREY=$(AREA_DETECTOR)/ADPointGrey
but make terminates with:
make -C /home/eli_sw/epics/support/areaDetector-2-5/ADPointGrey install
make[1]: *** /home/eli_sw/epics/support/areaDetector-2-5/ADPointGrey: No such file or directory. Stop.
/home/eli_sw/epics/R3.15/configure/RULES_DIRS:88: recipe for target '/home/eli_sw/epics/support/areaDetector-2-5/ADPointGrey.install' failed
make: *** [/home/eli_sw/epics/support/areaDetector-2-5/ADPointGrey.install] Error 2
To test, I tried to commenting out in Makefile
#ifdef ADPOINTGREY
#DIRS := $(DIRS) $(ADPOINTGREY)
#$(ADPOINTGREY)_DEPEND_DIRS += $(ADCORE)
#endif
and it solves the problem.
Many thanks,
Marcin
-----Original Message-----
From: Mark Rivers [mailto:[email protected]]
Sent: 14 February 2017 19:12
To: Marcin Lukaszewski <[email protected]>; [email protected]
Subject: RE: Problem compiling areaDetector-2-5
Hi Marcin,
I understand the problem. Your CONFIG_SITE.local file defines WITH_XML2=NO. In that case NDPosPlugin.h does not get installed in ADCore/ADApp/pluginSrc. The pluginTests directory should not try to build the test for NDPluginPos if WITH_XML2 is not YES, but it does. That is a bug and I have created an issue for it on Github.
Your build of ADCore is otherwise complete, so you could ignore the error. Or you could define WITH_XML2=YES, since that library is easy to install on Linux if is not already installed.
Is there a reason that you have set WITH_XML2, WITH_TIFF, WITH_NETCDF, etc. in your CONFIG_SITE.local to NO?
Mark
________________________________
From: [email protected] [[email protected]] on behalf of Marcin Lukaszewski [[email protected]]
Sent: Tuesday, February 14, 2017 10:00 AM
To: [email protected]
Subject: Problem compiling areaDetector-2-5
Hi all,
I am trying to compile areaDetector R2-5 on Ubuntu 16.04 LTS I git clone areaDetector, ADCore, ADSupport and ADExample and git checkout to following versions:
areaDetector R2-5
ADCore R2-5
ADSupport R1-0
ADExample R2-2
EPICS setup:
base 3.15.4
asyn-4-30
autosave-5-7-1
busy-1-6-1
calc-3-4-2-1
seq-2-23
sscan-2-10-1
Below pasties to my areaDetector/configure files:
- areaDetector folder structure http://pastebin.com/5KmLn7Cb
- RELEASE_PATHS.local http://pastebin.com/JbzKhrTE
- RELEASE_LIBS.local http://pastebin.com/Eus4L5Fi
- RELEASE_PRODS.local http://pastebin.com/gDSyG2JT
- CONFIG_SITE.LOCAL http://pastebin.com/C7iumVfN
- RELEASE.local http://pastebin.com/a0BsWNAs
After setup above I am trying to make but compilation terminates with the error:
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -g -Wall -DH5_NO_DEPRECATED_SYMBOLS -DH5Dopen_vers=2 -DH5Gcreate_vers=2 -mtune=generic -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/home/eli_sw/epics/R3.15/include/compiler/gcc -I/home/eli_sw/epics/R3.15/include/os/Linux -I/home/eli_sw/epics/R3.15/include -I/home/eli_sw/epics/support/asyn-4-30/include -I/home/eli_sw/epics/support/areaDetector-2-5/ADCore/include -I/usr/local64/include -I/usr/include/libxml2 -c ../PosPluginWrapper.cpp
In file included from ../PosPluginWrapper.cpp:8:0:
../PosPluginWrapper.h:11:25: fatal error: NDPosPlugin.h: No such file or directory compilation terminated.
/home/eli_sw/epics/R3.15/configure/RULES_BUILD:234: recipe for target 'PosPluginWrapper.o' failed
make[4]: *** [PosPluginWrapper.o] Error 1
make[4]: Leaving directory '/home/eli_sw/epics/support_5_8_at15/areaDetector-2-5/ADCore/ADApp/pluginTests/O.linux-x86_64'
/home/eli_sw/epics/R3.15/configure/RULES_ARCHS:61: recipe for target 'install.linux-x86_64' failed
make[3]: *** [install.linux-x86_64] Error 2
make[3]: Leaving directory '/home/eli_sw/epics/support_5_8_at15/areaDetector-2-5/ADCore/ADApp/pluginTests'
/home/eli_sw/epics/R3.15/configure/RULES_DIRS:88: recipe for target 'pluginTests.install' failed
make[2]: *** [pluginTests.install] Error 2
make[2]: Leaving directory '/home/eli_sw/epics/support_5_8_at15/areaDetector-2-5/ADCore/ADApp'
/home/eli_sw/epics/R3.15/configure/RULES_DIRS:88: recipe for target 'ADApp.install' failed
make[1]: *** [ADApp.install] Error 2
make[1]: Leaving directory '/home/eli_sw/epics/support_5_8_at15/areaDetector-2-5/ADCore'
/home/eli_sw/epics/R3.15/configure/RULES_DIRS:88: recipe for target '/home/eli_sw/epics/support/areaDetector-2-5/ADCore.install' failed
make: *** [/home/eli_sw/epics/support/areaDetector-2-5/ADCore.install] Error 2
Full output you can find here: http://pastebin.com/y06WGJwX
Quick check if I have files in correct places gives me:
/home/eli_sw/epics/support/areaDetector-2-5
→ find -name "NDPosPlugin.h"
./ADCore/ADApp/pluginSrc/NDPosPlugin.h
/home/eli_sw/epics/support/areaDetector-2-5
→ find -name "PosPluginWrapper.h"
./ADCore/ADApp/pluginTests/PosPluginWrapper.h
What I am doing wrong? Is there anything else I have to setup to compile areaDetector?
Marcin
- References:
- Problem compiling areaDetector-2-5 Marcin Lukaszewski
- RE: Problem compiling areaDetector-2-5 Mark Rivers
- RE: Problem compiling areaDetector-2-5 Marcin Lukaszewski
- Navigate by Date:
- Prev:
RE: VAL field in Motor record Default unit Mark Clift
- Next:
RE: Problem compiling areaDetector-2-5 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
- Navigate by Thread:
- Prev:
RE: Problem compiling areaDetector-2-5 Marcin Lukaszewski
- Next:
sumitomo f70 compressor Pierrick Hanlet
- 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