Error when building ArduCopter with make in windows

Hi!

I'm trying to build ArduCopter with make inside cygwin following the instructions on the wiki, http://dev.ardupilot.com/wiki/ez-building-apm2-with-make-in-windows/, but get an error.

nihogb@CO-P04169 /cygdrive/c/Development/Ardupilot/ardupilot/ArduCopter
$ make
HAL_BOARD=HAL_BOARD_APM2 TOOLCHAIN=AVR EXTRAFLAGS=-DGIT_VERSION="4148c4e0"
building /tmp/ArduCopter.build/ArduCopter.cpp
%% ArduCopter.cpp
%% ArduCopter.o
avr-g++.exe: error: /tmp/ArduCopter.build/ArduCopter.cpp: No such file or directory
avr-g++.exe: fatal error: no input files
compilation terminated.
C:/Development/Ardupilot/ardupilot/mk/board_avr.mk:194: recipe for target '/tmp/ArduCopter.build/ArduCopter.o' failed
make: *** [/tmp/ArduCopter.build/ArduCopter.o] Error 1

I guess that avr-g++.exe can not find the .cpp files.

Do anyone know how to get this working?

Building for SITL works fine, though there are a lot of warnings.

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

Join diydrones

Email me when people reply –

Replies

  • Hi!
    No, I didn't unfortunately. I ended up using the PX4 tools.
    See this thread
    https://groups.google.com/forum/m/#!msg/drones-discuss/YooljrxL36A/WgXk44nqcI0J
    Google Groups
    Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
  • Hello Nils,

    Now I got to the same problem.

    Have you solved it by now?

     

    Rgds

    Staffan

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: Hey, @a1k0n's amazing "localize by the ceiling lights" @diyrobocars made @hackaday! It's consistently been the fastest in our…
Monday
DIY Robocars via Twitter
RT @IMS: It’s only fitting that @BostonDynamics Spot is waving the green flag for today’s @IndyAChallenge! Watch LIVE 👉 https://t.co/NtKnO…
Sunday
DIY Robocars via Twitter
RT @IndyAChallenge: Congratulations to @TU_Muenchen the winners of the historic @IndyAChallenge and $1M. The first autonomous racecar comp…
Sunday
DIY Robocars via Twitter
RT @JoeSpeeds: 🏎@TU_Muenchen #ROS 2 @EclipseCyclone #DDS #Zenoh 137mph. Saturday 10am EDT @IndyAChallenge @Twitch http://indyautonomouschallenge.com/stream
Sunday
DIY Robocars via Twitter
RT @DAVGtech: Another incident: https://t.co/G1pTxQug6B
Sunday
DIY Robocars via Twitter
RT @DAVGtech: What a great way to connect why @diyrobocars community is so valuable and important! Have to start somewhere @IndyAChallenge…
Sunday
DIY Robocars via Twitter
RT @DAVGtech: https://t.co/GwkbSBjdGa
Saturday
DIY Robocars via Twitter
RT @DAVGtech: Good morning from @IndyAChallenge at @IMS. It was a late night, but worth it. Come see for yourself how the pass ended and ch…
Saturday
DIY Robocars via Twitter
RT @circuitlaunch: Robot fun this Saturday (23) at Circuit Launch! From 10am to 4pm. Lots of robots, autonomous car racing training, tech t…
Friday
DIY Robocars via Twitter
RT @chr1sa: 10 of these autonomous racecars will be competing tomorrow at the Indianapolis raceway
Friday
DIY Robocars via Twitter
RT @a1k0n: Sync'd @joshu's GoPro w/ my datalogging; video is 2.5X speed, Google imagery upper-right. Found out my track boundaries are WAY…
Oct 18
DIY Robocars via Twitter
RT @a1k0n: Also, at 45mph, the front tires literally blow up like a balloon and it doesn't have much front traction, so the car becomes fai…
Oct 18
DIY Robocars via Twitter
RT @a1k0n: Okay, some datalogs! Green dots are precalculated racing line (from my crummy optimizer -- it veers to the middle after 2 for Re…
Oct 18
DIY Robocars via Twitter
RT @a1k0n: Welp my @selfracingcars entry, hastily conceived heading filter and all, actually worked! Heading home, datalogs and videos to f…
Oct 18
DIY Robocars via Twitter
Oct 18
DIY Robocars via Twitter
Oct 15
More…