kcl-lang / kcl-lang.io

KCL Website and Documentation Repo: https://kcl-lang.io
https://kcl-lang.github.io
Apache License 2.0
13 stars 35 forks source link

[FAQ] Where are the cgo dependencies of KCL Go SDK? #446

Open juanzolotoochin opened 1 month ago

juanzolotoochin commented 1 month ago

I'm getting the following error when trying to use this library with bazel:

compilepkg: /home/juan-munoz/.cache/bazel/_bazel_juan-munoz/5e2ab9bef16b62dfdad15ea9f3634c69/sandbox/linux-sandbox/975/execroot/verkada_backend/external/io_kcl_lang_lib/kclvm_cli_shared_lib_linux_amd64.go:7:12: 
could not embed lib/linux-amd64/libkclvm_cli_cdylib.so: no matching files found

I can provide the dynamic c library as a dependecy but I don't see where it comes from.

Peefy commented 1 month ago

The lib came from here. https://github.com/kcl-lang/lib