Trying to create a debug binary that uses the ncur...
# kotlin-native
n
Trying to create a debug binary that uses the ncurses library, and end up with the following error:
Copy code
Task :cinteropNcursesLinuxArm32 FAILED
Exception in thread "main" java.lang.Error: /mnt/pi_image/usr/include/stdint.h:26:10: fatal error: 'bits/libc-header-start.h' file not found`
This error occurs with both the dynamic, and static versions of the ncurses library.
Looks like I will need to compile a custom version of the ncurses library (if on Debian or Ubuntu the --enable-overwrite flag will need to be added to configure otherwise the header paths will be messed up) like last time. Currently compiling a custom version in a Arm emulator (using Qemu). Will take a while to compile.
The library has been compiled successfully, and is currently being installed.
Managed to compile the Kotlin Native program without any errors. The generated binary (ncurses is statically linked) runs without any issues in the Arm emulator simple smile 😎.