Skip to content

Is there a way to generate a dll or lib that can then be used with c/c++? #250

Answered by aardappel
bovacu asked this question in Q&A
Discussion options

You must be logged in to vote

It's hard to help you when you say "i did not succeed" instead of detailed errors and a description of what you did.

Please make sure you follow the instructions here https://aardappel.github.io/lobster/implementation.html on how to build the --cpp output.

This typically generates an executable. There may be a way to generate it into a dll, but even so it would not generate C/C++ compatible function symbols for all Lobster functions, if that's what you were expecting. Lobster is not linked-compatible with C/C++ functions, it is a higher level language that needs explicit bindings, see the same file above.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bovacu
Comment options

Answer selected by bovacu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants