Skip to content
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

zenohc nuget package #1

Open
schragnasher opened this issue Mar 12, 2021 · 1 comment
Open

zenohc nuget package #1

schragnasher opened this issue Mar 12, 2021 · 1 comment

Comments

@schragnasher
Copy link

Hello, I would like to use zenoh on a windows machine to integrate with some robot dogs. Any chance there might be a nuget for zenohc? As it starts the API needs that dll. Or if you can help me out with getting the dll on a windows machine.

Thanks
Josh

@JEnoch
Copy link
Member

JEnoch commented Mar 13, 2021

Hi Josh,

Releasing zenoh-c to NuGet is certainly a good idea! But I have no clue how to do this...
As it's a native library, is it possible to do 1 NuGet package containing the libs for several platforms ? Or 1 NuGet per platform ?
If you have some pointers on how to do this I'll have a look.

Wrt. building zenoh-c on Windows, it seems to work, at least in our CI: https://github.com/eclipse-zenoh/zenoh-c/runs/2097200648?check_suite_focus=true.
Please try the following:

  • Install the Rust environment for Windows: https://rustup.rs/
  • Clone zenoh-c
  • Build zenoh-c with this command: cargo build --release.
  • This should produce the .dll in zenoh-c\target\release dir
  • Copy the .dll to a directory where .NET can find it (I'm not what's the most appropriate dir on Windows)

If you have any trouble installing zenoh-c on Windows, please create an issue in zenoh-c, detailing the steps you did and the error you get.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants