We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to compile LWJGL 2 on MacOS Big Sur and I run into this error:
$ /Users/************/Programming/apache-ant-1.10.9/bin/ant Buildfile: /Users/************/Programming/lwjgl/build.xml -initialize: generators: generate-openal: [processor] Compiling 3 source files to /Users/************/Programming/lwjgl/bin generate-opengl: [processorGL] Compiling 381 source files to /Users/************/Programming/lwjgl/bin generate-opengl-capabilities: [processor] Compiling 381 source files to /Users/************/Programming/lwjgl/bin generate-opengl-references: [processor] Compiling 381 source files to /Users/************/Programming/lwjgl/bin generate-opengles: [processor] Compiling 117 source files to /Users/************/Programming/lwjgl/bin generate-opengles-capabilities: [processor] Compiling 117 source files to /Users/************/Programming/lwjgl/bin generate-opencl: [processor] Compiling 53 source files to /Users/************/Programming/lwjgl/bin generate-opencl-capabilities: [processor] Compiling 53 source files to /Users/************/Programming/lwjgl/bin generate-all: compile: [core] Compiling 6 source files to /Users/************/Programming/lwjgl/bin [core] warning: [options] source value 1.5 is obsolete and will be removed in a future release [core] warning: [options] target value 1.5 is obsolete and will be removed in a future release [core] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [core] 3 warnings -createjars: [lwjgl.jar] Building jar: /Users/************/Programming/lwjgl/temp/jar/lwjgl.jar [lwjgl_util_applet.jar] Building jar: /Users/************/Programming/lwjgl/temp/jar/lwjgl_util_applet.jar [lwjgl_test.jar] Building jar: /Users/************/Programming/lwjgl/temp/jar/lwjgl_test.jar [lwjgl_util.jar] Building jar: /Users/************/Programming/lwjgl/temp/jar/lwjgl_util.jar jars: -jars_NoDEP: [move] Moving 4 files to /Users/************/Programming/lwjgl/libs headers: touch-version: version-mismatch: [echo] [echo] lwjgl.java.windows.version = private static final int JNI_VERSION = 24; [echo] [echo] lwjgl.native.windows.version = #define org_lwjgl_WindowsSysImplementation_JNI_VERSION 24L [echo] [echo] lwjgl.java.linux.version = private static final int JNI_VERSION = 19; [echo] [echo] lwjgl.native.linux.version = #define org_lwjgl_LinuxSysImplementation_JNI_VERSION 19L [echo] [echo] lwjgl.java.freebsd.version = private static final int JNI_VERSION = 19; [echo] [echo] lwjgl.native.freebsd.version = #define org_lwjgl_LinuxSysImplementation_JNI_VERSION 19L [echo] [echo] lwjgl.java.openbsd.version = private static final int JNI_VERSION = 19; [echo] [echo] lwjgl.native.openbsd.version = #define org_lwjgl_LinuxSysImplementation_JNI_VERSION 19L [echo] [echo] lwjgl.java.macosx.version = private static final int JNI_VERSION = 25; [echo] [echo] lwjgl.native.macosx.version = #define org_lwjgl_MacOSXSysImplementation_JNI_VERSION 25L [echo] [echo] compile_native: -compile_native_win32: -compile_native_linux: -compile_native_freebsd: -compile_native_openbsd: -compile_native_solaris: -compile_native_macosx: init: nativelibrary: [echo] Compiler: clang [echo] Mac OS SDK: ${sdkroot} [echo] JavaVM.framework: ${javavmroot} -build_universal: -build_x86_x64: init: compile: [apply] clang: warning: no such sysroot directory: '${sdkroot}' [-Wmissing-sysroot] [apply] /Users/************/Programming/lwjgl/src/native/macosx/context.m:40:9: fatal error: 'CoreFoundation/CoreFoundation.h' file not found [apply] #import <CoreFoundation/CoreFoundation.h> [apply] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [apply] 1 error generated. BUILD FAILED /Users/************/Programming/lwjgl/build.xml:511: The following error occurred while executing this line: /Users/************/Programming/lwjgl/build.xml:561: The following error occurred while executing this line: /Users/************/Programming/lwjgl/platform_build/macosx_ant/build.xml:154: The following error occurred while executing this line: /Users/************/Programming/lwjgl/platform_build/macosx_ant/build.xml:200: The following error occurred while executing this line: /Users/************/Programming/lwjgl/platform_build/macosx_ant/build.xml:113: apply returned: 1 Total time: 9 seconds
I have XCode installed. I am running MacOS Big Sur on an Apple M1 chip. All the build dependencies are installed.
I am trying to run MC 1.12 and lower natively on M1.
The text was updated successfully, but these errors were encountered:
Fixed the issue by myself.
Sorry, something went wrong.
No branches or pull requests
I am trying to compile LWJGL 2 on MacOS Big Sur and I run into this error:
I have XCode installed.
I am running MacOS Big Sur on an Apple M1 chip. All the build dependencies are installed.
I am trying to run MC 1.12 and lower natively on M1.
The text was updated successfully, but these errors were encountered: