LWJGL / lwjgl3

LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.
https://www.lwjgl.org
BSD 3-Clause "New" or "Revised" License
4.84k stars 642 forks source link

Fails to compile #1013

Open elde-n opened 1 month ago

elde-n commented 1 month ago

Version

3.3.5 (snapshot), 3.3.4

Platform

Linux x64

JDK

OpenJDK Runtime Environment 21.0.5_p11 (build 21.0.5+11)

Module

*

Bug description

Build system requires 'gcc' for c and cxx compilation, this is a problem on my system that only has the clang compiler for c/cxx

Stacktrace or crash log output

init:
 [override] Build type: stable

check-dependencies:

-compile-generator:

compile-templates:

generate:

compile:

compile-tests:

compile-native:

compile-native-platform:
     [exec] bash: line 1: gcc: command not found

BUILD FAILED
/home/elden/.local/src/lwjgl3/build.xml:581: The following error occurred while executing this line:
/home/elden/.local/src/lwjgl3/config/linux/build.xml:162: exec returned: 1