The file assimpTargets-release.cmake directs cmake to find libassimp.so in /usr/lib. It seems that this is hardcoded in the assimpTargets-release.cmake.in file from upstream.
Noticed when attempting to compile ROS Melodic from source (the rviz package in particular).
*** Bug 702220 has been marked as a duplicate of this bug. ***
*** Bug 702562 has been marked as a duplicate of this bug. ***
This is actually upstream bug. If someone finds the time, please report it here: https://github.com/assimp/assimp/issues
Created attachment 615958 [details, diff]
check if we are building against x86_64
As a possible solution, needs checking.
This patch is against v5.0.1 version !
I posted a PR with a more correct/portable fix at https://github.com/assimp/assimp/pull/3115. Hopefully they'll accept that, but I'm guessing it'll have to be tested on Windows first. It does cleanly fix the situation on my Gentoo box, though.
The bug has been closed via the following commit(s):
Author: Andreas Sturmlechner <firstname.lastname@example.org>
AuthorDate: 2020-06-05 12:21:45 +0000
Commit: Andreas Sturmlechner <email@example.com>
CommitDate: 2020-06-05 12:48:43 +0000
media-libs/assimp: 5.0.1 version bump, switch to cmake.eclass, EAPI-7
- Add IUSE="doc"
- Drop IUSE="tools" as Qt5 based viewer was removed upstream
patch from commit cbf94fd62ff831879d10f99aa7766d391ae8a9b7
Thanks-to: Victor Mataré <firstname.lastname@example.org>
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <email@example.com>
media-libs/assimp/Manifest | 2 +
media-libs/assimp/assimp-5.0.1.ebuild | 62 ++++++
.../assimp/files/assimp-5.0.1-GNUInstallDirs.patch | 239 +++++++++++++++++++++
3 files changed, 303 insertions(+)