Easy way to compile/build firmware

What is easy way in Windows 7 to compile Source Code / build firmware for pixhawk1/px4 ?

i using description from here

and configuration target compile okey:
‘configure’ finished successfully

When run target “copter” then error:
it’s strange that not atways compilation look same ( step 2/6, 4/6 or 5/6).

[4/6] Processing uavcangen: libraries/AP_UAVCAN/dsdl/ardupilot libraries/AP_UAVCAN/dsdl/com modules/uavcan/dsdl/uavcan
/bin/sh: -c: line 0: syntax error near unexpected token (' ..... ... Waf: Leaving directory /home/Prokopcio/ardupilot/build/Pixhawk1’
Build failed

where did i make a mistake ???
or how i can build it easy with other tools ?
i try use some tools from totorials without good resultat - Eclipse+cygwin64 does the most.

for apm 3.2.1 i used arduino software without problem but now i need for HKPILOT32 board.

Can you help me ?

Forget Windows7. Get Windows10 install Windows subsystem for Linux and use the native tools under windows…

1 Like

resolved :slight_smile:
used CGWIN terminal without eclipse working perfect without problems :slight_smile:

Build directory: /home/Prokopcio/ardupilot/build/Pixhawk1
Target Text Data BSS Total
bin/arducopter 1153216 1328 195488 1350032

Build commands will be stored in build/Pixhawk1/compile_commands.json
‘copter’ finished successfully (2m26.799s)

i using this description: