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

Trying to import this in IntelliJ Idea got ContextCapabilities not found #5

Open
fmmarzoa opened this issue Oct 7, 2018 · 1 comment

Comments

@fmmarzoa
Copy link

fmmarzoa commented Oct 7, 2018

Hi there,

I'm trying to make this work in IntelliJ Idea. I have imported the project from Eclipse but couldn't build it. I have added org.lwjgl.lwjgl-3.2.0.jar and org.lwjgl.opengl-3.2.0.jar to the dependencies, but still I'm getting several errors of symbols not found, for example:

Error:(35, 24) java: cannot find symbol
symbol: class ContextCapabilities
location: package org.lwjgl.opengl

There are other missing classes, but I guess the issue is the same. For example, it cannot find GLContext class either, and some methods like:

Error:(214, 38) java: no suitable method found for glMapTexture2DINTEL(int,int,int,int,java.nio.IntBuffer,java.nio.IntBuffer,java.nio.ByteBuffer)
method org.lwjgl.opengl.INTELMapTexture.glMapTexture2DINTEL(int,int,int,int[],int[],long,java.nio.ByteBuffer) is not applicable
(argument mismatch; int cannot be converted to int[])
method org.lwjgl.opengl.INTELMapTexture.glMapTexture2DINTEL(int,int,int,java.nio.IntBuffer,java.nio.IntBuffer,long,java.nio.ByteBuffer) is not applicable
(argument mismatch; int cannot be converted to java.nio.IntBuffer)

I guess I'm not using the right version of the libraries or something like that. I have take a look at the eclipse configuration files on the project, but couldn't find a hint about the dependencies.

Could you tell me the library dependencies I would need to add to my IntelliJ Idea project to make this build?

Thanks a million in advance!

@StefanH-AT
Copy link

Hi, I'm working on Eclipse (Also doesn't work but I have a different problem)
I think you just need to create a new project via the gdx-setup and select intelliJ in the advanced options for it to automatically include the correct dependencies

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

No branches or pull requests

2 participants