On ke, 2013-04-24 at 13:24 +1000, Matthew Briggs wrote: > Hello, > I am attempting to compile libbluray with BD-J support (it appears the > default that gets included with VLC does not feature BD-J support, hence > no menus when viewing blu-ray discs)
BluRay discs with HDMV menus should work quite well (no BD-J required). > under OS X 10.8.3 using X-code 4.6, > java_for_os_x_2013003_dp__11m4406 and source code from > ftp://ftp.videolan.org/pub/videolan/libbluray/0.2.3/libbluray-0.2.3.tar.bz2 You don't want to build 0.2.3 with BD-J support (it won't play any BD-J discs). You could try git snapshot from git.videolan.org. > When I try to configure, I get this: > > $ ./configure --enable-bdjava > > checking build system type... x86_64-apple-darwin12.3.0 > > checking host system type... x86_64-apple-darwin12.3.0 > > checking target system type... x86_64-apple-darwin12.3.0 > > checking for a BSD-compatible install... /usr/bin/install -c > > checking whether build environment is sane... yes > > checking for a thread-safe mkdir -p... build-aux/install-sh -c -d > > <SNIP> > > Checking if compiler supports -g... yes > > checking jni.h usability... no > > checking jni.h presence... no > > checking for jni.h... no > > configure: error: "Could not find jni.h" > > Obviously I have jni.h (located at > /System/Library/Frameworks/JavaVM.framework/Versions/A/Headers) but the > configure environment doesn't seem to be able to find it. >Am I missing an environmental variable or something? With 0.2.3: ./configure --help [...] --with-jdk=DIR Specify the path to the JDK (default is "/usr/lib/jvm/java-6-openjdk") With recent git snapshots: ./configure --help [...] Some influential environment variables: JDK_HOME Path to the JDK [default=/usr/lib/jvm/java-6-openjdk] Some OSX specific changes to configure.ac may be required. By default it uses "-I${JDK_HOME}/include -I${JDK_HOME}/include/$java_os" as include path. Probably also location of JVM library needs to be fixed. > Is my supposition that not compiling BD-J support is the reason > VLC for Mac does not display bluray menus correct? :) Yes and no. HDMV menus should work quite well without BD-J. Support for BD-J menus in libbluray is not yet complete (all BD-J discs won't play). Also some BD-J specific changes to vlc may be required. - Petri _______________________________________________ libbluray-devel mailing list [email protected] http://mailman.videolan.org/listinfo/libbluray-devel
