Closed laurent-claustre closed 5 years ago
I am currently trying to put a Rayonix MX-225 detector into operation again in order to use it at our fixed-energy side station together with a MD2S. The idea is to control it with LImA in order to integrate it into MXCuBE.
After some hassle with the new build system ( ) I got quite far but I am now experiencing problems when building the python modules and/or the Tango DS, i. e. a Marccd header file is not found.
[ 91%] Building CXX object camera/marccd/CMakeFiles/python_module_limamarccd.dir/sip/siplimamarccdpart1.cpp.o /home/mhellm/work/lima/camera/marccd/sip/MarccdInterface.sip:11:29: fatal error: MarccdInterface.h: No such file or directory
^
compilation terminated. camera/marccd/CMakeFiles/python_module_limamarccd.dir/build.make:137: recipe for target 'camera/marccd/CMakeFiles/python_module_limamarccd.dir/sip/siplimamarccdpart1.cpp.o' failed make[2]: [camera/marccd/CMakeFiles/python_module_limamarccd.dir/sip/siplimamarccdpart1.cpp.o] Error 1 CMakeFiles/Makefile2:583: recipe for target 'camera/marccd/CMakeFiles/python_module_limamarccd.dir/all' failed make[1]: [camera/marccd/CMakeFiles/python_module_limamarccd.dir/all] Error 2
I am trying to build release v1.8.0 on a Debian Stretch system with a manually installed version of sip (4.19.14).
I would be very happy if you could provide some help to overcome this issue.
Thanks in advance for your help.
I am looking forward to meeting you again at some point in the future, best wishes, Michael
-- Michael Hellmig Experiment Control and Data Acquisition
BESSY II photon source Albert-Einstein-Str. 15, 12489 Berlin Voice +49 30 8062 14839 Email michael.hellmig@helmholtz-berlin.de
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Dr. Karl Eugen Huthmacher, stv. Vorsitzende Dr. Jutta Koch-Unterseher Geschäftsführung: Prof. Dr. Bernd Rech (kommissarisch), Thomas Frederking
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse: Hahn-Meitner-Platz 1 D-14109 Berlin
lima180_build_log.txt
mhellm@debian:~/work/lima/build$ !890
cmake .. -G "Unix Makefiles" -DLIMACAMERA_MARCCD=true -DLIMA_ENABLE_PYTANGO_SERVER=true -DLIMACAMERA_META=true -DLIMACAMERA_SIMULATOR=true -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/lima -DLIMA_ENABLE_PYTHON=true -DPYTHON_LIBRARY="/usr/lib/x86_64-linux-gnu/libpython2.7.so" -DPYTHON_INCLUDE_DIR="/usr/include/python2.7"
-- GIT_VERSION: 1.8.0
-- PROJECT_VERSION: 1.8.0
-- PACKAGE_VERSION: 1.8.0
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- GIT_VERSION: 1.6.0
-- PROJECT_VERSION: 1.6.0
-- PACKAGE_VERSION: 1.6.0
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Found GSL: /usr/include (found version "2.3")
-- Found PythonInterp: /usr/bin/python (found version "2.7.13")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found version "2.7.13")
-- Found SIP version: 4.19.14
-- #### NUMPY /usr/bin/python
-- Found NUMPY: /usr/lib/python2.7/dist-packages/numpy/core/include
-- Found components for NumPy
-- NUMPY_ROOT_DIR = /usr/local/lima
-- NUMPY_INCLUDE_DIRS = /usr/lib/python2.7/dist-packages/numpy/core/include
-- NUMPY_LIBRARIES = /usr/lib/python2.7/dist-packages/numpy/core/lib/libnpymath.a
-- NUMPY_API_VERSION = 1.12.1
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Found SIP version: 4.19.14
-- #### NUMPY /usr/bin/python
-- Found components for NumPy
-- NUMPY_ROOT_DIR = /usr/local/lima
-- NUMPY_INCLUDE_DIRS = /usr/lib/python2.7/dist-packages/numpy/core/include
-- NUMPY_LIBRARIES = /usr/lib/python2.7/dist-packages/numpy/core/lib/libnpymath.a
-- NUMPY_API_VERSION = 1.12.1
-- GIT_VERSION: 1.8.0
-- PROJECT_VERSION: 1.8.0
-- PACKAGE_VERSION: 1.8.0
-- #### NUMPY /usr/bin/python
-- Found components for NumPy
-- NUMPY_ROOT_DIR = /usr/local/lima
-- NUMPY_INCLUDE_DIRS = /usr/lib/python2.7/dist-packages/numpy/core/include
-- NUMPY_LIBRARIES = /usr/lib/python2.7/dist-packages/numpy/core/lib/libnpymath.a;/usr/lib/python2.7/dist-packages/numpy/core/lib/libnpymath.a
-- NUMPY_API_VERSION = 1.12.1
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- GIT_VERSION: 1.8.0
-- PROJECT_VERSION: 1.8.0
-- PACKAGE_VERSION: 1.8.0+8+g98ec376
-- #### NUMPY /usr/bin/python
-- Found components for NumPy
-- NUMPY_ROOT_DIR = /usr/local/lima
-- NUMPY_INCLUDE_DIRS = /usr/lib/python2.7/dist-packages/numpy/core/include
-- NUMPY_LIBRARIES = /usr/lib/python2.7/dist-packages/numpy/core/lib/libnpymath.a;/usr/lib/python2.7/dist-packages/numpy/core/lib/libnpymath.a
-- NUMPY_API_VERSION = 1.12.1
CMake Warning (dev) at cmake/LimaTools.cmake:27 (message):
limatools_set_library_soversion is DEPRECATED: check the camera plugin
template to update your CMakeFile to use git tags instead.
Call Stack (most recent call first):
camera/marccd/CMakeLists.txt:51 (limatools_set_library_soversion)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mhellm/work/lima/build
mhellm@debian:~/work/lima/build$ make
[ 1%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/processlib/project_version.cc.o
[ 1%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/core/src/GslErrorMgr.cpp.o
[ 2%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/core/src/PoolThreadMgr.cpp.o
[ 2%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/core/src/TaskEventCallback.cpp.o
[ 3%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/core/src/LinkTask.cpp.o
[ 3%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/core/src/SinkTask.cpp.o
[ 4%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/core/src/TaskMgr.cpp.o
[ 4%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/core/src/HeaderContainer.cpp.o
[ 5%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/tasks/src/BackgroundSubstraction.cpp.o
[ 6%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/tasks/src/FlatfieldCorrection.cpp.o
[ 6%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/tasks/src/RoiCounter.cpp.o
[ 7%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/tasks/src/Binning.cpp.o
[ 7%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/tasks/src/Flip.cpp.o
[ 8%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/tasks/src/SoftRoi.cpp.o
[ 8%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/tasks/src/Bpm.cpp.o
[ 9%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/tasks/src/Mask.cpp.o
[ 9%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/tasks/src/Roi2Spectrum.cpp.o
[ 10%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/tasks/src/Rotation.cpp.o
[ 10%] Building CXX object third-party/Processlib/CMakeFiles/processlib.dir/tasks/src/PeakFinder.cpp.o
[ 11%] Linking CXX shared library libprocesslib.so
[ 11%] Built target processlib
Scanning dependencies of target limacore
[ 11%] Building CXX object CMakeFiles/limacore.dir/lima/project_version.cc.o
[ 12%] Building CXX object CMakeFiles/limacore.dir/common/src/Constants.cpp.o
[ 12%] Building CXX object CMakeFiles/limacore.dir/common/src/SizeUtils.cpp.o
[ 13%] Building CXX object CMakeFiles/limacore.dir/common/src/Timestamp.cpp.o
[ 13%] Building CXX object CMakeFiles/limacore.dir/common/src/ThreadUtils.cpp.o
[ 14%] Building CXX object CMakeFiles/limacore.dir/common/src/Exceptions.cpp.o
[ 14%] Building CXX object CMakeFiles/limacore.dir/common/src/MemUtils.cpp.o
[ 15%] Building CXX object CMakeFiles/limacore.dir/common/src/AcqState.cpp.o
[ 15%] Building CXX object CMakeFiles/limacore.dir/common/src/Debug.cpp.o
[ 16%] Building CXX object CMakeFiles/limacore.dir/common/src/VideoUtils.cpp.o
[ 16%] Building CXX object CMakeFiles/limacore.dir/common/src/Event.cpp.o
[ 17%] Building CXX object CMakeFiles/limacore.dir/common/src/Timer.cpp.o
[ 17%] Building CXX object CMakeFiles/limacore.dir/common/src/DirectoryEventUtils.cpp.o
/home/mhellm/work/lima/common/src/DirectoryEventUtils.cpp: In member function ‘void _GenericDirectoryEvent::_run()’:
/home/mhellm/work/lima/common/src/DirectoryEventUtils.cpp:500:22: warning: ‘int readdir_r(DIR, dirent, dirent)’ is deprecated [-Wdeprecated-declarations]
int status = readdir_r(dir,&entry,&result);
^~~~~
In file included from /home/mhellm/work/lima/common/src/DirectoryEventUtils.cpp:23:0:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR restrict dirp,
^~~~~
/home/mhellm/work/lima/common/src/DirectoryEventUtils.cpp:500:50: warning: ‘int readdir_r(DIR, dirent*, dirent*)’ is deprecated [-Wdeprecated-declarations]
int status = readdir_r(dir,&entry,&result);
^
In file included from /home/mhellm/work/lima/common/src/DirectoryEventUtils.cpp:23:0:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR restrict dirp,
^~~~~
[ 18%] Building CXX object CMakeFiles/limacore.dir/common/src/RegExUtils.cpp.o
[ 18%] Building CXX object CMakeFiles/limacore.dir/common/src/SimplePipe.cpp.o
[ 19%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwInterface.cpp.o
[ 19%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwCap.cpp.o
[ 20%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwSyncCtrlObj.cpp.o
[ 21%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwFrameInfo.cpp.o
[ 21%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwFrameCallback.cpp.o
[ 22%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwBufferCtrlObj.cpp.o
[ 22%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwBufferMgr.cpp.o
[ 23%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwShutterCtrlObj.cpp.o
[ 23%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwMaxImageSizeCallback.cpp.o
[ 24%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwDetInfoCtrlObj.cpp.o
[ 24%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwBinCtrlObj.cpp.o
[ 25%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwRoiCtrlObj.cpp.o
[ 25%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwFlipCtrlObj.cpp.o
[ 26%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwSerialLine.cpp.o
[ 26%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwBufferSave.cpp.o
[ 27%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwVideoCtrlObj.cpp.o
[ 27%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwEventCtrlObj.cpp.o
[ 28%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwSavingCtrlObj.cpp.o
[ 28%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwReconstructionCtrlObj.cpp.o
[ 29%] Building CXX object CMakeFiles/limacore.dir/hardware/src/HwFileEventMgr.cpp.o
/home/mhellm/work/lima/hardware/src/HwFileEventMgr.cpp: In member function ‘virtual void lima::HwTmpfsBufferMgr::_CBK::prepare(const lima::DirectoryEvent::Parameters&)’:
/home/mhellm/work/lima/hardware/src/HwFileEventMgr.cpp:123:19: warning: ‘int readdir_r(DIR, dirent, dirent)’ is deprecated [-Wdeprecated-declarations]
int status = readdir_r(aWatchDir,
^~~~~
In file included from /home/mhellm/work/lima/hardware/src/HwFileEventMgr.cpp:22:0:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR restrict dirp,
^~~~~
/home/mhellm/work/lima/hardware/src/HwFileEventMgr.cpp:124:30: warning: ‘int readdir_r(DIR, dirent*, dirent)’ is deprecated [-Wdeprecated-declarations]
&aDirentStruct,&result);
^
In file included from /home/mhellm/work/lima/hardware/src/HwFileEventMgr.cpp:22:0:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR restrict dirp,
^~~~~
[ 29%] Building CXX object CMakeFiles/limacore.dir/control/src/CtSaving.cpp.o
/home/mhellm/work/lima/control/src/CtSaving.cpp: In member function ‘void lima::CtSaving::Stream::checkWriteAccess()’:
/home/mhellm/work/lima/control/src/CtSaving.cpp:2808:26: warning: ‘int readdir_r(DIR, dirent*, dirent*)’ is deprecated [-Wdeprecated-declarations]
!(returnFlag = readdir_r(aDirPt,&buffer,&result)) && result){
^~~~~
In file included from /home/mhellm/work/lima/control/src/CtSaving.cpp:30:0:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR restrict dirp,
^~~~~
/home/mhellm/work/lima/control/src/CtSaving.cpp:2808:58: warning: ‘int readdir_r(DIR, dirent, dirent)’ is deprecated [-Wdeprecated-declarations]
!(returnFlag = readdir_r(aDirPt,&buffer,&result)) && result){
^
In file included from /home/mhellm/work/lima/control/src/CtSaving.cpp:30:0:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR *restrict dirp,
^~~~~
[ 30%] Building CXX object CMakeFiles/limacore.dir/control/src/CtControl.cpp.o
[ 31%] Building CXX object CMakeFiles/limacore.dir/control/src/CtAcquisition.cpp.o
[ 31%] Building CXX object CMakeFiles/limacore.dir/control/src/CtBuffer.cpp.o
[ 32%] Building CXX object CMakeFiles/limacore.dir/control/src/CtImage.cpp.o
[ 32%] Building CXX object CMakeFiles/limacore.dir/control/src/CtSaving_Compression.cpp.o
[ 33%] Building CXX object CMakeFiles/limacore.dir/control/src/CtSaving_Edf.cpp.o
[ 33%] Building CXX object CMakeFiles/limacore.dir/control/src/CtShutter.cpp.o
[ 34%] Building CXX object CMakeFiles/limacore.dir/control/src/CtAccumulation.cpp.o
[ 34%] Building CXX object CMakeFiles/limacore.dir/control/src/CtVideo.cpp.o
[ 35%] Building CXX object CMakeFiles/limacore.dir/control/src/CtEvent.cpp.o
[ 35%] Building CXX object CMakeFiles/limacore.dir/control/software_operation/src/SoftOpInternalMgr.cpp.o
[ 36%] Building CXX object CMakeFiles/limacore.dir/control/software_operation/src/SoftOpExternalMgr.cpp.o
[ 36%] Building CXX object CMakeFiles/limacore.dir/control/software_operation/src/SoftOpId.cpp.o
[ 37%] Linking CXX shared library liblimacore.so
[ 37%] Built target limacore
[ 38%] Generating SIP code for module limacore
Scanning dependencies of target python_module_limacore
[ 38%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart0.cpp.o
[ 39%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart1.cpp.o
[ 39%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart2.cpp.o
[ 40%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart3.cpp.o
[ 40%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart4.cpp.o
[ 41%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart5.cpp.o
[ 42%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart6.cpp.o
[ 42%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart7.cpp.o
[ 43%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart8.cpp.o
[ 43%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart9.cpp.o
[ 44%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart10.cpp.o
[ 44%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart11.cpp.o
[ 45%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart12.cpp.o
/home/mhellm/work/lima/build/sip/siplimacorepart12.cpp:790:20: error: ‘std::__cxx11::string sipEvent::getMsgStr()’ marked ‘override’, but does not override
::std::string getMsgStr() SIP_OVERRIDE;
^~~~~
CMakeFiles/python_module_limacore.dir/build.make:400: recipe for target 'CMakeFiles/python_module_limacore.dir/sip/siplimacorepart12.cpp.o' failed
make[2]: [CMakeFiles/python_module_limacore.dir/sip/siplimacorepart12.cpp.o] Error 1
CMakeFiles/Makefile2:115: recipe for target 'CMakeFiles/python_module_limacore.dir/all' failed
make[1]: [CMakeFiles/python_module_limacore.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
mhellm@debian:~/work/lima/build$ vi /home/mhellm/work/lima/build/sip/siplimacorepart12.cpp
mhellm@debian:~/work/lima/build$ vi /home/mhellm/work/lima/build/sip/siplimacorepart12.cpp
mhellm@debian:~/work/lima/build$ make
[ 11%] Built target processlib
[ 37%] Built target limacore
Scanning dependencies of target python_module_limacore
[ 38%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart12.cpp.o
[ 38%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart13.cpp.o
[ 39%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart14.cpp.o
[ 39%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart15.cpp.o
[ 40%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/sip_init_numpy.cpp.o
[ 40%] Linking CXX shared library limacore.so
[ 48%] Built target python_module_limacore
[ 49%] Generating sip/sipprocesslibpart0.cpp, sip/sipprocesslibpart1.cpp, sip/sipprocesslibpart2.cpp, sip/sipprocesslibpart3.cpp, sip/sipprocesslibpart4.cpp, sip/sipprocesslibpart5.cpp, sip/sipprocesslibpart6.cpp, sip/sipprocesslibpart7.cpp
Generating CPP code for module processlib
Scanning dependencies of target python_module_processlib
[ 49%] Building CXX object third-party/Processlib/CMakeFiles/python_module_processlib.dir/sip/sipprocesslibpart0.cpp.o
[ 50%] Building CXX object third-party/Processlib/CMakeFiles/python_module_processlib.dir/sip/sipprocesslibpart1.cpp.o
[ 51%] Building CXX object third-party/Processlib/CMakeFiles/python_module_processlib.dir/sip/sipprocesslibpart2.cpp.o
[ 51%] Building CXX object third-party/Processlib/CMakeFiles/python_module_processlib.dir/sip/sipprocesslibpart3.cpp.o
[ 52%] Building CXX object third-party/Processlib/CMakeFiles/python_module_processlib.dir/sip/sipprocesslibpart4.cpp.o
[ 52%] Building CXX object third-party/Processlib/CMakeFiles/python_module_processlib.dir/sip/sipprocesslibpart5.cpp.o
[ 53%] Building CXX object third-party/Processlib/CMakeFiles/python_module_processlib.dir/sip/sipprocesslibpart6.cpp.o
[ 53%] Building CXX object third-party/Processlib/CMakeFiles/python_module_processlib.dir/sip/sipprocesslibpart7.cpp.o
[ 54%] Building CXX object third-party/Processlib/CMakeFiles/python_module_processlib.dir/sip/sip_init_numpy.cpp.o
[ 54%] Linking CXX shared library processlib.so
[ 55%] Built target python_module_processlib
[ 55%] Building CXX object camera/common/meta/CMakeFiles/meta.dir/src/MetaInterface.cpp.o
[ 56%] Building CXX object camera/common/meta/CMakeFiles/meta.dir/src/MetaSyncCtrlObj.cpp.o
[ 56%] Building CXX object camera/common/meta/CMakeFiles/meta.dir/src/MetaDetInfoCtrlObj.cpp.o
[ 57%] Linking CXX shared library liblimameta.so
[ 57%] Built target meta
[ 58%] Generating SIP code for module limameta
File /home/mhellm/work/lima/build/camera/common/meta/sip/siplimametapart1.cpp was modified
Scanning dependencies of target python_module_limameta
[ 58%] Building CXX object camera/common/meta/CMakeFiles/python_module_limameta.dir/sip/siplimametapart0.cpp.o
[ 59%] Building CXX object camera/common/meta/CMakeFiles/python_module_limameta.dir/sip/siplimametapart1.cpp.o
[ 59%] Building CXX object camera/common/meta/CMakeFiles/python_module_limameta.dir/sip/siplimametapart2.cpp.o
[ 60%] Building CXX object camera/common/meta/CMakeFiles/python_module_limameta.dir/sip/siplimametapart3.cpp.o
[ 61%] Building CXX object camera/common/meta/CMakeFiles/python_module_limameta.dir/sip/siplimametapart4.cpp.o
[ 61%] Building CXX object camera/common/meta/CMakeFiles/python_module_limameta.dir/sip/siplimametapart5.cpp.o
[ 62%] Building CXX object camera/common/meta/CMakeFiles/python_module_limameta.dir/sip/siplimametapart6.cpp.o
[ 62%] Building CXX object camera/common/meta/CMakeFiles/python_module_limameta.dir/sip/siplimametapart7.cpp.o
[ 63%] Building CXX object camera/common/meta/CMakeFiles/python_module_limameta.dir/sip/siplimametapart8.cpp.o
[ 63%] Building CXX object camera/common/meta/CMakeFiles/python_module_limameta.dir/sip/siplimametapart9.cpp.o
[ 64%] Building CXX object camera/common/meta/CMakeFiles/python_module_limameta.dir/sip/siplimametapart10.cpp.o
[ 64%] Building CXX object camera/common/meta/CMakeFiles/python_module_limameta.dir/sip/siplimametapart11.cpp.o
[ 65%] Building CXX object camera/common/meta/CMakeFiles/python_module_limameta.dir/sip/siplimametapart12.cpp.o
[ 65%] Building CXX object camera/common/meta/CMakeFiles/python_module_limameta.dir/sip/siplimametapart13.cpp.o
[ 66%] Building CXX object camera/common/meta/CMakeFiles/python_module_limameta.dir/sip/siplimametapart14.cpp.o
[ 66%] Building CXX object camera/common/meta/CMakeFiles/python_module_limameta.dir/sip/siplimametapart15.cpp.o
[ 67%] Building CXX object camera/common/meta/CMakeFiles/python_module_limameta.dir/sip/sip_init_numpy.cpp.o
[ 67%] Linking CXX shared library limameta.so
[ 68%] Built target python_module_limameta
[ 68%] Building CXX object camera/simulator/CMakeFiles/simulator.dir/src/SimulatorFrameBuilder.cpp.o
[ 69%] Building CXX object camera/simulator/CMakeFiles/simulator.dir/src/SimulatorFrameLoader.cpp.o
[ 69%] Building CXX object camera/simulator/CMakeFiles/simulator.dir/src/SimulatorFramePrefetcher.cpp.o
[ 70%] Building CXX object camera/simulator/CMakeFiles/simulator.dir/src/SimulatorCamera.cpp.o
[ 70%] Building CXX object camera/simulator/CMakeFiles/simulator.dir/src/SimulatorInterface.cpp.o
[ 71%] Building CXX object camera/simulator/CMakeFiles/simulator.dir/src/SimulatorSyncCtrlObj.cpp.o
[ 71%] Building CXX object camera/simulator/CMakeFiles/simulator.dir/src/SimulatorDetInfoCtrlObj.cpp.o
[ 72%] Building CXX object camera/simulator/CMakeFiles/simulator.dir/src/SimulatorShutterCtrlObj.cpp.o
[ 72%] Building CXX object camera/simulator/CMakeFiles/simulator.dir/src/SimulatorBinCtrlObj.cpp.o
[ 73%] Linking CXX shared library liblimasimulator.so
[ 74%] Built target simulator
[ 74%] Generating SIP code for module limasimulator
File /home/mhellm/work/lima/build/camera/simulator/sip/siplimasimulatorpart1.cpp was modified
File /home/mhellm/work/lima/build/camera/simulator/sip/siplimasimulatorpart2.cpp was modified
File /home/mhellm/work/lima/build/camera/simulator/sip/siplimasimulatorpart3.cpp was modified
File /home/mhellm/work/lima/build/camera/simulator/sip/siplimasimulatorpart4.cpp was modified
File /home/mhellm/work/lima/build/camera/simulator/sip/siplimasimulatorpart5.cpp was modified
File /home/mhellm/work/lima/build/camera/simulator/sip/siplimasimulatorpart6.cpp was modified
File /home/mhellm/work/lima/build/camera/simulator/sip/siplimasimulatorpart7.cpp was modified
File /home/mhellm/work/lima/build/camera/simulator/sip/siplimasimulatorpart8.cpp was modified
File /home/mhellm/work/lima/build/camera/simulator/sip/siplimasimulatorpart9.cpp was modified
File /home/mhellm/work/lima/build/camera/simulator/sip/siplimasimulatorpart11.cpp was modified
Scanning dependencies of target python_module_limasimulator
[ 75%] Building CXX object camera/simulator/CMakeFiles/python_module_limasimulator.dir/sip/siplimasimulatorpart0.cpp.o
[ 75%] Building CXX object camera/simulator/CMakeFiles/python_module_limasimulator.dir/sip/siplimasimulatorpart1.cpp.o
[ 76%] Building CXX object camera/simulator/CMakeFiles/python_module_limasimulator.dir/sip/siplimasimulatorpart2.cpp.o
[ 77%] Building CXX object camera/simulator/CMakeFiles/python_module_limasimulator.dir/sip/siplimasimulatorpart3.cpp.o
[ 77%] Building CXX object camera/simulator/CMakeFiles/python_module_limasimulator.dir/sip/siplimasimulatorpart4.cpp.o
[ 78%] Building CXX object camera/simulator/CMakeFiles/python_module_limasimulator.dir/sip/siplimasimulatorpart5.cpp.o
[ 78%] Building CXX object camera/simulator/CMakeFiles/python_module_limasimulator.dir/sip/siplimasimulatorpart6.cpp.o
[ 79%] Building CXX object camera/simulator/CMakeFiles/python_module_limasimulator.dir/sip/siplimasimulatorpart7.cpp.o
[ 79%] Building CXX object camera/simulator/CMakeFiles/python_module_limasimulator.dir/sip/siplimasimulatorpart8.cpp.o
[ 80%] Building CXX object camera/simulator/CMakeFiles/python_module_limasimulator.dir/sip/siplimasimulatorpart9.cpp.o
[ 80%] Building CXX object camera/simulator/CMakeFiles/python_module_limasimulator.dir/sip/siplimasimulatorpart10.cpp.o
[ 81%] Building CXX object camera/simulator/CMakeFiles/python_module_limasimulator.dir/sip/siplimasimulatorpart11.cpp.o
[ 81%] Building CXX object camera/simulator/CMakeFiles/python_module_limasimulator.dir/sip/siplimasimulatorpart12.cpp.o
[ 82%] Building CXX object camera/simulator/CMakeFiles/python_module_limasimulator.dir/sip/siplimasimulatorpart13.cpp.o
[ 82%] Building CXX object camera/simulator/CMakeFiles/python_module_limasimulator.dir/sip/siplimasimulatorpart14.cpp.o
[ 83%] Building CXX object camera/simulator/CMakeFiles/python_module_limasimulator.dir/sip/siplimasimulatorpart15.cpp.o
[ 83%] Building CXX object camera/simulator/CMakeFiles/python_module_limasimulator.dir/sip/sip_init_numpy.cpp.o
[ 84%] Linking CXX shared library limasimulator.so
[ 84%] Built target python_module_limasimulator
[ 85%] Building CXX object camera/marccd/CMakeFiles/limamarccd.dir/src/MarccdCamera.cpp.o
[ 85%] Building CXX object camera/marccd/CMakeFiles/limamarccd.dir/src/MarccdInterface.cpp.o
[ 86%] Building CXX object camera/marccd/CMakeFiles/limamarccd.dir/src/MarccdDetInfoCtrlObj.cpp.o
[ 86%] Building CXX object camera/marccd/CMakeFiles/limamarccd.dir/src/MarccdSyncCtrlObj.cpp.o
[ 87%] Building CXX object camera/marccd/CMakeFiles/limamarccd.dir/src/MarccdBinCtrlObj.cpp.o
[ 88%] Building CXX object camera/marccd/CMakeFiles/limamarccd.dir/src/MarccdBufferCtrlObj.cpp.o
[ 88%] Building CXX object camera/marccd/CMakeFiles/limamarccd.dir/src/MarccdRoiCtrlObj.cpp.o
[ 89%] Building CXX object camera/marccd/CMakeFiles/limamarccd.dir/src/MarccdReader.cpp.o
[ 89%] Linking CXX shared library liblimamarccd.so
[ 90%] Built target limamarccd
[ 90%] Generating SIP code for module limamarccd
File /home/mhellm/work/lima/build/camera/marccd/sip/siplimamarccdpart1.cpp was modified
File /home/mhellm/work/lima/build/camera/marccd/sip/siplimamarccdpart2.cpp was modified
Scanning dependencies of target python_module_limamarccd
[ 91%] Building CXX object camera/marccd/CMakeFiles/python_module_limamarccd.dir/sip/siplimamarccdpart0.cpp.o
[ 91%] Building CXX object camera/marccd/CMakeFiles/python_module_limamarccd.dir/sip/siplimamarccdpart1.cpp.o
/home/mhellm/work/lima/camera/marccd/sip/MarccdInterface.sip:11:29: fatal error: MarccdInterface.h: No such file or directory
^
compilation terminated. camera/marccd/CMakeFiles/python_module_limamarccd.dir/build.make:137: recipe for target 'camera/marccd/CMakeFiles/python_module_limamarccd.dir/sip/siplimamarccdpart1.cpp.o' failed make[2]: [camera/marccd/CMakeFiles/python_module_limamarccd.dir/sip/siplimamarccdpart1.cpp.o] Error 1 CMakeFiles/Makefile2:583: recipe for target 'camera/marccd/CMakeFiles/python_module_limamarccd.dir/all' failed make[1]: [camera/marccd/CMakeFiles/python_module_limamarccd.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 mhellm@debian:~/work/lima/build$
i Laurent,
On 28.02.19 11:19, Laurent Claustre wrote:
Ok, I can try with the rayonixhs plugin.
How is the communication established with the detector head in this configuration, by running marccd in remote mode as before? rayonixhs plugin is using the craydl library provided by Rayonix, and available under /opt/rayonix/. So, once plugin and lima is compiled it has to be run on the detector computer. I will try to find out whether the old detectors can be operated with the craydl library but honestly I doubt that this is the case.
I don't really understand what you do, are you really on the master branch of Lima and using? I did have a look on the CMakeLists.txt of the marccd project, and it is completely out of date to work with the install.sh script. Did you make some fixes? I am using LImA version v1.8.0 and cmake directly.
Before building LImA I have cloned (git clone https://github.com/srgblnch/yat.git), built and installed the yat Library which needed one small fix to make it compatible with the current C++ compiler.
In the following please find my LImA build sequence: 874 git clone https://gitlab.esrf.fr/limagroup/lima.git 875 cd lima/ 876 git checkout v1.8.0 877 git status 879 git submodule init third-party/Processlib 880 git submodule init applications/tango/python 881 git submodule init camera/marccd 882 git submodule init camera/simulator 883 git submodule init camera/common/meta 884 git submodule update 885 mkdir build && cd build
890 cmake .. -G "Unix Makefiles" -DLIMACAMERA_MARCCD=true -DLIMA_ENABLE_PYTANGO_SERVER=true -DLIMACAMERA_META=true -DLIMACAMERA_SIMULATOR=true -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/lima -DLIMA_ENABLE_PYTHON=true -DPYTHON_LIBRARY="/usr/lib/x86_64-linux-gnu/libpython2.7.so" -DPYTHON_INCLUDE_DIR="/usr/include/python2.7"
Before the problem with the include file there was a small other problem which I was able to fix by removing the SIP_OVERRIDE directive: [ 45%] Building CXX object CMakeFiles/python_module_limacore.dir/sip/siplimacorepart12.cpp.o /home/mhellm/work/lima/build/sip/siplimacorepart12.cpp:790:20: error: ‘std::__cxx11::string sipEvent::getMsgStr()’ marked ‘override’, but does not override ::std::string getMsgStr() SIP_OVERRIDE;
The next problem is the missing include file, see below in the initial mail.
Do you know a contact person at Alba in order to find out more about their current status with the Rayonix MX225/300/325 detectors?
Thanks, best wishes, Michael
Hi again, in case you can use conda, I make a new patch to CMakeLists.txt to compile the camera plugin in standalone mode. But forget the patches and clone from gitlab.esrf.fr
here the recipe: first clone the marccd plugin and checkout my dev. branch
$ git clone https://gitlab.esrf.fr/limagroup/lima-camera-marccd $ cd lima-camera-marccd/ $ git checkout 1-cmake-last-flavor-missing
Then create your conda env for dev $ conda create -n my_lima_dev python=2.7 cmake gxx_linux-64 git
$ conda activate my_lima_dev
(my_lima_dev)$ conda install lima-core -c esrf-bcu
(my_lima_dev)$ cmake -Bbuild -H. -DLIMA_ENABLE_PYTHON=1 -DCAMERA_ENABLE_TESTS=1 -DCMAKE_FIND_ROOT_PATH=$CONDA_PREFIX -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DPYTHON_SITE_PACKAGES_DIR=$CONDA_PREFIX/lib/python2.7/site-packages
.....
(my_lima_dev)$ cmake --build build --target install
Now you have lima-core and lima-camera-marccd installed to test:
(my_lima_dev)$ python -c "from Lima import Core,Marccd"
in addition to the library you should install the conda package for the tango server it installed pytango as well (my_lima_dev)$ conda install lima-tango-server -c esrf-bcu
checkout have the tango camera Marccd.py installed too, otherwise copy to the right place
cp
Good luck and bon WE.
Laurent
Hi Michael, did you get a chance to test? I would like to finish with this issue and merge the work with the official code on github.com. I did create an issue on github.com/esrf-bliss/lima-camera-marccd #5
I close the issue, lima 1.9 is now providing full support for marccd and conda package as well
This is log of email conversation with M.Hellmig about not working cmake compilation for marccd camera plugin