Bug 510760

Summary: Could NOT find Eigen3 5.0.0
Product: [Applications] digikam Reporter: nucleo <nucleo>
Component: Plugin-Editor-SharpenAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 8.8.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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