Vulkan AWT view impossible on Mac Osx

Started by Graou, August 23, 2019, 07:11:08

Previous topic - Next topic

spasi

I have created the objc-test branch to get you started. See the CoreAnimation.kt template and how the generated code is used in CoreAnimationTest.

Graou

I have reached this stage of build but I can not find the solution for this compilation problem :

ant compile-templates compile-native
Buildfile: /Users/fbmac/Documents/_projets/Zulu-java-11/git_projet/lwjgl3/build.xml

bindings:
   [script] Warning: Nashorn engine is planned to be removed from a future JDK release

init:
 [override] Build offline: true

check-dependencies:

-compile-generator:

compile-templates:

bindings:
   [script] Warning: Nashorn engine is planned to be removed from a future JDK release

init:
 [override] Build offline: true

check-dependencies:

generate:

compile:
[javac: core] Compiling 133 source files to /Users/fbmac/Documents/_projets/Zulu-java-11/git_projet/lwjgl3/bin/classes/lwjgl/core
[javac: core] warning: [options] bootstrap class path not set in conjunction with -source 8
[javac: core] /Users/fbmac/Documents/_projets/Zulu-java-11/git_projet/lwjgl3/modules/lwjgl/core/src/main/java/org/lwjgl/PointerBuffer.java:9: error: package javax.annotation does not exist
[javac: core] import javax.annotation.*;
[javac: core] ^
[javac: core] /Users/fbmac/Documents/_projets/Zulu-java-11/git_projet/lwjgl3/modules/lwjgl/core/src/main/java/org/lwjgl/CLongBuffer.java:9: error: package javax.annotation does not exist
[javac: core] import javax.annotation.*;
[javac: core] ^
...


Les variables d'environnement sont :

JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu11.2.3-jdk11.0.1-macosx_x64
LWJGL_BUILD_OFFLINE=true


Do you have an idea about this problem?

spasi

That's a missing dependency. Let it build once without LWJGL_BUILD_OFFLINE and it should be fine.

Graou

After five weeks of investigation, I only managed to produce a JVM crash.

The knowledge I gained made me realize that I am still far from getting a satisfactory result quickly. I can no longer afford such an investment.

I'm sorry but I give up. I would have loved to be able to contribute to this wonderful project that is LWJGL.