Problems Compiling Crazyflie 2.0 Firmware

Firmware/software/electronics/mechanics
Post Reply
redips122
Beginner
Posts: 3
Joined: Tue Dec 16, 2014 8:14 pm

Problems Compiling Crazyflie 2.0 Firmware

Post by redips122 »

Hello,

I tried to compile the Crazyflie 2.0 firmware downloaded from GitHub.
I have Python 2.7.9 installed and tortoise hg.
Here's my console output:

Code: Select all

.......
  CC    cfassert.o
  CC    configblock.o
  CC    eprintf.o
  CC    crc.o
  CC    fp16.o
  CC    debug.o
  CC    abort.o
  VTMPL version.c
Traceback (most recent call last):
  File "scripts/versionTemplate.py", line 23, in <module>
    revision = subprocess.check_output(["git", "rev-parse", "HEAD"]).strip()
  File "C:\Python27\lib\subprocess.py", line 566, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "C:\Python27\lib\subprocess.py", line 710, in __init__
    errread, errwrite)
  File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
    startupinfo)
WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden
make: *** [version.c] Error 1

Anyone has a suggestion to me? I tried for hours but no success :/

Thanks!
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: Problems Compiling Crazyflie 2.0 Firmware

Post by chad »

Do you have git installed?
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
redips122
Beginner
Posts: 3
Joined: Tue Dec 16, 2014 8:14 pm

Re: Problems Compiling Crazyflie 2.0 Firmware

Post by redips122 »

chad wrote:Do you have git installed?
Thank you for your reply!
yes i have git-hub installed. I cloned the repository to my harddrive with git-hub. After that I go in eclipse -> New -> Makefile Project with Existing Code and choose the directory of the files cloned by git-hub.
ist that the right way to import the repository to eclipse?

any other suggestions?

regards,
redips
whoenig
Expert
Posts: 395
Joined: Mon Oct 27, 2014 2:55 am

Re: Problems Compiling Crazyflie 2.0 Firmware

Post by whoenig »

Make fails because git is not in your path. You would need to make sure that you can run "git" on a Windows Command Prompt. Most likely you will need to update the PATH environment variable to include the github bin directory.
redips122
Beginner
Posts: 3
Joined: Tue Dec 16, 2014 8:14 pm

Re: Problems Compiling Crazyflie 2.0 Firmware

Post by redips122 »

whoenig wrote:Make fails because git is not in your path. You would need to make sure that you can run "git" on a Windows Command Prompt. Most likely you will need to update the PATH environment variable to include the github bin directory.
Thank's! It works!
AWESOME :-)
Post Reply