Page 1 of 1

crazyflie-firmware makefile problems

Posted: Sun Jan 25, 2015 11:39 am
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?

Re: crazyflie-firmware makefile problems

Posted: Sun Jan 25, 2015 12:20 pm
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

Re: crazyflie-firmware makefile problems

Posted: Thu Jan 29, 2015 4:57 pm
by georgioguido
worked great thanks!