Bug 510760 - Could NOT find Eigen3 5.0.0
Summary: Could NOT find Eigen3 5.0.0
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Editor-Sharpen (other bugs)
Version First Reported In: 8.8.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-18 17:51 UTC by nucleo
Modified: 2025-10-18 19:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nucleo 2025-10-18 17:51:13 UTC
SUMMARY
Eigen3 5.0.0 could not be found 

STEPS TO REPRODUCE
1.  Try to compile with eigen3 5.0.0
2. 
3. 

OBSERVED RESULT
-- Eigen3 version .. found in /usr/include/eigen3, but at least version 2.91.0 is required
-- Could NOT find Eigen3 (missing: EIGEN3_VERSION_OK) (Required is at least version "2.91.0")
--  libeigen3 found.......................... NO  (optional)
--  digiKam will be compiled without Refocus tool support.
--  Please install the libeigen3 (version >= 3.0.0) development package.


EXPECTED RESULT
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")

SOFTWARE/OS VERSIONS
Fedora 44
Comment 1 Maik Qualmann 2025-10-18 19:23:52 UTC
Eigen 5.0.0, released on October 9, 2025, may not yet be compatible with digiKam. Use Eigen 3.4.x.

Maik
Comment 2 Antonio Rojas 2025-10-18 19:54:13 UTC
DigiKam finds Eigen 5 and builds just fine if using Eigen's upstream cmake config, but DigiKam's own FindEigen module (which is not compatible with Eigen 5) gets in the way.

Just rm core/cmake/modules/FindEigen3.cmake and pass -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3 to cmake as a workaround