Can't compile for PixHawk on Windows

I'm using Windows7/32

I used the instructions found at:

http://ardupilot.org/dev/docs/building-px4-with-make.html

I downloaded the PX4 toolchain.exe file and installed it.

Then, in "All Programs" I chose 

"PX4 Software Download", but got a bunch of errors.  So, I went to GitHub and downloaded

ardupilot-master     

I changed the name to "ardupilot" and copied that into 

/c/users/<my name>/"My Documents"/GitHub/

so now, I have the folder

/c/users/<my name>/"My Documents"/GitHub/aurdupilot

There are a lot of other files and folders in that directory, one of which is 'ArduCopter'

I then went back to All Programs and navigated to PX4 Toolchain.  That gave me a command-line window.  I navigated to 

/c/users/<my name>/"My Documents"/GitHub/ardupilot/ArduCopter

And, as specified, issued the command:

"make px4-v2"

I get the error message:

CANNOT DETERMINE SKETCHBOOK LOCATION.  Specify on the command line with SKETCHBOOK=<path>.

I had no "Sketchbook" (I don't know what a 'sketchbook is') , so I created a subdirectory off the root (C:\PX4) and typed in 

SKETCHBOOK=/c/PX4     but I got the same error.  So I also tried

SKETCHBOOK=/c/PX4/    and

SKETCHBOOK=c/PX4      and

SKETCHBOOK=/c/users/<my name>/"My Documents"/GitHub/ardupilot/ArduCopter   and

SKETCHBOOK=/c/users/<my name>/"My Documents"/GitHub/ardupilot/ArduCopter/

But no matter what I type in for the path, I get the same error.  What is wrong with my setup?

Also, when I use the 

PX4 Software downloader, why do I get only errors?

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

Join diydrones

Email me when people reply –

Activity

DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13, 2022
More…