elect
12/01/2018, 1:56 PMelect
12/01/2018, 1:57 PMelect@elect-NUC8i5BEK:~/CLionProjects/kotlin-native/samples/opengl$ ../gradlew assemble
Parallel execution is an incubating feature.
FAILURE: Build failed with an exception.
* Where:
Build file '/home/elect/CLionProjects/kotlin-native/samples/opengl/build.gradle' line: 2
* What went wrong:
Plugin [id: 'kotlin-multiplatform', artifact: 'org.jetbrains.kotlin:kotlin-gradle-plugin:null'] was not found in any of the following sources:
- Gradle Core Plugins (not a core plugin, please see <https://docs.gradle.org/4.7/userguide/standard_plugins.html> for available core plugins)
- Plugin Repositories (could not resolve plugin artifact 'org.jetbrains.kotlin:kotlin-gradle-plugin:null')
Searched in the following repositories:
MavenRepo
maven(<https://dl.bintray.com/kotlin/kotlin-dev>)
maven2(<https://dl.bintray.com/kotlin/kotlin-eap>)
elect
12/01/2018, 2:16 PMelect
12/01/2018, 2:16 PMelect
12/01/2018, 2:20 PMelect
12/01/2018, 2:43 PMelect
12/01/2018, 9:53 PMelect
12/06/2018, 8:32 PMelect
12/06/2018, 9:52 PMelect
12/06/2018, 9:54 PMglfw.def
when I can set everything in gradle?elect
12/06/2018, 9:55 PMglfw.def
under src/main/c_interop/
then ::cinteopGlfwLinux_x64
runs just fine.. but if I delete it, it complainselect
12/06/2018, 9:56 PMelect
12/06/2018, 9:56 PMglfw.def
was
headers = GLFW/glfw3.h GLFW/glfw3native.h
compilerOpts.linux = -I/usr/include
elect
12/06/2018, 9:58 PMglfw.kt
under build/cinterop/glfw/linux_64.glfw.klib-build/kotlin/org/glfw/
elect
12/06/2018, 9:59 PMelect
12/06/2018, 10:03 PMimport org.glfw.*
it `assemble`s, but everything is red..elect
12/06/2018, 10:04 PM.kt
doesnt even work..elect
12/06/2018, 10:06 PMkonanc -target linux src -library glfw.klib -linker-options -L/usr/lib/x86_64-linux-gnu -lglfw -lGL -o HelloGlfw.kexe -opt
into gradle?elect
12/06/2018, 10:18 PMllvm-lto: error: Linking globals named '_Konan_init_glfw': symbol multiply defined!
elect
12/06/2018, 10:33 PMandyfleming
12/06/2018, 11:01 PMandyfleming
12/07/2018, 12:53 AMnestserau
12/13/2018, 12:46 PMplatform.darwin.sysctlbyname
correctly? What I don’t know is how to form arg2
correctly. I’m doing the following:
var size: ULong = 0u
sysctlbyname("hw.machine", null, cValuesOf(size), null, 0)
but I get a warning from the compiler that size
can be declared as val
since its value won’t change, but that’s what I expect, the function should return the size of the value, so size shouldn’t be 0
. So what is the proper way to call this function?Jared Woolston
12/15/2018, 5:21 AMdarkmoon_uk
12/16/2018, 1:24 PMdarkmoon_uk
12/16/2018, 1:24 PMunixer
12/17/2018, 1:48 AMunixer
12/17/2018, 12:41 PMunixer
12/17/2018, 12:41 PMunixer
12/18/2018, 1:13 PM