Skip to content

Windows Installer: Added protobuf to installer - #217

Closed
stephendade wants to merge 1 commit into
dronekit:masterfrom
stephendade:protoInstall
Closed

stephendade wants to merge 1 commit into
dronekit:masterfrom
stephendade:protoInstall

Conversation

@stephendade

Copy link
Copy Markdown
Contributor

Protobuf is required by dronekit-python, but is not always included in a MAVProxy installation. Thus this patch gathers up protobuf into the dronekit-python installer.

More background:
MAVProxy is dependant on the mavlink package. Mavlink lists protobuf as "optional", so it may or may not exist in the user's environment.
When MAVProxy is compiled into a setup.exe, protobuf may or may not be included due to the above. Thus we can't assume that it's always included in a MAVProxy environment.

@stephendade

Copy link
Copy Markdown
Contributor Author

@hamishwillee and @djnugent This fixes the protobuf issues mentioned in #161

@hamishwillee

Copy link
Copy Markdown
Contributor

@stephendade - thanks for the explanation - sounds very sensible. @tcr3dr What do we need to get this fix merged?

@tcr3dr

tcr3dr commented Jul 21, 2015

Copy link
Copy Markdown
Contributor

Thanks @stephendade! I'll steward this. I want to modify CI to reproduce the problem (somehow it's not), then have this patch fix it. Then we're good to merge.

(@hamishwillee As for the "travis failing" issue, incidentally, creating a separate branch consisting of these commits, then merging it, will mark this PR as merged. So this is the temporary permissions workaround.)

@tcr3dr tcr3dr added this to the v1.4.1 milestone Jul 21, 2015
@hamishwillee

Copy link
Copy Markdown
Contributor

@tcr3dr Thanks for the explanation. I really should take some time to understand Travis.

@tcr3dr

tcr3dr commented Jul 23, 2015

Copy link
Copy Markdown
Contributor

@stephendade I've succeeded in using the installer on Windows, but I had to modify the .bat script to remove the -compile flag (not its argument, just that string) from invoking ISCC.exe. Can you confirm that your batch script still creates the installer even without the -compile flag?

From what I've seen, the -compile flag is unnecessary or undocumented: http://www.jrsoftware.org/ishelp/topic_compilercmdline.htm

@stephendade

Copy link
Copy Markdown
Contributor Author

@tcr3dr Yep - it works fine without the "-compile" option. Honestly can't remember why I added it in the first place :)

mrpollo added a commit that referenced this pull request Jul 27, 2015
@tcr3dr

tcr3dr commented Jul 27, 2015

Copy link
Copy Markdown
Contributor

Merged as of #236. Thanks @stephendade!

@tcr3dr tcr3dr closed this Jul 27, 2015
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

Successfully merging this pull request may close these issues.

3 participants