heba123 / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

Getting px4uploader errors when trying to compile source #907

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
It's a new clone of master branch, I've fixed all the dependencies. Upon 
compile the errors below occur. If I remove all pages and references related to 
firmware.cs it compiles no problem.

What is the expected output? 
No errors!

What do you see instead?
Error   19  'px4uploader.Uploader' does not contain a definition for 
'currentChecksum' and no extension method 'currentChecksum' accepting a first 
argument of type 'px4uploader.Uploader' could be found (are you missing a using 
directive or an assembly reference?)    C:\Users\Joe\Desktop\Mission 
Planner\GCSViews\Firmware.cs    599 24  ArdupilotMega

Error   20  'px4uploader.Uploader' does not contain a definition for 
'ProgressEvent' and no extension method 'ProgressEvent' accepting a first 
argument of type 'px4uploader.Uploader' could be found (are you missing a using 
directive or an assembly reference?)    C:\Users\Joe\Desktop\Mission 
Planner\GCSViews\Firmware.cs    611 24  ArdupilotMega

Error   21  'px4uploader.Uploader' does not contain a definition for 'LogEvent' 
and no extension method 'LogEvent' accepting a first argument of type 
'px4uploader.Uploader' could be found (are you missing a using directive or an 
assembly reference?)    C:\Users\Joe\Desktop\Mission 
Planner\GCSViews\Firmware.cs    612 24  ArdupilotMega

What version of the product are you using? On what operating system?
Latest, downloaded this morning

Original issue reported on code.google.com by netcode...@gmail.com on 18 Apr 2013 at 5:27

GoogleCodeExporter commented 8 years ago
Fixed the issue:
1. downloaded / installed the binary
2. unlinked px4uploader from references in project
3. deleted px4uploader.exe from source root and also debug folder
4. copied px4uploader.exe from binary folder
5. pasted px4uploader.exe in the source root
6. added new reference to copied px4uploader.exe

Strange issue, the file sizes of px4uploader.exe were exactly the same, oh 
well, customizing now :)

Original comment by netcode...@gmail.com on 19 Apr 2013 at 2:29

GoogleCodeExporter commented 8 years ago
Hey I'm getting this error:

Error   28  'px4uploader.Uploader' does not contain a definition for '__get_sn' 
and no extension method '__get_sn' accepting a first argument of type 
'px4uploader.Uploader' could be found (are you missing a using directive or an 
assembly 
reference?) C:\Users\user\Documents\GitHub\Software\WesleyTest\MissionPlanner-ma
ster\GenOTP.cs  384

and I am attempting your fix, where did you get the binary from please?

Original comment by wesleych...@gmail.com on 28 Oct 2013 at 3:18