Jump to content

[SOLVED][1.8]No Natives in build folder after setupDecompWorkspace


jabelar

Recommended Posts

I just cloned one of my projects from github and ran gradlew setupDecompWorkspace and gradlew eclipse commands.  Those commands seemed to run successfully, including the extractNatives step.

 

However, when running it I got error about an unsatisfied link error for lwjgl.  I checked on the build path settings for the lwjgl and they don't have any natives location listed.  So I tried to manually associate them but found that there was no natives folder under my build folder.  In all my other projects I have natives under the build folder.

 

I don't know all that much about setting up workspaces, I pretty much have one set up that works that I copy for each new project.

 

Anyway, what is best practice to ensure that all libraries are properly set up?

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Link to comment
Share on other sites

  • 5 weeks later...

Use GradleStart as your main class, that should set up the natives correctly.

Hopefully this isn't too much of a necropost but what do you mean by changing the main class? I have the same problem, not natives folder in the generated build folder

 

He means in your Run Configuration. I don't know about other IDEs, but in Eclipse you can test your code by running it and for that there are Run Configurations where you specify some things about the project (in this case the main class) as well as class path, JRE, JVM arguments, Application Arguments.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.