Skip to content
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

LWJGL 3.1.0 Platform Natives on Maven #256

Closed
hyfloac opened this issue Dec 7, 2016 · 6 comments
Closed

LWJGL 3.1.0 Platform Natives on Maven #256

hyfloac opened this issue Dec 7, 2016 · 6 comments

Comments

@hyfloac
Copy link

hyfloac commented Dec 7, 2016

The downloader page for LWJGL3 has a an option for Gradle and Maven which both delegate their downloads to Maven Central, there is a minor problem because the libraries on maven for lwjgl-platform are outdated (version 3.0.0) while native version do exist for version 3.1.0 (they can be found at the bottom of the download page hidden behind the button Click to browse... which seems to integrate with https://build.lwjgl.org/release/3.1.0/**OS**/**ARCHITECTURE**/lib**LIBRARY**.**EXT** (imagine that markdown was working inside code blocks)). The libraries are definitely different versions (some of the newer ones are smaller (liblwjgl.dylib is ~500KB smaller in 3.1.0). If someone could upload the latest natives to Maven that would be extremely useful (I believe my project is crashing due to out of date natives).

@Spasi
Copy link
Member

Spasi commented Dec 7, 2016

There is no problem with the libraries on Maven Central. LWJGL was refactored in version 3.1.0 to have a modular structure. There have been significant changes because of that.

  • The LWJGL core and each binding is a separate artifact.
  • There is no lwjgl-platform artifact in 3.1.0 or higher. The native libraries are available as a separate artifact for the LWJGL core and each binding (same name, different classifiers).
  • The core native library is indeed smaller in 3.1.0 because a lot of functionality has been moved to other modules.
  • The download page on our site does not support Maven/Gradle script generation for 3.0.0. Migrating to 3.1.0 or higher is highly recommended.

@hyfloac
Copy link
Author

hyfloac commented Dec 7, 2016

Alright I found where I screwed up, I was calling a runtime dependency for lwjgl-platform and not lwjgl.

Minor problem with the build script generator I thought I should mention: when you have the Everything radio box selected it generates dependency downloads for Everything, the problem with this is that some things like Assimp bindings aren't enabled and can't be enabled but are still generated, which is a bit of a problem because the reason you can't enable them is they have been removed/don't exist on Maven.

@hyfloac hyfloac closed this as completed Dec 7, 2016
@apostolos
Copy link
Member

@hyfloac Assimp bindings have just been added to LWJGL so, for the moment, are only available on Nightly builds.

Maybe we should just hide them on other builds to avoid confusion.

@hyfloac
Copy link
Author

hyfloac commented Dec 8, 2016

@apostolos My point was the generated build script has errors in them which should be fixed.

@apostolos
Copy link
Member

@hyfloac You're right, it will be fixed later tonight.

@apostolos
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants