crazyflie-firmware makefile problems

Firmware/software/electronics/mechanics
Post Reply
georgioguido
Beginner
Posts: 2
Joined: Sun Jan 25, 2015 11:33 am

crazyflie-firmware makefile problems

Post by georgioguido »

Hi, I have downloaded the crazyflie-firmware. I am no expert in makefiles so I cannot solve this error when i compile:

bitcraze@bitcraze-vm:~/projects/crazyflie-firmware$ make
CLEAN_VERSION
VTMPL version.c
Traceback (most recent call last):
File "scripts/versionTemplate.py", line 55, in <module>
identify = subprocess.check_output(["hg", "identify", "-nitb"])
File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
scripts/targets.mk:20: recipe for target 'version.c' failed
make: *** [version.c] Error 1

What am I doing wrong?
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: crazyflie-firmware makefile problems

Post by arnaud »

Hi,

This happens when compiling outside the git tree. did you download the .tag.gz.zip version of the source?

You can try to clone the git tree and the compilation should work:

Code: Select all

git clone https://github.com/bitcraze/crazyflie-firmware
cd crazyflie-firmware
make
This is a bug, I made a ticket for it: https://github.com/bitcraze/crazyflie-f ... /issues/38
georgioguido
Beginner
Posts: 2
Joined: Sun Jan 25, 2015 11:33 am

Re: crazyflie-firmware makefile problems

Post by georgioguido »

worked great thanks!
Post Reply