Can't build without optional dependencies - CMake noob #196
Replies: 2 comments
-
The configuration script looks for TIFF at this point: and the corresponding options are only set if I don't know what's happening there, but note that CMake only looks for TIFF but not To debug that, you could check if TIFF is being found at this point (if |
Beta Was this translation helpful? Give feedback.
-
I couldn't debug and ended up cloning the repository and adding matplotplusplus as subdirectory, it was the easiest way. I'll learn how to install a library and try the find_package later. With Windows this doesn't happen, but I have other kind of problem. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm using Ubuntu 20.04 LTS on WSL 2. When I try to build my project I get the following error:
TIFF is one of the optional libraries for image manipulation, but it looks like I can't build because of it.
Before this error showed up, I had the same error message with JPEG library, and after installing it, the error disapeared. Should I install all the libraries even when they are optional? What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions