Thread: [Libxine-java-devel] Problem running MuXineSWT
Status: Beta
Brought to you by:
freckle
From: Rui F. <ru...@ru...> - 2008-09-07 20:40:20
|
Hi, I installed Libxine-java on my Ubuntu 8.04 machine. I can get the Fullscreen, and Player examples working just fine but I can't seem to get the key events to work. Also when I run the MuXineSWT I get this error message: Exception in thread "main" java.lang.IllegalAccessError: tried to access method org.libxine.SWIGTYPE_p_void.getCPtr(Lorg/libxine/SWIGTYPE_p_void;)J from class org.libxine.XineSWTCanvas at org.libxine.XineSWTCanvas.tryActivate(XineSWTCanvas.java:147) at org.libxine.XineSWTCanvas.registerXineController(XineSWTCanvas.java:99) at org.libxine.XineController.<init>(Unknown Source) at org.libxine.Xine.createController(Unknown Source) at example.MuXineSWT.main(MuXineSWT.java:28) BTW I am running eclipse 3.2 Any suggestions? Your help would be greatly appreciated. Thanks, -Rui |
From: Matthias R. <mri...@in...> - 2008-09-07 21:47:07
|
Hi Rui On 07.09.2008, at 22:40, Rui Fernandes wrote: > Hi, > > I installed Libxine-java on my Ubuntu 8.04 machine. I can get the > Fullscreen, and Player examples working just fine but I can't seem to > get the key events to work. What do you mean? In the player example, do the 'f' fullscreen and 'q' quit keys work? > Also when I run the MuXineSWT I get this > error message: > > Exception in thread "main" java.lang.IllegalAccessError: tried to > access method org.libxine.SWIGTYPE_p_void.getCPtr(Lorg/libxine/ > SWIGTYPE_p_void;)J > from class org.libxine.XineSWTCanvas > at org.libxine.XineSWTCanvas.tryActivate(XineSWTCanvas.java:147) > at > org.libxine.XineSWTCanvas.registerXineController(XineSWTCanvas.java: > 99) > at org.libxine.XineController.<init>(Unknown Source) > at org.libxine.Xine.createController(Unknown Source) > at example.MuXineSWT.main(MuXineSWT.java:28) > > BTW I am running eclipse 3.2 > > Any suggestions? Your help would be greatly appreciated. hm. haven't seen this before. I'm also using Ubuntu 8.04 on a normal 32-bit CPU for development. I've used the SWT 3.4 version. Can you try with the current SWT 3.4 jar and/or start from the command line, e.g. java -cp swt-3.4-gtk-linux-x86/swt.jar:build/ MuXineSWT Movie.mp4 regards, Matthias |
From: Matthias R. <mri...@in...> - 2008-09-09 09:08:41
|
Hi Rui I did not say that libxine-java does not work with older versions. I just said that I only tested on the command line with a 3.4 version. I would hope that it should work both with older versions and the eclipse. I just hope that you get at least on version to work quickly, so you can try whatever you wanted to do in the first place. I'm interested in all bugs that I can fix, though. :=) I'll also try to run MuXineSWT inside the current Eclipse at home (where the Ubuntu is..). I also hope that libxine-java did not cause your library mess. It only installs the libxine.jar and the libxineJNI.so* If you like, tell me when you get everything working or have to point to libxine-java.. :) cheers Matthias On 09.09.2008, at 00:22, Rui Fernandes wrote: > Hi, > > Thanks for your prompt reply. I have some fixing to do, after messing > about with the libraries installed on my system, not much is working. > I believe though that you are right, although in eclipse I had > selected SWT 3.4 I did not call explicitly call it in the java command > line and eclipse has and older version of SWT that it probably > defaults to. > > -Rui > > > On Sun, Sep 7, 2008 at 5:47 PM, Matthias Ringwald <mri...@in... > > wrote: >> Hi Rui >> >> On 07.09.2008, at 22:40, Rui Fernandes wrote: >> >>> Hi, >>> >>> I installed Libxine-java on my Ubuntu 8.04 machine. I can get the >>> Fullscreen, and Player examples working just fine but I can't seem >>> to >>> get the key events to work. >> What do you mean? In the player example, do the 'f' fullscreen and >> 'q' >> quit keys work? >> >>> Also when I run the MuXineSWT I get this >>> error message: >>> >>> Exception in thread "main" java.lang.IllegalAccessError: tried to >>> access method org.libxine.SWIGTYPE_p_void.getCPtr(Lorg/libxine/ >>> SWIGTYPE_p_void;)J >>> from class org.libxine.XineSWTCanvas >>> at org.libxine.XineSWTCanvas.tryActivate(XineSWTCanvas.java: >>> 147) >>> at >>> org.libxine.XineSWTCanvas.registerXineController(XineSWTCanvas.java: >>> 99) >>> at org.libxine.XineController.<init>(Unknown Source) >>> at org.libxine.Xine.createController(Unknown Source) >>> at example.MuXineSWT.main(MuXineSWT.java:28) >>> >>> BTW I am running eclipse 3.2 >>> >>> Any suggestions? Your help would be greatly appreciated. >> >> >> hm. haven't seen this before. I'm also using Ubuntu 8.04 on a normal >> 32-bit CPU for development. I've used the SWT 3.4 version. >> Can you try with the current SWT 3.4 jar and/or start from the >> command >> line, e.g. java -cp swt-3.4-gtk-linux-x86/swt.jar:build/ MuXineSWT >> Movie.mp4 >> >> regards, >> Matthias >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win >> great prizes >> Grand prize is a trip for two to an Open Source event anywhere in >> the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Libxine-java-devel mailing list >> Lib...@li... >> https://lists.sourceforge.net/lists/listinfo/libxine-java-devel >> |