Page 1 of 1

Problems Compiling Crazyflie 2.0 Firmware

Posted: Tue Dec 16, 2014 8:20 pm
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!

Re: Problems Compiling Crazyflie 2.0 Firmware

Posted: Tue Dec 16, 2014 9:44 pm
by chad
Do you have git installed?

Re: Problems Compiling Crazyflie 2.0 Firmware

Posted: Wed Dec 17, 2014 9:46 am
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

Re: Problems Compiling Crazyflie 2.0 Firmware

Posted: Wed Dec 17, 2014 5:35 pm
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.

Re: Problems Compiling Crazyflie 2.0 Firmware

Posted: Wed Dec 17, 2014 7:59 pm
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 :-)