Hello,
a dev of the gaiasky project https://zah.uni-heidelberg.de/institutes/ari/gaia/outreach/gaiasky/ (https://zah.uni-heidelberg.de/institutes/ari/gaia/outreach/gaiasky/) assumes that the crash of the application might be a bug in the lwjgl in association with AMD Graphics Card ..
https://gitlab.com/langurmonkey/gaiasky/issues/326#note_288141379 (https://gitlab.com/langurmonkey/gaiasky/issues/326#note_288141379)
I used the search option in this forum here, but did not get results according to my problem:
java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.opengl.WGL$Functions
Maybe someone can give a hint where to dig instead...
Thank you
Hey,
this is most likely not an issue with LWJGL but with the library's gaiasky.util.VMemInfo.ATIVRAM (https://gitlab.com/langurmonkey/gaiasky/-/blob/master/core/src/gaiasky/util/VMemInfo.java#L108). Despite the class using Windows-specific functionality (WGL), it seems to be used when running on an unix-based OS based on your crash report.
The application should check which OS it's currently running on and which extensions are supported before using WGLAMDGPUAssociation (or GLXAMDGPUAssociation).
Thank you very much for the precise analysis!
Based on your comment the dev of the gaiasky app was able to figure out the problem in the code and fixed it - works now!
:)