LibGDX-FX
LibGDX-FX copied to clipboard
Trying to import this in IntelliJ Idea got ContextCapabilities not found
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!
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