Finally... I found the missing piece `{.passL: "-lgsl".}`, working code {.passL: "-lgsl".} proc gsl_sf_bessel_J0*(x: cdouble): cdouble {.cdecl, importc: "gsl_sf_bessel_J0", dynlib: "libgsl.dylib".} echo gsl_sf_bessel_J0(5.0) Run
- Can't link C library alexeypetrushin
- Can't link C library PMunch
- Can't link C library PMunch
- Can't link C library alexeypetrushin
- Can't link C library PMunch
- Can't link C library alexeypetrushin
- Can't link C library alexeypetrushin
- Can't link C library PMunch