From: Ricky Uy <ric...@ya...> - 2004-10-20 20:49:16
|
Thanks. I converted the program to an EXE using Excelsior Jet. The binary works fine and as expected. However, when I try to run it through Chromium, I get the same results, ie a completely white viewport and then the application hangs. Also, the cr render windows never popup, just the native window, so it's the native window that is white. Another thing I noticed is that the application, when run standalone, outputs the following (this is the gears demo by Brian Paul, btw, which two guys seem to have converted into Java): CANVAS GL IS: net.java.games.jogl.impl.windows.WindowsGLImpl CANVAS GLU IS: net.java.games.jogl.impl.GLUImpl Using ATI workaround of dispatching display() on event thread Using ATI workaround of dispatching display() on event thread INIT GL IS: net.java.games.jogl.impl.windows.WindowsGLImpl GL_VENDOR: ATI Technologies Inc. GL_RENDERER: RADEON 9700 PRO x86/SSE2 GL_VERSION: 1.5.4454 Win2000 Release however, when I run it through Chromium, it only gets this far: CANVAS GL IS: net.java.games.jogl.impl.windows.WindowsGLImpl CANVAS GLU IS: net.java.games.jogl.impl.GLUImpl before it hangs and shows the native window with white viewport. Does anyone have any clues? Brian, have you tried this out before? Thanks, Ricky ta...@su... wrote: Ricky, why not compile the Java program as an executable (should be a couple of freeware to do that). Theoretically this should get round the issue of finding the executable plus if memory serves me right you can add the libraries in the executable binary. Regards, Anthony --On 20 October 2004 09:33 -0700 Ricky Uy wrote: > > Hi All, > > I am trying to run some Java OpenGL programs through Chromium using the > JOGL binding, but I'm running into two main issues. The first is that > I've compiled the programs and exported them as JAR files. Crappfaker > can't find jar files on the path...and it can't find batch scripts > either. Do I really have to write a C program that just calls a script > that launches the JAR file, and would that even work? > > Secondly, I've tried to bypass all of this by just putting the > crfaker.dll in the JRE/bin folder and renaming it to opengl32.dll (ie, I > put it in the same folder as jogl.dll). But when I double-click to try to > run the application, the window that opens up is just white, and the > application hangs. It does this even if I've already started the > mothership and a crserver using crdemo.conf. > > This is all being done on a Windows machine with an ATI Radeon 9700 Pro > card. Could someone please help me on this? Thanks so much. > > Ricky > > > > > __________________________________________________ > Do you Yahoo!? > vote.yahoo.com - Register online to vote today! ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Chromium-dev mailing list Chr...@li... https://lists.sourceforge.net/lists/listinfo/chromium-dev __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |