Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (535)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / JOGL Development / Re: Surface already unlocked on: 2003-09-21 13:02:07
yeah didn't spend much time on it since I just need the gui-stuff for a small project.

but I still get an exception if I disable the animator.

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4D2DFFA1
Function=XQueryExtension+0x15
Library=/usr/X11R6/lib/libX11.so.6

Should I assume that this is somewhere in the native opengl-driver and
just ignore it? (opengl support is not very good on my ati mobility card afaik)

Its not very important for me to get this working, Im just curious whats
the cause of the problems so I know what to look out for in the future.

2  Java Game APIs & Engines / JOGL Development / Re: Surface already unlocked on: 2003-09-19 21:09:31
I get a similar error when mixing a swing container with a GLCanvas.

heres a short  example:

public static void main(String args[]) {

 GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities());
 Animator animator = new Animator(canvas);
 JFrame frame = new JFrame();

 JSplitPane panel = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
 panel.add(new JPanel());
 panel.add(canvas);
 panel.setResizeWeight(0.4);
 
 frame.getContentPane().add(panel);
 frame.setSize(320,240);
 frame.show();

 animator.start();

}

in linux, this crashes as soon as I touch the JSplitPane separator,
(resizing the frame is ok), in windows it just gives an exception.


3  Java Game APIs & Engines / Java Sound & OpenAL / Linux status on: 2003-09-15 23:48:28
Just wanted to check the status of the linux port. the cvs from monday
didn't compile out of the box. (gentoo, gcc 3.2.2, openal from portage)

But after some minor tweaks  of headerfiles and buildscript
(mainly removing the unit_test target) it produced
the files needed.

Have tried both SingleStaticSource from lesson1. (didnt compile)
and OpenALTest (runtime exception, missing function)

So, is this being worked on, or should I start to poke around in
the native code and see whats not working.

I'd be glad to help any way I can (experienced in both C and JNI) but
I don't want to waste my time fixing something thats already being fixed Smiley

/lomax


Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

Dwinin (6 views)
2014-07-29 10:59:34

E.R. Fleming (20 views)
2014-07-29 03:07:13

E.R. Fleming (8 views)
2014-07-29 03:06:25

pw (39 views)
2014-07-24 01:59:36

Riven (39 views)
2014-07-23 21:16:32

Riven (26 views)
2014-07-23 21:07:15

Riven (28 views)
2014-07-23 20:56:16

ctomni231 (59 views)
2014-07-18 06:55:21

Zero Volt (50 views)
2014-07-17 23:47:54

danieldean (42 views)
2014-07-17 23:41:23
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!