Python Forum
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Building Repository
#1
Hi, I am very new to Python so fumbling around in the dark. Here is my problem, I would be grateful for any help.

I am trying to use some code called MavProxy which is used for communicating with the MavLink protocol used in aerial drones. I have a custom frame so need to install a custom repository in the MavProxy build. 

The repository is hosted on Github under Ardupilot/pymavlink

When I download the repository I navigate to it in Command Prompt (Windows10) and type "python setup.py build install". I then return a comment saying 
"Skipping mavnative due to windows possibly missing a compiler...
running build
running build_py
No XML message definitions found
"
The mavnative is a folder inside the repository containing 2 files, a .h and a .c file.

Am I simply missing a compiler?

Any help would be very much appreciated.
Reply
#2
Quote:Am I simply missing a compiler?
I believe you are, and it's C code, not python (at least the part you are having a problem with)
if you are on Linux, the compiler is there
you can download mingw for windows: http://www.mingw.org/
Reply
#3
Many thanks for your help. Downloading minigw.

I will let you know if I have success.

Thanks again.

Still no success.

I have installed MinGW and restarted a command prompt. I then use:
python setup.py build -cmingw32

But it still says:
"Skipping mavnative due to windows possibly missing a compiler...
running build
running build_py
No XML message definitions found
"

Am I using MinGW correctly?

Thanks again for your help.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to find the list of dependencies not present in the remote artifactory repository csplrj 6 4,856 Mar-30-2018, 03:43 PM
Last Post: csplrj
  password repository script using csv for site, pw repository mepyyeti 0 2,177 Feb-24-2018, 07:45 AM
Last Post: mepyyeti

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020