libjxl

Remco Viëtor remco.vietor at wanadoo.fr
Fri Dec 6 15:38:17 GMT 2024


On vendredi 6 décembre 2024 16:21:41 CET Steven Robbins wrote:
> On Friday, December 6, 2024 3:09:06 A.M. CST Benoît Barbier wrote:
> > Hello,
> > 
> > I have this error when compiling digikam
> > 
> > CMake Error at core/cmake/modules/FindLibjxl.cmake:60 (file):
> >    file STRINGS file “/usr/include/jxl/version.h” cannot be read.
> > 
> > Call Stack (most recent call first):
> >    core/CMakeLists.txt:57 (find_package)
> > 
> > It looks for libjxl in /usr/include/
> > 
> > I've compiled libjxl and it's installed in
> > 
> > /usr/local/include/jxl/version.h
> > 
> > How can I solve this problem?
> 
> in the cmake gui window, you can search for jxl and find the configuration
> items for the include and library paths.  Edit them as appropriate.
> 
> You can alternatively set compiler flags if there are many libraries in
> /usr/ local.  Search the cmake docs for details.
> 

Make sure the compiler then also uses the *library* you compiled yourself (in 
/usr/local/lib64 probably). Otherwise there's a large chance the linker will 
complain.

Alternatively (depending on why you compiled libjxl), load the development 
package for your distribution...




More information about the Digikam-users mailing list