Closed damianledzinski closed 5 years ago
Hello!
I am updating the documentation and the way it is built, I'll keep you posted on this issue.
The error here is that it does not find protoc-gen-dcsdk
, which is our protoc plugin. You would need to build it yourself (README in proto/pb_plugins
) and add it to your PATH. I will version the generated files such that you don't need to do that in the future :+1:. That should be updated in the next few days.
Thank you for your quick response. It works :)
Great! Happy to read that :blush:!
@JonasVautherin I am still unable to find '''protoc-gen-dcsdk''' in my path. Can you elaborate how to add it to the path?
@ashirsat: What I meant above is that you need to install it from sources, as documented here:
From proto/pb_plugins
:
pip install -r requirements.txt
pip install -e .
Then you have to make sure it is in your path (I typically do the installation step (as described above) in a venv, and it's then automatically in the PATH).
Note that MAVSDK-Java still uses protoc-gen-dcsdk
that you need to install from sources. There is now protoc-gen-mavsdk
(which is the same, but renamed) available on pypi with pip install protoc-gen-mavsdk
. But MAVSDK-Java is not using it yet. It may just be a matter of replacing dcsdk
with mavsdk
here, but I haven't tried it.
I would be glad if you could contribute that update :blush:.
i am still this error:
protoc plugin 'mavsdk' not defined. Trying to use 'protoc-gen-mavsdk' from system path
on the win10,py3,and add to system path sure:
C:\Users\elinx\AppData\Local\Programs\Python\Python310\Lib\site-packages\protoc_gen_mavsdk
i need help...
That's a different error. Can you open a new issue with it? Also can you copy-paste the error message instead of posting a screenshot? That's easier to work with.
when I build in project ……\MAVSDK-Java\mavsdk_server, mavsdk_server_android-x86_v1.4.16.tar is empty. And no extractForArch("x86-64"). A problem occurred evaluating root project 'mavsdk-server'.
What should I do fix it? Thanks a lot!
Hello, I can not build sdk. When I try to build sdk, the result is:
And running with --info option, gives:
How to solve it?
Thanks in advance