Closed leito92 closed 8 months ago
Hi again, could you tell us more?
detector_tango_install.txt detector_tango_error.txt
I attached the steps on what I did. When I run the script, it stops in the middle of execution and tells me: "Problem building/installing Lima: CMake could not build Lima". I also attached the error file.
Hi, it seems there is a mismatch between the gcc pthread and your native CC pthreads (with a s a the end). On which platform and with which compiler are you building ?
And wich version of CMake? It's strange that the FindThreads
module fails. Here is the doc. Maybe you need to set THREADS_PREFER_PTHREAD_FLAG
on your platform? Or are you cross compiling?
I am working with Docker. The platform is Debian and the compiler is gcc. The version of CMake is 3.13.4 but I do not understand the question: "are you cross compiling?". How can I set "THREADS_PREFER_PTHREAD_FLAG"?
if you are looking for the QHYccd camera support in LIMA project, you can stop now, there is not code available for this type of camera, since the main developer (tester) did never finish to test. And we do have such detector at ESRF. Sorry for the inconvenience.
So, how can I install LiMA for QHYCCD camera?
Do you want to develop the plugin code for this camera? The actual project is empty, no line of code http://github.com/esrf-bliss/lima-camera-qhyccd, just a project skeleton.
Yes, I want to do. How can I install the LiMA library to use it in my code for QHYCCD?
Maybe that documentation would help to setup a dev env.
only by conda can I install lima-core?
Hi, yes, this is the easiest way for you to compile a new camera plugin. Create an empty conda env., then install the lima-camera-simulator-tango package, you then get all you need, lima-core, processlib, other third-party packages to compile your code.
Hi, I am working on a Raspberry Pi 3 B+. I can not install lima-core with conda. Is there no other way to have lima-core for python?
Using Conda to setup a dev env is only a suggestion, you can of course build from source on your Raspberry Pi. All you need is a C++ compiler and CMake recent enough and to install all 3rd party dependencies that you want to support in your build (e.g. HDF5). If you have all that installed on your target system, then building Lima should be relatively simple:
cmake -Bbuild -H. -DLIMA_ENABLE_PYTHON=ON
cmake --build build --target install
You can add more options to the configure step (the first command line), e.g. -DLIMA_ENABLE_HDF5=ON
.
hello again.. what compiler version should I have?
To be on the safe side, I would say g++ > 7.2
.
Hi, I keep having problems installing LImA. I did: "./install.sh --install-prefix=${HOME} tests". Where can I locate "Lima.Core" that it is used in the import?
It should be installed in your Python dist packages folder:
python -c 'import site; print(site.getsitepackages())'
The C++ libraries should be in ${HOME}/lib
, headers in ${HOME}/include
as usual on Linux.
Hello, I can't install the LiMA on Linux from the source. I need help! Best,