Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] building and installation #119

Open
PhilLAL opened this issue Oct 23, 2020 · 1 comment
Open

[doc] building and installation #119

PhilLAL opened this issue Oct 23, 2020 · 1 comment

Comments

@PhilLAL
Copy link
Contributor

PhilLAL commented Oct 23, 2020

Hi,
until now, I used the conda packages which are a great enhancement for installation.
However, I recentlty wanted to build again LImA for testing, I followed https://lima1.readthedocs.io/en/latest/build_install.html#using-scripts which seems to need update.
Here is my notes:

  • getting the sources seems to be an older version and I think we need only to clone main repo through git clone git://github.com/esrf-bliss/Lima.git
    • libconfig is unnecessary according to [doc] error while getting/installing Lima  #71 let me understand it is not needed anymore, but is mentionned in https://lima1.readthedocs.io/en/latest/git.html#get-source
    • instruction for getting sources include unnecessary steps for --git submodules
    • when running example installation sudo ./install.sh --git --install-prefix=./install --install-python-prefix=./install/python tiff basler python pytango-server, after installing Pylon v5 in /opt/pylon5, output reports PYLON_LIBRARIES and PYLON_INCLUDE_DIRS are missing. I probably missed some information about this in Pylon doc nor Lima doc, do you know where I can find details?

Regards

@sdebionne
Copy link
Contributor

Hi Phil,

Thanks for your feedback on the documentation. There is always room for improvements...

I think we need only to clone main repo through git clone git://github.com/esrf-bliss/Lima.git

Do you mean that you have --recurse-submodules by default? Surprising.

libconfig is unnecessary

libconfig has always been an optional dependency -our Conda package is built with it.

getting sources include unnecessary steps

Well this is related to your first point. I usually do

git clone git://github.com/esrf-bliss/Lima.git
git submodule update --init --recursive

PYLON_LIBRARIES and PYLON_INCLUDE_DIRS are missing

If your Pylon installation is outside the default search paths of CMake, then you need to give a hint where to find it. Something like cmake -DPYLON_ROOT=/opt/pylon5.

tiagocoutinho pushed a commit to tiagocoutinho/Lima that referenced this issue Nov 30, 2020
…-frames' into 'master'

Resolve "h5 saving:  frames_per_file not adjusted to the nb of frames"

Closes esrf-bliss#118 and esrf-bliss#119

See merge request limagroup/lima!164
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants