|
Re: "org.eclipse.gef3d.examples.graph" 3D Editor Error [message #639005 is a reply to message #638813] |
Sun, 14 November 2010 15:30 |
|
On 12.11.10 17:17, Shalu wrote:
[...]
> org.eclipse.draw3d.DeferredUpdateManager3D repairDamage
> WARNING: repairDamage called, but canvas is null. Hint: call
> LightweightSystem.setControl(..)
Strange... unfortunately I cannot reproduce this problem. I assume you
also have installed org.lwjgl, because otherwise you would have got
another error. The hint is basically for developers of editors, but as
you're using our example, it should work.
Could you try to to add a breakpoint at
org.eclipse.gef3d.ui.parts.GraphicalViewer3DHelper, line 252
and have a look what happens there with the debugger? Is the canvas
created successfully? What happens in
org.eclipse.draw3d.Draw3DCanvas.createCanvas(Composite, int,
LightweightSystem3D)? This might help us to find that bug.
Besides it would be helpful to post the stack trace if available.
Cheers,
Jens
|
|
|
|
Re: "org.eclipse.gef3d.examples.graph" 3D Editor Error [message #640147 is a reply to message #640107] |
Fri, 19 November 2010 10:18 |
|
On 19.11.10 07:46, Shalu wrote:
> Since it's not able to find class
> "org.eclipse.draw3d.graphics3d.lwjgl.Graphics3DLwjgl"
From your stack trace, it looks like Graphics3DLwjgl is found, but
there are problems loading some LWJGL classes:
> Error : java.lang.NoClassDefFoundError:
> org/lwjgl/util/glu/GLUtessellatorCallback
....
> Caused by: org.osgi.framework.BundleException: Error loading LWJGL
> Is it that I do not have some files?
Do you have installed LWJGL via the LWJGL update site? You should find a
plugin called org.lwjgl_2_2_1. This plugins should containt at least the
following jars:
- lwjgl.jar
- lwjgl_util.jar
The missing class GLUtessellatorCallback is found in the latter one.
Did you installed LWJGL from the update site http://lwjgl.org/update/ ?
Cheers,
Jens
|
|
|
|
Re: "org.eclipse.gef3d.examples.graph" 3D Editor Error [message #640279 is a reply to message #640216] |
Fri, 19 November 2010 21:02 |
|
On 19.11.10 16:38, Shalu wrote:
> I tried reinstalling LWGJL.
> And unzipped Jar and looked for " GLUtessellatorCallback" and was able
> to find it.
>
> So Its not loading despite of Class being there.
That's really weird... Hmm... Did you test the LWJGL test view (Windows
/ Views / Others / LWJGL Test View). Is that view shown? (You do not
need to start a runtime instance, as it is part of the LWJGL eclipse
plugin).
Cheers,
Jens
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04501 seconds