View Bug Details

IDProjectCategoryView StatusLast Update
0000692DCP-o-maticPackagingpublic2018-10-17 20:10
Reportermarkusk Assigned Tocarl  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platform64BitOSLinuxOS VersionArch
Product Version2.3.0 
Summary0000692: openjpeg.h not found on arch in 2.X version (tested last on 2.3.2)
Description

[136/266] Compiling src/wx/audio_dialog.cc
In file included from /home/antoine/Bureau/dcpomatic-2.3.2/src/lib/types.h:25:0,
from /home/antoine/Bureau/dcpomatic-2.3.2/src/lib/util.h:27,
from /home/antoine/Bureau/dcpomatic-2.3.2/src/lib/film.h:28,
from ../src/wx/audio_dialog.h:20,
from ../src/wx/audio_dialog.cc:20:
/usr/include/libdcp-1.0/dcp/util.h:32:22: fatal error: openjpeg.h: No such file or directory
compilation terminated.

Steps To Reproduce

compile on normal Arch with ...

python2 waf configure --prefix=/usr
python2 waf build

Additional Information

"Fix" suggestion:
Arch installs openjpeg.h at /usr/include/openjpeg-1.5/openjpeg.h and not at /usr/include/openjpeg/openjpeg.h (reason maybe openjpeg2 package is also available beside the 1.5.X series).

The configure should check for the location and append
"-I/usr/include/openjpeg-1.5/ " to CXXFLAGS.

Hot-Fix:
I'm adding CXXFLAGS="$CXXFLAGS -I/usr/include/openjpeg-1.5/ " to all AUR package build scripts.

TagsNo tags attached.
Branch
Estimated weeks required
Estimated work requiredAverage

Activities

carl

2015-10-30 13:35

administrator   ~0000943

What does
pkg-config --cflags libopenjpeg
say on Arch?

markusk

2015-10-30 14:35

reporter   ~0000944

pkg-config --cflags libopenjpeg

-I/usr/include/openjpeg-1.5

carl

2015-10-30 16:07

administrator   ~0000945

That's strange then: DCP-o-matic should add that include to the cflags. Can you do the build with
./waf -v
to see what flags it is passing?

carl

2018-08-31 01:55

administrator   ~0002648

I think this is all sorted now. Leave a message if not...

Bug History

Date Modified Username Field Change
2015-09-17 21:21 markusk New Bug
2015-10-30 13:35 carl Note Added: 0000943
2015-10-30 13:35 carl Assigned To => carl
2015-10-30 13:35 carl Status new => feedback
2015-10-30 14:35 markusk Note Added: 0000944
2015-10-30 14:35 markusk Status feedback => assigned
2015-10-30 16:07 carl Note Added: 0000945
2015-10-30 16:07 carl Status assigned => feedback
2018-08-31 01:55 carl Status feedback => resolved
2018-08-31 01:55 carl Resolution open => fixed
2018-08-31 01:55 carl Note Added: 0002648
2018-10-17 20:10 carl Status resolved => closed