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  2015  2016  2017  <20182019  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  <20182019 
<== Date ==> <== Thread ==>

Subject: RE: ADPointGrey with AD3-2, and base-7.0.1.1
From: Mark Rivers <rivers@cars.uchicago.edu>
To: "Gofron, Kazimierz" <kgofron@bnl.gov>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 25 Apr 2018 22:28:04 +0000
I merged the pull request.  It looks like the correct solution.

Mark


-----Original Message-----
From: Gofron, Kazimierz [mailto:kgofron@bnl.gov] 
Sent: Monday, April 23, 2018 2:35 PM
To: Mark Rivers <rivers@cars.uchicago.edu>; tech-talk@aps.anl.gov
Cc: 'citadel.lee@gmail.com' <citadel.lee@gmail.com>
Subject: RE: ADPointGrey with AD3-2, and base-7.0.1.1

Hi Mark,

With change to the code, it successfully compiled on Debian 9, without using flags suggested by Jeong: 'USR_CXXFLAGS += -Wno-narrowing'
I created a pull request, but I did not do any regression testing on any other systems.

Kaz

-----Original Message-----
From: Mark Rivers [mailto:rivers@cars.uchicago.edu]
Sent: Friday, April 20, 2018 6:30 PM
To: Gofron, Kazimierz; tech-talk@aps.anl.gov
Subject: Re: ADPointGrey with AD3-2, and base-7.0.1.1

Hi Kaz,


I build  ADPointGrey on linux-x86_64 with no problems.  I am using gcc 4.8.5.  I think the issue is that you are using gcc 6.3.0.  It looks like a minor modification is needed for newer gcc.  You can figure out what is needed and make a pull request.


Mark



________________________________
From: tech-talk-bounces@aps.anl.gov <tech-talk-bounces@aps.anl.gov> on behalf of Gofron, Kazimierz <kgofron@bnl.gov>
Sent: Friday, April 20, 2018 4:55 PM
To: tech-talk@aps.anl.gov
Subject: ADPointGrey with AD3-2, and base-7.0.1.1

Hi,

I am compiling ADPointGrey and running into code error in "pointGrey.cpp:245" . Did anyone compiled ADPointGrey recently on linux- 64bit ?

Best regards,

Kaz

base-7.0.1.1
AreaDetector 3-2
debian 9
gmaile 4.1
gcc 6.3.0


kaz@xf10id-is1:/epics/synApps/support/areaDetector-3-2/ADPointGrey$ make make -C ./configure install
make[1]: Entering directory '/epics/synApps/support/areaDetector-3-2/ADPointGrey/configure'
perl -CSD /epics/base-7-0-1-1/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../..
mkdir -p O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
    T_A=linux-x86_64 install
make[2]: Entering directory '/epics/synApps/support/areaDetector-3-2/ADPointGrey/configure/O.linux-x86_64'
perl -CSD /epics/base-7-0-1-1/bin/linux-x86_64/convertRelease.pl checkRelease
make[2]: Leaving directory '/epics/synApps/support/areaDetector-3-2/ADPointGrey/configure/O.linux-x86_64'
make[1]: Leaving directory '/epics/synApps/support/areaDetector-3-2/ADPointGrey/configure'
make -C ./pointGreySupport install
make[1]: Entering directory '/epics/synApps/support/areaDetector-3-2/ADPointGrey/pointGreySupport'
perl -CSD /epics/base-7-0-1-1/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ..//..
mkdir -p O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=..//.. \
    T_A=linux-x86_64 install
make[2]: Entering directory '/epics/synApps/support/areaDetector-3-2/ADPointGrey/pointGreySupport/O.linux-x86_64'
Installing generic include file ..//../include/AVIRecorder.h mkdir ../../include Installing generic include file ..//../include/BusManager.h Installing generic include file ..//../include/Camera.h Installing generic include file ..//../include/CameraBase.h Installing generic include file ..//../include/Error.h Installing generic include file ..//../include/FlyCapture2.h Installing generic include file ..//../include/FlyCapture2Defs.h Installing generic include file ..//../include/FlyCapture2Platform.h
Installing generic include file ..//../include/GigECamera.h Installing generic include file ..//../include/Image.h Installing generic include file ..//../include/ImageStatistics.h Installing generic include file ..//../include/TopologyNode.h Installing generic include file ..//../include/Utilities.h Installing libflycapture.so mkdir ../../lib mkdir ../../lib/linux-x86_64 Installing libflycapture.so.2 Installing libflycapture.so.2.9.3.43
make[2]: Leaving directory '/epics/synApps/support/areaDetector-3-2/ADPointGrey/pointGreySupport/O.linux-x86_64'
make[1]: Leaving directory '/epics/synApps/support/areaDetector-3-2/ADPointGrey/pointGreySupport'
make -C ./pointGreyApp install
make[1]: Entering directory '/epics/synApps/support/areaDetector-3-2/ADPointGrey/pointGreyApp'
make -C ./src install
make[2]: Entering directory '/epics/synApps/support/areaDetector-3-2/ADPointGrey/pointGreyApp/src'
perl -CSD /epics/base-7-0-1-1/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../../..
mkdir -p O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. \
    T_A=linux-x86_64 install
make[3]: Entering directory '/epics/synApps/support/areaDetector-3-2/ADPointGrey/pointGreyApp/src/O.linux-x86_64'
/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE           -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include       -I/epics/base-7-0-1-1/include/compiler/gcc -I/epics/base-7-0-1-1/include/os/Linux -I/epics/base-7-0-1-1/include      -I/epics/synApps/support/asyn-4-33/include  -I/epics/synApps/support/areaDetector-3-2/ADSupport/include/os/Linux -I/epics/synApps/support/areaDetector-3-2/ADSupport/include   -I/epics/synApps/support/areaDetector-3-2/ADCore/include                    -MM -MF pointGrey.d  ../pointGrey.cpp
Installing dbd file ../../../dbd/pointGreySupport.dbd mkdir ../../../dbd
/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE           -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include       -I/epics/base-7-0-1-1/include/compiler/gcc -I/epics/base-7-0-1-1/include/os/Linux -I/epics/base-7-0-1-1/include      -I/epics/synApps/support/asyn-4-33/include  -I/epics/synApps/support/areaDetector-3-2/ADSupport/include/os/Linux -I/epics/synApps/support/areaDetector-3-2/ADSupport/include   -I/epics/synApps/support/areaDetector-3-2/ADCore/include                    -c ../pointGrey.cpp
../pointGrey.cpp:245:1: error: narrowing conversion of '(FlyCapture2::PixelFormat)2147483648u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]  };  ^
/epics/base-7-0-1-1/configure/RULES_BUILD:237: recipe for target 'pointGrey.o' failed
make[3]: *** [pointGrey.o] Error 1
make[3]: Leaving directory '/epics/synApps/support/areaDetector-3-2/ADPointGrey/pointGreyApp/src/O.linux-x86_64'
/epics/base-7-0-1-1/configure/RULES_ARCHS:58: recipe for target 'install.linux-x86_64' failed
make[2]: *** [install.linux-x86_64] Error 2
make[2]: Leaving directory '/epics/synApps/support/areaDetector-3-2/ADPointGrey/pointGreyApp/src'
/epics/base-7-0-1-1/configure/RULES_DIRS:84: recipe for target 'src.install' failed
make[1]: *** [src.install] Error 2
make[1]: Leaving directory '/epics/synApps/support/areaDetector-3-2/ADPointGrey/pointGreyApp'
/epics/base-7-0-1-1/configure/RULES_DIRS:84: recipe for target 'pointGreyApp.install' failed
make: *** [pointGreyApp.install] Error 2 kaz@xf10id-is1:/epics/synApps/support/areaDetector-3-2/ADPointGrey$

References:
ADPointGrey with AD3-2, and base-7.0.1.1 Gofron, Kazimierz
Re: ADPointGrey with AD3-2, and base-7.0.1.1 Mark Rivers
RE: ADPointGrey with AD3-2, and base-7.0.1.1 Gofron, Kazimierz

Navigate by Date:
Prev: Re: NSLS-II Debian Repository in 2018 Anton Derbenev
Next: RE: Possible deadlock issue with asyn layer? 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  <20182019 
Navigate by Thread:
Prev: RE: ADPointGrey with AD3-2, and base-7.0.1.1 Gofron, Kazimierz
Next: Security Hardening for EPICS/RTEMS Gedare Bloom
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  <20182019 
ANJ, 25 Apr 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·