kitto
02/02/2023, 5:41 PM[ridicolous relative path].konan/kotlin-native-prebuilt-macos-aarch64-1.7.20/bin/cinterop -def App.def
and I get:
Exception in thread "main" java.lang.Error: /var/folders/80/ncv5m6mj2yq0zg6nnn0cl46c0000gn/T/8421264523268807030.c:1:10: fatal error: 'App.h' file not found
I called it from the folder where 'App.h' is located, and I have no idea about this path in error message. Does cinterop supposed to work on macOS right now? How can I make my chances of success better :xAdam S
02/02/2023, 7:21 PMApp.h
with a linkerOpt that starts with -L
linkerOpts = -L/relative/path/to/dir-that-contains-headers/
What’s the content of App.def
?
Also, how did you install Kotlin Native? If you use Homebrew then you can just call cinterop
without the ridiculous relative pathkitto
02/02/2023, 8:05 PMcinterop
from homebrewAdam S
02/06/2023, 5:34 PM