0.3.9.5 ~ 0.4.1 linux package cannot make simple example

11 views
Skip to first unread message

這隻豬

unread,
Mar 6, 2024, 1:18:40 AMMar 6
to nanopb
Hi~
I make simple example with 0.3.9.5, but it cannot work.
I also try 0.4.1 linux package, but it fails, too.
However, 0.4.2 ~ 0.4.8 linux package can get positive result.

Looks like protoc.bin have missing file, but I have no idea about it.
Any idea? Do I have any missing?
I try it in WSL (Ubuntu 22.4).

renowang ~/src/nanopb-0.4.1-linux-x86/examples/simple $ make
/home/renowang/src/nanopb-0.4.1-linux-x86/generator-bin/protoc  --nanopb_out=. simple.proto
/home/renowang/src/nanopb-0.4.1-linux-x86/generator-bin/protoc: line 5: /home/renowang/src/nanopb-0.4.1-linux-x86/generator-bin/protoc.bin: No such file or directory
make: *** [Makefile:21: simple.pb.c] Error 127

這隻豬

unread,
Mar 6, 2024, 1:18:44 AMMar 6
to nanopb
I make simple w/ 0.3.9.5 linux package, it cannot work.
I also try 0.4.1 linux package, it fails, too.
However, 0.4.2 ~ 0.4.8 linux package can get positive result.
Any idea? Do I have any missing? Looks like protoc.bin have missing file, but I have no idea about it.

Petteri Aimonen

unread,
Mar 6, 2024, 1:23:09 AMMar 6
to nan...@googlegroups.com
Hi,

It works for me on Ubuntu 22.04 native.

But in any case, you could try installing protobuc-compiler and python-protobuf
from apt-get and use the source distribution instead of binary.

--
Petteri


On Tue, Mar 05, 2024 at 08:19:00PM -0800, 這隻豬 wrote:
> I make *simple *w/ 0.3.9.5 linux package, it cannot work.
> --
> You received this message because you are subscribed to the Google Groups "nanopb" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to nanopb+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/nanopb/ed8fb208-5134-4491-b002-99214d4b62a8n%40googlegroups.com.
> --
> You received this message because you are subscribed to the Google
> Groups "nanopb" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [1]nanopb+un...@googlegroups.com.
> To view this discussion on the web visit
> [2]https://groups.google.com/d/msgid/nanopb/ed8fb208-5134-4491-b002-992
> 14d4b62a8n%40googlegroups.com.
>
> References
>
> 1. mailto:nanopb+un...@googlegroups.com
> 2. https://groups.google.com/d/msgid/nanopb/ed8fb208-5134-4491...@googlegroups.com?utm_medium=email&utm_source=footer


Reply all
Reply to author
Forward
0 new messages