Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#48292 - [assimp] ASSIMP_LIBRARIES variable configured incorrectly

Attached to Project: Community Packages
Opened by Sven Schneider (Sandmann) - Sunday, 21 February 2016, 22:42 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 22 February 2016, 20:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
assimp includes a CMake configuration file in /usr/lib/cmake/assimp-3.2/assimp-config.cmake. This configuration file sets the variable "ASSIMP_LIBRARIES". However, this variable points to the debug version of the shared object, i.e. a "d" is appended to the name. This problem originates from the CMakeLists.txt file in assimp-3.2 itself (line 101). The CMake script checks if the "CMAKE_BUILD_TYPE" variable is set to "Release". If not, it appends the "d" when generating the assimp-config.cmake file.

Steps to reproduce:
Open the /usr/lib/cmake/assimp-3.2/assimp-config.cmake with an editor and check line 49: set( ASSIMP_LIBRARIES ${ASSIMP_LIBRARIES}d). This resolves to "assimpd", a library which is not provided by this package.

Solution:
Add a "-DCMAKE_BUILD_TYPE=Release" to the cmake configuration step.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 22 February 2016, 20:53 GMT
Reason for closing:  Fixed
Comment by Andrey Kazansev (akazantsev) - Monday, 22 February 2016, 20:31 GMT

Loading...