markummitchell / engauge-digitizer

Extracts data points from images of graphs
GNU General Public License v2.0
1.23k stars 212 forks source link

Build doesn't find openjpeg.h #423

Open yurivict opened 2 years ago

yurivict commented 2 years ago
--- src/.objs/LinearToLog.o ---
c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu++11 -pthread -Wall -Wextra -fPIC -DQT_NO_DEBUG -DENGAUGE_JPEG2000 -DENGAUGE_PDF -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_HELP_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/Background -Isrc/Callback -Isrc/Checker -Isrc/Checklist -Isrc/Cmd -Isrc/Color -Isrc/Coord -Isrc/CoordSystem -Isrc/Correlation -Isrc/Create -Isrc/Cursor -Isrc/Curve -Isrc/DigitizeState -Isrc/Dlg -Isrc/Document -Isrc/Export -Isrc/FileCmd -Isrc/Filter -Isrc/Fitting -Isrc/Format -Isrc/Geometry -Isrc/Ghosts -Isrc/Graphics -Isrc/Grid -Isrc/Guideline -Isrc/GuidelineView -Isrc/Help -Isrc/img -Isrc/Import -Isrc/include -Isrc/Line -Isrc/Load -Isrc/Logger -Isrc/main -Isrc/Matrix -Isrc/Mime -Isrc/Network -Isrc/NonPdf -Isrc/Ordinal -Isrc/Pdf -Isrc/Plot -Isrc/Point -Isrc/ScaleBar -Isrc/Segment -Isrc/Settings -Isrc/Spline -Isrc/StatusBar -Isrc/Transformation -Isrc/Translator -Isrc/Tutorial -Isrc/util -Isrc/View -Isr
 c/Window -Isrc/Zoom -I/usr/local/include/openjpeg-2.4 -Isrc/Jpeg2000 -I/usr/local/include/poppler/qt5 -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtPrintSupport -I/usr/local/include/qt5/QtHelp -I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtXml -I/usr/local/include/qt5/QtSql -I/usr/local/include/qt5/QtCore -Isrc/.moc -I/usr/local/include -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o src/.objs/LinearToLog.o src/util/LinearToLog.cpp
--- src/.objs/LineStyle.o ---
c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu++11 -pthread -Wall -Wextra -fPIC -DQT_NO_DEBUG -DENGAUGE_JPEG2000 -DENGAUGE_PDF -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_HELP_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/Background -Isrc/Callback -Isrc/Checker -Isrc/Checklist -Isrc/Cmd -Isrc/Color -Isrc/Coord -Isrc/CoordSystem -Isrc/Correlation -Isrc/Create -Isrc/Cursor -Isrc/Curve -Isrc/DigitizeState -Isrc/Dlg -Isrc/Document -Isrc/Export -Isrc/FileCmd -Isrc/Filter -Isrc/Fitting -Isrc/Format -Isrc/Geometry -Isrc/Ghosts -Isrc/Graphics -Isrc/Grid -Isrc/Guideline -Isrc/GuidelineView -Isrc/Help -Isrc/img -Isrc/Import -Isrc/include -Isrc/Line -Isrc/Load -Isrc/Logger -Isrc/main -Isrc/Matrix -Isrc/Mime -Isrc/Network -Isrc/NonPdf -Isrc/Ordinal -Isrc/Pdf -Isrc/Plot -Isrc/Point -Isrc/ScaleBar -Isrc/Segment -Isrc/Settings -Isrc/Spline -Isrc/StatusBar -Isrc/Transformation -Isrc/Translator -Isrc/Tutorial -Isrc/util -Isrc/View -Isr
 c/Window -Isrc/Zoom -I/usr/local/include/openjpeg-2.4 -Isrc/Jpeg2000 -I/usr/local/include/poppler/qt5 -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtPrintSupport -I/usr/local/include/qt5/QtHelp -I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtXml -I/usr/local/include/qt5/QtSql -I/usr/local/include/qt5/QtCore -Isrc/.moc -I/usr/local/include -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o src/.objs/LineStyle.o src/Line/LineStyle.cpp
--- src/.objs/ImportImageExtensions.o ---
In file included from src/Import/ImportImageExtensions.cpp:9:
src/Jpeg2000/Jpeg2000.h:10:10: fatal error: 'openjpeg.h' file not found
#include "openjpeg.h" // Before Jpeg2000Convert.h
         ^~~~~~~~~~~~
1 error generated.

openjpeg-2.4.0 is installed that has .pc and .cmake files.

$ pkg-config --cflags libopenjp2
-I/usr/local/include/openjpeg-2.4 

FreeBSD 13.1