No more hard coding Native Libraries#13
Open
jbonnett92 wants to merge 6 commits intoBennyQBD:masterfrom
jbonnett92:master
Open
No more hard coding Native Libraries#13jbonnett92 wants to merge 6 commits intoBennyQBD:masterfrom jbonnett92:master
jbonnett92 wants to merge 6 commits intoBennyQBD:masterfrom
jbonnett92:master
Conversation
Added Library loader, to load a particular library depending on what OS the program is running on
Library loader class, to load a particular library depending on the OS running the program. This means you do not have to set the native library location for the lwjgl.jar.
Contributor
|
If you want it to be accepted - better to move LibaryLoader to engine.core |
Author
|
It work's with mine... Tried on all 3. |
Contributor
|
Solaris folder there is for reason.You know that,right? Oh and really - its better to be in engine.core , its more logical to be there.. |
Moved from com.base.game... Allows you to automatically load native libraries rather than hard coding them into "lwjgl.jar" via native library location.
Author
|
Well I did the changes apart from creating the libs.jar. |
Contributor
|
Oh you cold just edit path when editing file , its easy.Just hit backspace on begining of filename.Its better that creating/deleting files ;) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The new class changes the native library depending on what OS the program is ran from.