After updating from CVS I get the following error, do I need to provide more information about this or is there some step I should take when cvs doesn’t build right? This was using ant dist-all , I tried using ant rebuild too, but it generated 6 errors.
init:
compile:
[javac] Compiling 303 source files to C:jmejmebuild
[javac] C:jmejmesrccomjmesystemlwjglLWJGLDisplaySystem.java:62: pack
age com.jme.util.awt.lwjgl does not exist
[javac] import com.jme.util.awt.lwjgl.LWJGLCanvas;
[javac] ^
[javac] C:jmejmesrccomjmesystemlwjglLWJGLDisplaySystem.java:197: can
not find symbol
[javac] symbol : class LWJGLCanvas
[javac] location: class com.jme.system.lwjgl.LWJGLDisplaySystem
[javac] LWJGLCanvas canvas = null;
[javac] ^
[javac] C:jmejmesrccomjmesystemlwjglLWJGLDisplaySystem.java:199: can
not find symbol
[javac] symbol : class LWJGLCanvas
[javac] location: class com.jme.system.lwjgl.LWJGLDisplaySystem
[javac] canvas = new LWJGLCanvas();
[javac] ^
[javac] 3 errors
@DanK: you seem to have an old version of lwjgl.jar - did you replace it? The current version (in CVS) is 0.96 - try to check this (you could simply delete it and perform a cvs up)
@oLdsk3wL: Quad is in com.jme.scene.shape which is imported by ImposterNode, and it’s one of the 406 java files (in com) that are compiled. Hmm, and everything seems fine with the cvs over here… :? Have you tried an ant clean or even a fresh cvs checkout?
I did a complete wipe of my jme folder and updated from cvs again, it didn’t fix it. Actually now it looks like I have something similar to oLdsk3wL’s error (I’m never typing that name again, I’m certain I just got dumber typing it the first time and I can’t risk my condition gettin worse here). New error is…
Just looking at cvs, there is no file called com.jme.scene.Quad… Take a look in your files and see if you have an old source file. If not, you simply must have an old jme.jar somewhere. Try doing a system wide find file for it… some ppl have even stuck it in the jvm/jdk lib ext folder.
@oLdsk3wL again: I know now what most probably caused your errors: you did an cvs up without -d, right? That’s why some new directories were missing. Simply do a
cvs up -d -P
(update with options: build dirs, prune empty directories)
There seems to be a jme.jar file in the cvs target folder (cvs server, not just my local copy), and that’s why I was having the problem, I finally got it to compile. In your local copy oldschool, you can delete the jme.jar from jmetarget and it’ll probably compile.
I also noticed (yeah, maybe I’m not that perceptive) that my fps/vertice portion of the screen doesn’t display, and the information printed shows a texture not loading, someone else had the same problem in another thread. Anyway, the build.xml file doesn’t include this file in the created jar files… putting it into the jme.jar file fixes the problem.
When someone updates that, they might also make sure there aren’t any other non .class files that should be included too.