Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (117)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Unable to initialize JAWT  (Read 6815 times)
0 Members and 1 Guest are viewing this topic.
Offline Pierre

Senior Newbie





« Reply #30 - Posted 2009-11-28 13:32:46 »

JOGL 2 Gears works
Offline gouessej
« Reply #31 - Posted 2009-11-28 21:39:26 »

JOGL 2 Gears works
It is a good piece of news, it is not a JOGL 2 bug  Grin

My project uses JOGL 1.1.1a, I compile it sometimes with JOGL 1.1.2 but you cannot get it anymore publicly. Adapt the explanation on my website to JOGL 2. If it does not work, we will have to find another solution.

Pierre, as far as I know, we live in the same town, we don't need VNC... (let us talk about it in private).

Offline PeeHPee

Junior Newbie





« Reply #32 - Posted 2009-11-28 22:55:07 »

i too have this problem, and it seems to be an issue with the native method JAWT_GetAWT0(ByteBuffer).
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gouessej
« Reply #33 - Posted 2009-11-28 23:15:52 »

i too have this problem, and it seems to be an issue with the native method JAWT_GetAWT0(ByteBuffer).
Do you succeed in launching JOGL 2 gears?

Offline Pierre

Senior Newbie





« Reply #34 - Posted 2009-11-29 01:16:57 »

It is a good piece of news, it is not a JOGL 2 bug  Grin

My project uses JOGL 1.1.1a, I compile it sometimes with JOGL 1.1.2 but you cannot get it anymore publicly. Adapt the explanation on my website to JOGL 2. If it does not work, we will have to find another solution.

Pierre, as far as I know, we live in the same town, we don't need VNC... (let us talk about it in private).
I don't need to test TUER, my small code is enough (imo).
Is my code correct ?
I think the problem is in my libraries import...
Offline Pierre

Senior Newbie





« Reply #35 - Posted 2009-11-29 01:29:31 »

i'm trying to add "one by one" jar files in my project
i've this error message :
1  
2  
3  
4  
5  
6  
Exception in thread "main" java.lang.ExceptionInInitializerError
   at javax.media.opengl.awt.GLCanvas.<clinit>(GLCanvas.java:78)
   at TestJOGL.main(TestJOGL.java:18)
Caused by: javax.media.opengl.GLException: No profile available: [GL2, GL2ES2, GL2ES1, GLES2, GLES1, GL2GL3, GL3]
   at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:750)
   ... 2 more
Offline Pierre

Senior Newbie





« Reply #36 - Posted 2009-11-29 01:47:03 »

My problem is (maybe) fixed \o/
Use ALL .jar and .dll files was not good.

Now, i use only :
gluegen-rt.jar
jogl.all.jar
nativewindow.all.jar
gluegen-rt.dll
jogl_gl2.dll
nativewindow_awt.dll
nativewindow_jvm.dll

I can see my window, and the background is gray.
Offline Pierre

Senior Newbie





« Reply #37 - Posted 2009-11-29 02:09:05 »

My GLCanvas is gray (inactive) with a JFrame, and black (active) with a Frame...
Offline gouessej
« Reply #38 - Posted 2009-11-29 11:36:40 »

Ok so it works.

Offline Pierre

Senior Newbie





« Reply #39 - Posted 2009-11-29 12:10:49 »

Ok so it works.
yep
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Pierre

Senior Newbie





« Reply #40 - Posted 2009-11-29 17:32:49 »

It works, but i can't use it in a JFrame !
Offline gouessej
« Reply #41 - Posted 2009-11-29 18:54:12 »

It works, but i can't use it in a JFrame !
Why?

Offline Pierre

Senior Newbie





« Reply #42 - Posted 2009-11-29 20:12:21 »

The GLCanvas is invisible in a JFrame : the background is gray...
But it works perfectly in a Frame (AWT) : the background is black.
Online princec

JGO Kernel


Medals: 380
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #43 - Posted 2009-11-29 21:06:08 »

Heavyweight (OpenGL) components don't mix very nicely with lightweight (Swing) components.

Cas Smiley

Offline gouessej
« Reply #44 - Posted 2009-11-30 09:46:16 »

Rather use GLJPanel with Swing components but it is slower on some hardwares.

Offline Pierre

Senior Newbie





« Reply #45 - Posted 2009-11-30 11:25:45 »

ok :/
Offline Pierre

Senior Newbie





« Reply #46 - Posted 2009-12-06 17:58:53 »

I can't use GLCanvas directly in a JFrame,
but i can use it in a JTabbedPane (in a JFrame)
Offline Rob Nugent

Junior Member




May contain nuts


« Reply #47 - Posted 2009-12-15 13:03:43 »

This used to work fine (GLCanvas in a JFrame) but stopped working recently (a month or two back), giving the blank white/grey display.

My app's been coded this way for a couple of years, and broke because of this. It's been discussed in a couple of other threads. I don't believe if we ever determined if it was due to a change in the base JDK, JOGl, or what. I never did find a fix - resorting to a GLJPanel in a JFrame is slow and caused other issues for my app.

e.g. see: http://www.java-gaming.org/topics/error-jogl-jogl2-and-java6-update-14/21296/msg/174606/view.html#msg174606

I got this down to a simple testcase, but with the current state of JOGL I'm not aware if there's anyone who wants to look into it.

Rob
Offline Pierre

Senior Newbie





« Reply #48 - Posted 2009-12-15 13:14:33 »

can you try my "fix" ?
GLCanvas in a JTabbedPane in a JFrame
Offline gouessej
« Reply #49 - Posted 2009-12-15 14:04:15 »

This used to work fine (GLCanvas in a JFrame) but stopped working recently (a month or two back), giving the blank white/grey display.

My app's been coded this way for a couple of years, and broke because of this. It's been discussed in a couple of other threads. I don't believe if we ever determined if it was due to a change in the base JDK, JOGl, or what. I never did find a fix - resorting to a GLJPanel in a JFrame is slow and caused other issues for my app.

e.g. see: http://www.java-gaming.org/topics/error-jogl-jogl2-and-java6-update-14/21296/msg/174606/view.html#msg174606

I got this down to a simple testcase, but with the current state of JOGL I'm not aware if there's anyone who wants to look into it.

Rob

Maybe submit a bug report on project kenai. I don't see any bug tracker on github.

Offline jdp

Senior Newbie




NEWT is beautiful


« Reply #50 - Posted 2009-12-16 01:02:14 »

hi,
have you validated that the native libraries are getting loaded?
john

Pages: 1 [2]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Grunnt (14 views)
2014-09-23 14:38:19

radar3301 (14 views)
2014-09-21 23:33:17

BurntPizza (31 views)
2014-09-21 02:42:18

BurntPizza (22 views)
2014-09-21 01:30:30

moogie (20 views)
2014-09-21 00:26:15

UprightPath (29 views)
2014-09-20 20:14:06

BurntPizza (33 views)
2014-09-19 03:14:18

Dwinin (48 views)
2014-09-12 09:08:26

Norakomi (75 views)
2014-09-10 13:57:51

TehJavaDev (105 views)
2014-09-10 06:39:09
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!