Code Monkey home page Code Monkey logo

Comments (12)

zeganstyl avatar zeganstyl commented on July 29, 2024

Are you mean add gradle plugin "application" ? It gives such gradle task.
But I can't add this plugin due to incompatibility with plugin "com.android.application".

from thelema-engine.

dmitrykolesnikovich avatar dmitrykolesnikovich commented on July 29, 2024

But I can't add this plugin due to

that statement is too unambitious for the guy who wrote God Rays shader :)

from thelema-engine.

zeganstyl avatar zeganstyl commented on July 29, 2024

But I can't add this plugin due to

that statement is too unambitious for the guy who wrote God Rays shader :)

Haha, you are right, I will try.

from thelema-engine.

zeganstyl avatar zeganstyl commented on July 29, 2024

I added gradle task "run". 96c3609

Can you check and confirm that it works?

from thelema-engine.

dmitrykolesnikovich avatar dmitrykolesnikovich commented on July 29, 2024

by the way I found excellent videos on Kotlin + Gradle topic https://www.youtube.com/channel/UC-Vhmm09W_IWKHhSg80d68w/videos

from thelema-engine.

dmitrykolesnikovich avatar dmitrykolesnikovich commented on July 29, 2024

I'm running tests on MacOS with following log

dmitrykolesnikovich$ gradlew tests:run

> Configure project :
Kotlin Multiplatform Projects are an Alpha feature. See: https://kotlinlang.org/docs/reference/evolution/components-stability.html. To hide this message, add 'kotlin.mpp.stability.nowarn=true' to the Gradle properties.


The Kotlin source set androidAndroidTestRelease was configured but not added to any Kotlin compilation. You can add a source set to a target's compilation by connecting it with the compilation's default source set using 'dependsOn'.
See https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#connecting-source-sets

The Kotlin source set androidAndroidTestRelease was configured but not added to any Kotlin compilation. You can add a source set to a target's compilation by connecting it with the compilation's default source set using 'dependsOn'.
See https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#connecting-source-sets

> Task :compileKotlinJvm FAILED
e: /Users/dmitrykolesnikovich/workspace/temp/thelema-engine/src/jvmMain/kotlin/app/thelema/lwjgl3/audio/WavSound.kt: (29, 33): Unresolved reference: readNBytes

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileKotlinJvm'.
> Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

from thelema-engine.

zeganstyl avatar zeganstyl commented on July 29, 2024

What JDK version are you using?

from thelema-engine.

dmitrykolesnikovich avatar dmitrykolesnikovich commented on July 29, 2024
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)

from thelema-engine.

zeganstyl avatar zeganstyl commented on July 29, 2024
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)

Can you upgrade your JDK version?
For example to 11.

from thelema-engine.

dmitrykolesnikovich avatar dmitrykolesnikovich commented on July 29, 2024

Migration to Java 11 fixes current problem but there is another

> Task :tests:run FAILED
[LWJGL] Failed to load a library. Possible solutions:
        a) Add the directory that contains the shared library to -Djava.library.path or -Dorg.lwjgl.librarypath.
        b) Add the JAR that contains the shared library to the classpath.
[LWJGL] Enable debug mode with -Dorg.lwjgl.util.Debug=true for better diagnostics.
[LWJGL] Enable the SharedLibraryLoader debug mode with -Dorg.lwjgl.util.DebugLoader=true for better diagnostics.
Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to locate library: liblwjgl.dylib
        at org.lwjgl.system.Library.loadSystem(Library.java:162)
        at org.lwjgl.system.Library.loadSystem(Library.java:62)
        at org.lwjgl.system.Library.<clinit>(Library.java:50)
        at org.lwjgl.system.MemoryUtil.<clinit>(MemoryUtil.java:97)
        at org.lwjgl.system.Pointer$Default.<clinit>(Pointer.java:67)
        at org.lwjgl.system.Callback.<clinit>(Callback.java:41)
        at app.thelema.lwjgl3.JvmApp$Companion.initializeGlfw(JvmApp.kt:305)
        at app.thelema.lwjgl3.JvmApp.<init>(JvmApp.kt:113)
        at app.thelema.lwjgl3.JvmApp.<init>(JvmApp.kt:50)
        at app.thelema.lwjgl3.MainTestJvm.main(MainTestJvm.kt:30)

from thelema-engine.

dmitrykolesnikovich avatar dmitrykolesnikovich commented on July 29, 2024

I can fix it myself obviously but maybe it better to fix it on your side to make it work for everyone.

from thelema-engine.

zeganstyl avatar zeganstyl commented on July 29, 2024

I can fix it myself obviously but maybe it better to fix it on your side to make it work for everyone.

Yes, I will fix it.

from thelema-engine.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.