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 fails for openjpeg 2.4 #274

Open
coogor opened this issue Mar 2, 2021 · 3 comments
Open

build fails for openjpeg 2.4 #274

coogor opened this issue Mar 2, 2021 · 3 comments

Comments

@coogor
Copy link

coogor commented Mar 2, 2021

..the attached patch fixes the issue
libjpeg24.txt

(Hm, why does github not allow uploads with extention .diff?)

@gromain
Copy link

gromain commented May 8, 2021

Just so you know, we manage to build this package for Arch Linux with the following patch on CMakeLists.txt

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b066a04..0e286f2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -116,7 +116,7 @@ find_path(OPENJPEG_INCLUDE_DIR
      /opt/local/include # DarwinPorts
      /opt/csw/include # Blastwave
      /opt/include
-     PATH_SUFFIXES openjpeg-2.3 openjpeg-2.2 openjpeg-2.1
+     PATH_SUFFIXES openjpeg-2.4 openjpeg-2.3 openjpeg-2.2 openjpeg-2.1
      REQUIRED
  )
 include_directories(${OPENJPEG_INCLUDE_DIR})

Source here: https://aur.archlinux.org/cgit/aur.git/tree/CMakelists.txt.patch?h=xygrib-git

@gromain
Copy link

gromain commented May 8, 2021

Also, I thought you attached an error log.

Your patch works for version 1.2.6. Mine works for the latest git version.

@coogor
Copy link
Author

coogor commented May 8, 2021

Your patch works for version 1.2.6. Mine works for the latest git version.

Yes, thats the latest version :-)

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

2 participants