<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 24, 2013 at 10:29 AM, Petri Hintukainen <span dir="ltr"><<a href="mailto:phintuka@users.sourceforge.net" target="_blank">phintuka@users.sourceforge.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On ke, 2013-04-24 at 13:24 +1000, Matthew Briggs wrote:<br>
> Hello,<br>
> I am attempting to compile libbluray with BD-J support (it appears the<br>
> default that gets included with VLC does not feature BD-J support, hence<br>
> no menus when viewing blu-ray discs)<br>
<br>
</div>BluRay discs with HDMV menus should work quite well (no BD-J required).<br>
<div class="im"><br>
> under OS X 10.8.3 using X-code 4.6,<br>
> java_for_os_x_2013003_dp__11m4406 and source code from<br>
> <a href="ftp://ftp.videolan.org/pub/videolan/libbluray/0.2.3/libbluray-0.2.3.tar.bz2" target="_blank">ftp://ftp.videolan.org/pub/videolan/libbluray/0.2.3/libbluray-0.2.3.tar.bz2</a><br>
<br>
</div>You don't want to build 0.2.3 with BD-J support (it won't play any BD-J<br>
discs). You could try git snapshot from <a href="http://git.videolan.org" target="_blank">git.videolan.org</a>.<br>
<div class="im"><br>
> When I try to configure, I get this:<br>
><br>
> $ ./configure --enable-bdjava<br>
><br>
> checking build system type... x86_64-apple-darwin12.3.0<br>
><br>
> checking host system type... x86_64-apple-darwin12.3.0<br>
><br>
> checking target system type... x86_64-apple-darwin12.3.0<br>
><br>
> checking for a BSD-compatible install... /usr/bin/install -c<br>
><br>
> checking whether build environment is sane... yes<br>
><br>
> checking for a thread-safe mkdir -p... build-aux/install-sh -c -d<br>
><br>
> <SNIP><br>
><br>
> Checking if compiler supports -g... yes<br>
><br>
> checking jni.h usability... no<br>
><br>
> checking jni.h presence... no<br>
><br>
> checking for jni.h... no<br>
><br>
> configure: error: "Could not find jni.h"<br>
><br>
> Obviously I have jni.h (located at<br>
> /System/Library/Frameworks/JavaVM.framework/Versions/A/Headers) but the<br>
> configure environment doesn't seem to be able to find it.<br>
>Am I missing an environmental variable or something?<br>
<br>
</div>With 0.2.3:<br>
<br>
./configure --help<br>
[...]<br>
--with-jdk=DIR Specify the path to the JDK (default is<br>
"/usr/lib/jvm/java-6-openjdk")<br>
<br>
With recent git snapshots:<br>
<br>
./configure --help<br>
[...]<br>
Some influential environment variables:<br>
JDK_HOME Path to the JDK [default=/usr/lib/jvm/java-6-openjdk]<br>
<br>
<br>
Some OSX specific changes to <a href="http://configure.ac" target="_blank">configure.ac</a> may be required. By default it<br>
uses "-I${JDK_HOME}/include -I${JDK_HOME}/include/$java_os" as include<br>
path. Probably also location of JVM library needs to be fixed.<br>
<div class="im"><br>
<br>
> Is my supposition that not compiling BD-J support is the reason<br>
> VLC for Mac does not display bluray menus correct? :)<br>
<br>
</div>Yes and no.<br>
HDMV menus should work quite well without BD-J.<br>
Support for BD-J menus in libbluray is not yet complete (all BD-J discs<br>
won't play). Also some BD-J specific changes to vlc may be required.<br><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div style>Hi,</div><div style>Do you have a list of some discs using BD-J which are known to work?</div>
<div style><br></div><div style>Regards,</div></div><div><br></div>-- <br>Hugo Beauzée-Luyssen<br>mail: <a href="mailto:hugo@beauzee.fr" target="_blank">hugo@beauzee.fr</a><br>skype: beauze.h
</div></div>