Trouble compiling Arduplane 2.78b source code

 

I just started a UAV project for work using the Arduino Mega 2560.  But my problem is I cannot get the source code for Arduplane to compile at all.

I have downloaded the custom Arduino IDE for Ardupilot, and of course the Arduplane 2.78b source code as well.  I set the board to Arduino Mega 2560, and the sketchbook location to the unzipped Arduplane 2.78b folder.  Am I missing any steps, or doing something wrong?  I fear it just does not want to find the libraries that it needs. 

My sketchbook directory in preferences is: 

C:\Users\Me\Desktop\ArduPlane-2.78b

Here is my compile output:

output.txt

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • i am facing the same problem : Sketch too big. and I am working in Mac.

    Is there a fix for this?

  • Admin

    @Zack,

    Did you use the Ardupilot button in the IDE header to set the HAL device and then restart the IDE to have the HAL device take effect?

    Regards,

    TCIII ArduRover2 Developer

    • And that was my missing step... Thank you!

      However, I am getting a "Sketch is too big" error now, which seems to be a common problem.  I will be adding custom software, so I will need plenty of extra program memory space.  What should I do to fix this?  I don't want to comment any libraries because I assume they are all used.

      Building for ArduPilot Mega 2.x
      Excluding arduino core from include paths
      Excluding arduino core from link
      Binary sketch size: 264,608 bytes (of a 258,048 byte maximum)

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @Smartphone89: DonkeyCar Racing League Korea #donkeycar @diyrobocars https://t.co/mDlHDR1d98
8 hours ago
Jørn Ramnæs liked VIDEO LINK's profile
23 hours ago
Mark Harrison left a comment on Moderators
"Wow, Ning2 looks really great on mobile. I had sort of drifted away as my browse-time went more on my phone, so this is great."
yesterday
Hank Deucker left a comment on PIXHAWK
"I am sure most will say not again, Pixhawk telemetry. I do need help and all can be reassured that I have spent many hours scouring the net for useful information. I am not new at quadcopter flying, I started in 2012 and have progressed through many…"
yesterday
DIY Robocars via Twitter
https://t.co/rLmFr8M2UK
yesterday
Hank Deucker left a comment on PIXHAWK
"Tomorrow, I am thinking about the wording at the moment."
yesterday
DIY Drones via Twitter
Welcome to the new DIY Drones design!. You may have noticed that DIY Drones looks a little different today. That's… https://t.co/cg2EmeDGMQ
Wednesday
DIY Drones via Twitter
New! Online Training on Drones for Disaster Response https://t.co/brqRuujjY2
Tuesday
DIY Robocars via Twitter
https://t.co/8EMCvYW6oz
Tuesday
DIY Robocars via Twitter
RT @OttawaAVGroup: We are going to try something new this week. We will be having a drop-in style meeting Wednesday @ 7-9pm EST. Pop in and…
Monday
DIY Robocars via Twitter
RT @tawnkramer: Thanks Everyone for another fun virtual race! Amazing Ai racers competing head-to-head, Virtual Makers Fair event. Catch us…
May 23
DIY Robocars via Twitter
RT @make: Find out the latest from @diyrobocars at 10am PT from @chr1sa of @3DRobotics on Virtually Make Faire! #makerfaire #maketogether #…
May 23
DIY Robocars via Twitter
RT @Heavy02011: Join us Saturday online: Virtual Race League: @DIYRobocars Race #2 - Parking Lot Nerds https://t.co/aJUu4sdutx #Meetup via…
May 22
DIY Robocars via Twitter
RT @donkey_car: Yay, we are part of the virtual @makerfaire with @diyrobocars. Come see our race or better yet train a model and race with…
May 21
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars Virtual AI Race is going to be part of the virtual @makerfaire on Sat! https://t.co/wnMDAboLID
May 20
DIY Robocars via Twitter
RT @tawnkramer: Please join us next week for our second DIYRobocars online race. We will be using a new Mountain Track course! https://t.co…
May 19
More…