I created an KMP, Desktop-only, proj using the wizard provided in Create your Compose Multiplatform app | Kotlin Multiplatform Development Documentation
I want to use posix, but it can’t find it!
import platform.posix.* — “Unresolved reference ‘platform’.”
this was done in
PROJPATH/composeApp/src/desktopMain/kotlin/…/App.kt
Tried to add
implementation(kotlin(“stdlib-common”))
implementation(“org.jetbrains.kotlin:kotlin-stdlib-common”)
as suggested in Read environment variable in Kotlin/Native - Stack Overflow
but it continues not to find the package