Renanse / Ardor3D

Ardor3D is a free Java based, professionally oriented, open source 3D graphics engine.
Other
227 stars 77 forks source link

Unable to resolve problem with dependency #81

Closed jfelrod1960 closed 6 years ago

jfelrod1960 commented 6 years ago

I get the following error when trying to use Ardor3d as a dependency ...

C:\Users\jfe.CAMPUS\Documents\GitHub\game-tools>gradle build

FAILURE: Build failed with an exception.

BUILD FAILED in 1s 1 actionable task: 1 executed

I'm using Intellij on Windows 10. I'm including subproject ardor3d-examples so I can use ExampleBase.java until I build my on superclass.

I'm including the repository in the main build.grade class from the Ardor3d project. If I had to guess I'm thinking you may have a repository in MavenLocal() that is needed for my project.

Thanks Jeff

Renanse commented 6 years ago

Hey Jeff,

Are you using the latest from master? I am not sure where 3650 is coming from. The main build.gradle has listed:

https://swt-repo.googlecode.com/svn/repo/

That's where we grab swt, and we use 4.3 in the build.gradle referenced in the build.gradle for ardor3d-swt:

compile group: 'org.eclipse.swt', name: 'org.eclipse.swt.gtk.linux.x86_64', version:'4.3'

Now, I will say that I have had to manually change the linux ref in that line to the windows version as needed locally. I'm not sure how to do the platform switch automatically there.

jfelrod1960 commented 6 years ago

I changed the line in the dependencies block to compile 'org.eclipse.swt:org.eclipse.swt.win32.win32.x86_64:4.3'. I'm still getting an error when executing gradle build. I think the only thing I can do is go ahead and build my own ExampleBase.java class.

I will close this issue. Jeff