ArduPilot / MissionPlanner

Mission Planner Ground Control Station for ArduPilot (c# .net)
http://ardupilot.org/planner/
GNU General Public License v3.0
1.77k stars 2.39k forks source link

Quick Start Dev/Build Guide available? #299

Open jasells opened 10 years ago

jasells commented 10 years ago

Is there a a guide for configuring the solution in VS 201x (I'm using 2012) once one has downloaded the source? I have found most things so far, but I had to do hunting on the internet. It would be really nice if there was a list or guide with links to the 3rd party libs used, so some one getting started would have better confidence that one got the correct versions, etc.

I have been keeping a list of what I needed and where I found it. I would happily provide that as a minimum starting point for this guide, if it does not exist. One example is ZedGrpah, but that is included in the code base, so I know I have the right version.

Currently, I'm working on finding a compatible version if SharpZipLib, which I had, but apparently, not the same version.

Thanks!

jasells commented 10 years ago

Ok, so here is the list of referenced 3rd party libs(assemblies) that I didn't have, even with an up to date Windows 7 and VS2012 Ultimate install. Also, links to where I found them. If this info is officially elsewhere, my appologies. Please link to the official post so others can find it if they find this thread.

DirectShowLib-2005.dll http://sourceforge.net/projects/directshownet/files/DirectShowNET/

Reactive Extentions (Rx) http://blogs.msdn.com/b/rxteam/archive/2012/08/15/reactive-extensions-v2-0-has-arrived.aspx

log4net.dll http://logging.apache.org/log4net/download_log4net.cgi

alglibnet2.dll http://www.alglib.net/download.php

ICSharpCode.SharpZipLib.dll (I just added the source project to my local copy of the mission planner solution, since I have another version of this lib in the GAC. Not sure what is using this GAC version, or what put it there ATM.)
https://github.com/jasells/SharpZipLib

note: px4uploader This is an .exe, not a dll. I haven't found source, but px4uploader.exe is installed with the release version of the MissionPlanner app. Check your install directory and ref that file.

meee1 commented 10 years ago

all the binary libs are included in the lib directory.

jasells commented 10 years ago

Kool. I don't know how I missed that, also not sure why the project seems to have found some but not all of them out of the box. For instance, it found Iron Python, but in \MissionPlanner-master\packages\IronPython.2.7.4\lib\Net40. In any case, I got it building using the sources I listed, but my references are now to different paths than that common Lib dir...

I would recommend using the official Rx SDK for Windows/VS build, and at least a readme with the versions of everything that is included in that Lib dir.

note: px4uploader.exe is also in \MissionPlanner-master\Libs any source?