Summary: | Compilation terminates with "openjpeg.h" not found | ||
---|---|---|---|
Product: | MuPDF | Reporter: | Markus Schmits <marsh.exherbo> |
Component: | mupdf | Assignee: | Tor Andersson <tor.andersson> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 1.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: | Fix build with openjpeg-1.5.1 |
Sigh. How I pine for the good old days when you didn't have to add fifteen million -I flags for each library. Patch accepted; it will appear on master after review. |
Created attachment 9063 [details] Fix build with openjpeg-1.5.1 Overview: "openjpeg.h" is not found, although it is installed under "/usr/include/openjpeg-1.5/" Steps to Reproduce: 1) Compile source. Actual Results: Compile stops with message: fitz/image_jpx.c:4:22: fatal error: openjpeg.h: No such file or directory compilation terminated. Expected Results: Find "openjpeg.h" under "/usr/include/openjpeg-1.5/". Platform: i686-pc-linux-gnu-gcc, Linux 3.4.6 #2 Wed Jul 25 22:16:27 CEST 2012 GNU/Linux Additional Information: Attached a patch calling SYS_OPENJPEG_INC := `pkg-config --cflags libopenjpeg`.