-
Notifications
You must be signed in to change notification settings - Fork 514
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
Add support for Haiku #1840
Comments
I've just built CppSharp on MacOS 14.4 (Intel) and I get the exact same error.
On Haiku I just add My main concern on generating the bindings remains but I'm wondering if there's another issue here. |
Hello, Missed this post, those bindings are generated by the ParserGen tool: https://github.com/mono/CppSharp/blob/main/src/CppParser/ParserGen/ParserGen.cs You first will need to bootstrap the Haiku project from Linux, you will need to copy all the necessary system include header files to Linux and go from there. |
Hello @tritao, /boot/home/workspace/dotnet/CppSharp/build/gen/Encodings/Std.cs(229,43): error CS1001: Identifier expected [/boot/home/workspace/dotnet/CppSharp/tests/dotnet/Encodings/Encodings.CSharp.csproj] and /boot/home/workspace/dotnet/CppSharp/build/gen/VTables/Std.cs(233,43): error CS1001: Identifier expected [/boot/home/workspace/dotnet/CppSharp/tests/dotnet/VTables/VTables.CSharp.csproj] These are mainly due to the lack of a type parameter, for example:
Generating bindings for NamespacesDerived (CSharp) Just as an example there is a symbol Do you have any idea where to look at? |
I'm working on porting CppSharp to Haiku where we have a .NET SDK. It's not officially supported yet but it works pretty well.
I've made all the necessary changes to support the new OS (x64 only) including providing a pre-built LLVM package (LLVM17 it's the latest we have, atm).
I have a question on how to generate the bindings in
src/CppParser/Bindings/CSharp
.Currently I'm using a copy from Linux or MacOS but clearly it's not going to work as I get tons of errors like:
I'm a bit confused on how the process is supposed to be. Could these bindings be generated on Haiku itself or do I need to do it from another platform?
I've gone through #1708 and #1825 but have not fully grasped how to create the bindings. Is there a step-by-step guide or could anyone provide some guidance?
The text was updated successfully, but these errors were encountered: