Hello Guest

Vulkan AWT view impossible on Mac Osx

  • 18 Replies
  • 463 Views
*

Offline spasi

  • *****
  • 2160
    • WebHotelier
Re: Vulkan AWT view impossible on Mac Osx
« Reply #15 on: September 14, 2019, 15:00:42 »
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.

*

Offline Graou

  • *
  • 14
Re: Vulkan AWT view impossible on Mac Osx
« Reply #16 on: September 16, 2019, 09:35:27 »
I have reached this stage of build but I can not find the solution for this compilation problem :

Code: [Select]
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 :

Code: [Select]
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?

*

Offline spasi

  • *****
  • 2160
    • WebHotelier
Re: Vulkan AWT view impossible on Mac Osx
« Reply #17 on: September 16, 2019, 09:59:30 »
That's a missing dependency. Let it build once without LWJGL_BUILD_OFFLINE and it should be fine.

*

Offline Graou

  • *
  • 14
Re: Vulkan AWT view impossible on Mac Osx
« Reply #18 on: September 27, 2019, 07:32:36 »
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.