error while installing libjasper-dev package on debian 12 (bookworm)
hello, i want to ask
when i try to install libjasper-dev package on debian 12 (bookworm) i get this error
"-- Could not find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR) "
1 Reply
Hi @big-D, the libjasper-dev package is not properly installed, or the CMake configuration is unable to locate the Jasper library and its header files.
These steps may help you:
1- ensure that the libjasper-dev package is installed:
2- After installation, verify that the necessary files are present:
3- If the files are present but CMake still cannot find them, you might need to set the environment variables to help CMake locate the library:
then reload the shell configuration:
4- If setting environment variables is not sufficient configure CMake with Hints:
5- now ensure that your CMake configuration includes a module to find Jasper:
6- run CMake to see if it successfully finds the Jasper library 👀 :
and you can consult the package documentation for better guidance