> In RELEASE.local I have a line for ADPointGrey drivers
> but make terminates with:
> make -C /home/eli_sw/epics/support/areaDetector-2-5/ADPointGrey install
> make: *** /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.
From: Marcin Lukaszewski [Marcin.Lukaszewski@Hilase.cz]
Sent: Wednesday, February 15, 2017 4:28 AM
To: Mark Rivers
Subject: RE: Problem compiling areaDetector-2-5
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
but make terminates with:
make -C /home/eli_sw/epics/support/areaDetector-2-5/ADPointGrey install
make: *** /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
#DIRS := $(DIRS) $(ADPOINTGREY)
#$(ADPOINTGREY)_DEPEND_DIRS += $(ADCORE)
and it solves the problem.
From: Mark Rivers [mailto:firstname.lastname@example.org]
Sent: 14 February 2017 19:12
To: Marcin Lukaszewski <Marcin.Lukaszewski@Hilase.cz>; email@example.com
Subject: RE: Problem compiling areaDetector-2-5
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?
From: firstname.lastname@example.org [email@example.com] on behalf of Marcin Lukaszewski [Marcin.Lukaszewski@Hilase.cz]
Sent: Tuesday, February 14, 2017 10:00 AM
Subject: Problem compiling areaDetector-2-5
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:
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: *** [PosPluginWrapper.o] Error 1
make: 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: *** [install.linux-x86_64] Error 2
make: 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: *** [pluginTests.install] Error 2
make: 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: *** [ADApp.install] Error 2
make: 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:
→ find -name "NDPosPlugin.h"
→ find -name "PosPluginWrapper.h"
What I am doing wrong? Is there anything else I have to setup to compile areaDetector?
- 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:
RE: VAL field in Motor record Default unit Mark Clift
RE: Problem compiling areaDetector-2-5 Mark Rivers
- Navigate by Thread:
RE: Problem compiling areaDetector-2-5 Marcin Lukaszewski
sumitomo f70 compressor Pierrick Hanlet