Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build doesn't find openjpeg.h #423

Open
yurivict opened this issue Jun 22, 2022 · 0 comments
Open

Build doesn't find openjpeg.h #423

yurivict opened this issue Jun 22, 2022 · 0 comments

Comments

@yurivict
Copy link

--- 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant