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

On the problem of compilation #135

Open
jackhu520 opened this issue Mar 10, 2018 · 2 comments
Open

On the problem of compilation #135

jackhu520 opened this issue Mar 10, 2018 · 2 comments

Comments

@jackhu520
Copy link

Excuse me, What I need to use Maven's commands to compile project?

I try to use the "Mvn install" command to compile and use the "Java -jar target\pubg-radar-1.0-snapshot-jar-with-dependecies.jar" command to run the project. There will be a Network interfaces window. After selecting and clicking the confirmation button, there will be an error.

Can you tell me where it is wrong?

@whitewingz2017
Copy link

mvn package

@jackhu520
Copy link
Author

Or not, there will be a mistake in the same place, the wrong information is as follows:

C:\PUBG-Radar-master>java -jar target\pubg-radar-1.0-SNAPSHOT-jar-with-dependenc
ies.jar
0
0
0
Exception in thread "main" java.lang.IllegalArgumentException: Error compiling s
hader: Vertex shader
Vertex shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward comp
atible context
ERROR: error(#273) 1 compilation errors. No code generated

Fragment shader:
Fragment shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward comp
atible context
ERROR: error(#273) 1 compilation errors. No code generated

    at com.badlogic.gdx.graphics.g2d.SpriteBatch.createDefaultShader(SpriteB

atch.java:161)
at com.badlogic.gdx.graphics.g2d.SpriteBatch.(SpriteBatch.java:124
)
at com.badlogic.gdx.graphics.g2d.SpriteBatch.(SpriteBatch.java:78)

    at pubg.radar.ui.GLMap.create(GLMap.kt:131)
    at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.initializeListener(Lwjg

l3Window.java:416)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.jav
a:364)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Applica
tion.java:136)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.(Lwjgl3Appli
cation.java:110)
at pubg.radar.ui.GLMap.show(GLMap.kt:92)
at pubg.radar.GameKt.main(Game.kt:43)

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