Skip to content

Conversation

@nim65s
Copy link
Contributor

@nim65s nim65s commented Mar 9, 2019

Hi,

This PR implements jrl-umi3218/jrl-cmakemodules#177 for the main library, sot that we will generate:

  • lib/libeigenpy.so (linked to boost-python 2) and lib/python2.7/site-packages/eigenpy.so for python 2
  • lib/libeigenpy.cpython-37m-x86_64-linux-gnu.so (linked to boost-python 3) and lib/python3.7/site-packages/eigenpy.so for python 3 (this obviously depends on the actually used python version / architecture / etc).

This should fix the issue raised in #55, ie. allows us to install the python 2 and python 3 libraries side by side in the same prefix.

But to achieve this goal, we should also handle how the other files (includes and .pc) are installed. I will provide a solution later.

@nim65s
Copy link
Contributor Author

nim65s commented Mar 9, 2019

CI including #56 & this PR is provided here: https://gepgitlab.laas.fr/gsaurel/eigenpy/pipelines/3453

@jcarpent
Copy link
Contributor

jcarpent commented Mar 9, 2019

@nim65s Thanks for this contribution

@jcarpent jcarpent merged commit b33a854 into stack-of-tasks:devel Mar 9, 2019
@nim65s nim65s deleted the topic/soabi branch June 4, 2021 10:20
nim65s added a commit to nim65s/eigenpy that referenced this pull request Jun 4, 2021
This re-apply stack-of-tasks#57, because
the main library is linked to boost python, and in case we have a setup
with multiple python versions, we want to ensure that the python module
will not link to a version of the main library linked to the wrong boost
python library.

This is a reccuring issue for users who are using Python 3 on Ubuntu
18.04 or 20.04, while they also have ROS, which is stuck to a Python 2
version of eigenpy.
eg. stack-of-tasks#230

This was removed in stack-of-tasks#113.

Instead of deactivating this feature for everybody because this can
raise an issue on Windows (I have no idea what this issue is), this
commit reactivate this feature for everybody except Windows users.
@nim65s nim65s restored the topic/soabi branch June 11, 2021 00:37
@nim65s nim65s deleted the topic/soabi branch November 9, 2023 22:06
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

Successfully merging this pull request may close these issues.

2 participants