Arwalk / zig-protobuf

a protobuf 3 implementation for zig.
MIT License
219 stars 25 forks source link

Error loading library #41

Closed Arwalk closed 6 months ago

Arwalk commented 6 months ago

Hello, sabe problem here with zig 0.12.0-dev.3161+377ecc6af. It can't find protobuf module and also complains that the project does not have a build.zig.zon file so zig fetch --save does not work.

Originally posted by @davo417 in https://github.com/Arwalk/zig-protobuf/issues/37#issuecomment-1994442726

Arwalk commented 6 months ago

Hello, sabe problem here with zig 0.12.0-dev.3161+377ecc6af. It can't find protobuf module and also complains that the project does not have a build.zig.zon file so zig fetch --save does not work.

Originally posted by @davo417 in https://github.com/Arwalk/zig-protobuf/issues/37#issuecomment-1994442726

Hello @davo417, do you have some code to share with us so we can check? Will look into it.

Arwalk commented 6 months ago

Hey @davo417, the latest master should work now, i added the newly required build.zig.zon file, as well as ensured it works with the latest zig compiler version as of today. I tested in a sample project that i could zig fetch --save it and use it.

davo417 commented 6 months ago

Works great!! Thank you for the prompt response.