Show Posts
|
|
Pages: [1]
|
|
1
|
Java Game APIs & Engines / Tools Discussion / Re: Eclipse / LWJGL / SPGL and CVS
|
on: 2003-02-26 01:03:28
|
Alright Cas, What needs to be done to SPGL to get it to build? Presently I get an error from it ... 1
| The project was not built since it depends on LWJGL, which has classpath problems. |
I know that LWJGL works for me, and I gather from your comments about ANT that you don't build it yourself, so something must be needed. I've included the lwjgl.jar file as an external jar library, but it didn't help...what can I do to get this to work? I want to use it as a basis for my REAL project (which I'll announce after I finish a couple of these smaller games, like the asteroids clone I'm doing now...) Thanks!! Brian
|
|
|
|
|
3
|
Java Game APIs & Engines / Tools Discussion / Re: Eclipse / LWJGL / SPGL and CVS
|
on: 2003-02-24 21:37:44
|
|
Well now, I'm making great and dandy progress...placing the above mentioned dll's into the system folder certain did the trick. The next one I am at a complete loss for though...I don't really see WHY I need the *.so files for anything in my LIB folder...hrm..output as follows...also, how close am I to getting there? Pretty close, since I'm building the distribution, would be my guess...
I'll keep chipping away over here...Thanks to all who read my pathetic little post(esp. those who reply !)
Buildfile: C:\WORK\eclipse\workspace\LWJGL\build.xml
splash:
all:
clean: [cleaning temp folder] Deleting directory C:\WORK\eclipse\workspace\LWJGL\temp [cleaning dist folder] Deleting directory C:\WORK\eclipse\workspace\LWJGL\dist [cleaning javadoc folder] Deleting directory C:\WORK\eclipse\workspace\LWJGL\doc\javadoc [cleaning bin folder] Deleting directory C:\WORK\eclipse\workspace\LWJGL\bin\org [cleaning bin folder] Deleting 32 files from C:\WORK\eclipse\workspace\LWJGL\bin
initialize: [initialiazing dist folder] Created dir: C:\WORK\eclipse\workspace\LWJGL\dist [initialiazing docs folder] Created dir: C:\WORK\eclipse\workspace\LWJGL\doc\javadoc [initialiazing temp folder] Created dir: C:\WORK\eclipse\workspace\LWJGL\temp
compile: [lwjgl] Compiling 4 source files to C:\WORK\eclipse\workspace\LWJGL\bin [input] Compiling 3 source files to C:\WORK\eclipse\workspace\LWJGL\bin [openal] Compiling 15 source files to C:\WORK\eclipse\workspace\LWJGL\bin [opengl] Compiling 88 source files to C:\WORK\eclipse\workspace\LWJGL\bin [test] Compiling 16 source files to C:\WORK\eclipse\workspace\LWJGL\bin [vector] Compiling 6 source files to C:\WORK\eclipse\workspace\LWJGL\bin [examples] Compiling 16 source files to C:\WORK\eclipse\workspace\LWJGL\bin
initialize:
compile:
package: [lwjgl.jar] Building jar: C:\WORK\eclipse\workspace\LWJGL\lib\lwjgl.jar [lwjgl_test.jar] Building jar: C:\WORK\eclipse\workspace\LWJGL\lib\lwjgl_test.jar [examples.jar] Building jar: C:\WORK\eclipse\workspace\LWJGL\lib\examples.jar
distribution_application: [fail] BUILD FAILED: file:C:/WORK/eclipse/workspace/LWJGL/build.xml:181: Missing libopenal.so in lib directory
|
|
|
|
|
5
|
Java Game APIs & Engines / Tools Discussion / Re: Eclipse / LWJGL / SPGL and CVS
|
on: 2003-02-23 14:48:19
|
|
Ok, I deleted my lwgjl.jar file from my java_home\jre\lib\ext\ folder, (I think thats it) and then the compile seemed to start up well, but now it breaks on OpenAL.dll stuff...not knowing where the file is or something...I'll keep playing with it..I'm definately getting somewhere
Brian
|
|
|
|
|
6
|
Java Game APIs & Engines / Tools Discussion / Re: Eclipse / LWJGL / SPGL and CVS
|
on: 2003-02-22 00:52:15
|
|
Well, getting further along.
I played around with my environment, and actually got myself a JAVA_HOME set up in the first place, and then things started moving along pretty well...but it still errors out...
compile: [lwjgl] Compiling 4 source files to C:\WORK\eclipse\workspace\LWJGL\bin [input] Compiling 3 source files to C:\WORK\eclipse\workspace\LWJGL\bin [openal] Compiling 15 source files to C:\WORK\eclipse\workspace\LWJGL\bin [opengl] Compiling 88 source files to C:\WORK\eclipse\workspace\LWJGL\bin [test] Compiling 16 source files to C:\WORK\eclipse\workspace\LWJGL\bin [vector] Compiling 8 source files to C:\WORK\eclipse\workspace\LWJGL\bin [examples] Compiling 16 source files to C:\WORK\eclipse\workspace\LWJGL\bin [examples] C:\WORK\eclipse\workspace\LWJGL\examples\BaseWindow.java:124: create(org.lwjgl.DisplayMode,boolean) in org.lwjgl.Display cannot be applied to (org.lwjgl.DisplayMode,boolean,java.lang.String) [examples] Display.create(modes[mode], fullscreenflag, "LWJGL Example"); [examples] ^ [examples] 1 error [examples] BUILD FAILED: file:C:/WORK/eclipse/workspace/LWJGL/build.xml:68: Compile failed; see the compiler error output for details.
I'm not sure about this one, I think this may be bigger than I can handle at this time, perhaps one of you can advise?
Brian
|
|
|
|
|
7
|
Java Game APIs & Engines / Tools Discussion / Re: Eclipse / LWJGL / SPGL and CVS
|
on: 2003-02-21 23:43:42
|
|
Ok,
I've figured out one more part of what I'm missing. I saw the build.xml file, and I remembered something about ant. I right clicked the xml file, and is said 'run ant...' so I went with it, with all the default options...and end up with this...
[lwjgl] BUILD FAILED: file:C:/WORK/eclipse/workspace/LWJGL/build.xml:62: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK
guess the defaults weren't good enough...I'll keep working at it, and post what I find here (maybe posterity will find it useful, if nothing else), but if someone already knows whats missing and wants to spare me the time...well I'd be personally very grateful.
Brian
|
|
|
|
|
8
|
Java Game APIs & Engines / Tools Discussion / Eclipse / LWJGL / SPGL and CVS
|
on: 2003-02-21 21:59:12
|
|
I guess this is mostly for Cas, though anyone really could answer.
As earlier noted, I have Eclipse and the LWJGL examples up and running. I then thought I'd take a look at the SPGL, which I plan (at this point) to use for something in the distant future, so I'm not too concerned with its rate of change, I just want to learn.
I'm not a newbie coder, but my experience is heavy in 4D (I'd be almost shocked if any of you've even heard of it, even though its not THAT uncommon). I am not terribly familiar with java and cvs and all that, hence the reason for my questions.
I've connected my eclipse to the sourceforge repositories, and set things up so that it actually downloads stuff. After doing this with LWJGL, I get the following errors:
* The project was not built due to classpath errors (incomplete or involved in cycle). * Unable to read LWJGL/.classpath file.
I'm sure this error is easy enough to fix, but I'm wondering if its a sign of a greater problem, that I've configured my CVS wrong or done something else wrong, and that my entire source tree is faulty somehow.
After that, I did the same with SPGL, and got this error, which is self-explanatory.
* The project was not built since it depends on LWJGL, which has classpath problems.
Thanks,
Brian
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|