-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build/Embed Chez Scheme with larger C/C++ program #851
Comments
It looks like linking fails because zlib and lz4 libraries are missing. Those libraries are referenced by functions in The |
There is a somewhat-related problem on Unix-like systems (at least, it seems related to the very limited extent that I understand Windows linking) that programs linking to My impression is that the idiomatic solution for Unix-like systems, at least, would be to generate and install a pkg-config file, which I believe would also be understood by CMake and other tools. I just haven't made time to try that, yet. Alternatively, I think there is some way of embedding these directives into |
Personally, I would like if something like https://github.com/gwatt/chez-exe was included as part of Chez itself. It would make life a lot easily in my opinion. |
Hello!
I've been diving into the world of Lisp/Scheme recently, and I wanted to see if I could embed chez scheme into a c++ program. I've see these two resources before on the web: https://www.reddit.com/r/scheme/comments/a3oogf/questions_on_embedding_chez_scheme_into_a_c_app/ed2b3us/ and https://cisco.github.io/ChezScheme/csug9.5/foreign.html#g34 but it's still not really clear to me how to build everything together.
I tried following the steps in the reddit post, and got far enough to link the dll mentioned but then I would get this error:
Is there an easier way to mix chez and C++ together? It would be nice if I could just have Chez as a git submodule or something, and build everything together with CMake.
The text was updated successfully, but these errors were encountered: