-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find com.jme3:jme3-core:3.0.10. #106
Comments
I'm not sure but maybe https://github.com/brainless-studios/OpenRTS is more mantained... |
The JME repository has moved and the gradle dependency must be updated. You may look at https://github.com/methusalah/alchemist/blob/master/build.gradle and copy/paste the lines. I'm not sur that the 3.0 version of jmonkey is available. I'm sorry but I can't do that myself right now. |
I am sorry if I am merely misunderstanding, but what lines am I supposed to copy? Should I replace the contents of build.gradle with the one you linked, or only replace some specific lines? |
fixed with ef277c0 compiles but not tested |
I'm still having some issues. Is there perhaps another step I need to accomplish before running OpenRTS for the first time? C:\Users\Beau\Desktop\OpenRTS>gradlew.bat run FAILURE: Build failed with an exception.
I can provide the full text if necessary, but it is highly similar to what etorth posted. Is there perhaps a pre-requisite for using OpenRTS that I didn't consider? I have never used JMonkey before, and I want to learn so I can use your tool. |
If I may: I was able to compile using (in build.gradle): In the repos In the deps
And changing a few Vector2f.interpolateLocal calls to vector2f.interpolate (interpolateLocal couldn't be found). After this, there are some runtime errors (flyCam being null). All in all, I suspect there were some API changes in JME (though I'm not an expert). |
I don't know if this is related but I get:
|
Yes it has been some changes with backward compatibility issues. I should have used a jMonkey release instead of a working branch but jMonkey was new to github at the time. I've tried the current gradle config on a fresh install and it works. I suspect some env issues on your side. |
If it is anything to note, the suggestion by mrlem did help the code compile, but now I am getting a null pointer exception at Thread[jME3 Main,5,main] when the program attempts to launch JMonkey. I'll report back here / in a new issue if I can figure out anything about that. |
@mrlem 's post above solved the dependency issues. I seem to have some compilation issues and bad symbols in the source files but that's another issue. Edit: I see that was addressed above too :) Is that flycam being null problem going to break things? |
@Protroid were you able to find a way around that problem? I'm just trying it out today and I have the same error. |
I see what causes it.
The I don't know enough at this point to change anything though. |
@RamakrishnanArun No, I was not able to get around the Null Pointer Exception, college is a joy :P |
@methusalah can you help? I'm interested and trying to set this up. |
interface in jmonkey, and LegacyApplication is now the correct parent
I decided to try this on Windows after I got #107 on Linux. I'm having a similar issue to @RamakrishnanArun and @Protroid now. When running
|
comment old one in build,gradle and add below maven lines ,it will solved |
After that you just need to get rid of
in app.OpenRTSApplication.java and change LegacyApplication to Application in the class |
Hi,
I'm trying to run this excellent open source software but seems the
./gradlew run
won't work, it reports following errors
I am really new to all these things, could you please have a look?
Best,
Anhong
Configuration on demand is an incubating feature.
:core:compileJava
FAILURE: Build failed with an exception.
Could not resolve all dependencies for configuration ':core:compile'.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 17.634 secs
The text was updated successfully, but these errors were encountered: