xfce

  • **
  • 91
make all_sdk_install ERROR
« on: September 22, 2015, 03:06:39 am »
hi all,
      I want to setup the compile environment of librepilot in windows 7(64bit)

when use  tools/bin/make all_sdk_install, give the error, please help me out, thanks


jochene

  • *
  • 73
    • Modellheliflieger
Re: make all_sdk_install ERROR
« Reply #1 on: September 22, 2015, 07:23:13 am »
Gruß
Jochen
---------------------------------------------------------------------------------
Wer Rechtschreibfehler findet darf diese auch behalten.
---------------------------------------------------------------------------------

Inno89

  • *
  • 12
Re: make all_sdk_install ERROR
« Reply #2 on: September 22, 2015, 12:26:36 pm »
Python2 is missing. Install it and add it to environment variables.

xfce

  • **
  • 91
Re: make all_sdk_install ERROR
« Reply #3 on: September 22, 2015, 01:01:03 pm »
Thanks all.

install all compile software step by step, and it's OK, now.
but the " make all package" command can't give the  windows_gcs_install software, only E:\librepilot\Librepilot\build\librepilot-gcs_release\bin\librepilot-gcs

error below

Inno89

  • *
  • 12
Re: make all_sdk_install ERROR
« Reply #4 on: September 22, 2015, 01:10:56 pm »
Not sure about this but it could be that you have 2 directories with basically the same name.
rename the first in "code" or something.
You better restart everything from the start.

f5soh

  • *****
  • 4572
    • LibrePilot
Re: make all_sdk_install ERROR
« Reply #5 on: September 22, 2015, 05:10:39 pm »
but the " make all package" command can't give the  windows_gcs_install software, only E:\librepilot\Librepilot\build\librepilot-gcs_release\bin\librepilot-gcs

Be sure you use bitbucket, the most up to date source. If you have already cloned github repo, you can add the bitbucket repo as remote :

Code: [Select]
git remote add bitbucket https://bitbucket.org/librepilot/librepilot.git
git fetch bitbucket && git checkout bitbucket/next
Where 'bitbucket' above is a repo name

I have build a windows installer without issue this night using Next branch.

Code: [Select]
tools/bin/make all_clean
tools/bin/make package

jochene

  • *
  • 73
    • Modellheliflieger
Re: make all_sdk_install ERROR
« Reply #6 on: September 22, 2015, 09:17:59 pm »
Python2 is missing. Install it and add it to environment variables.

How can I install Python or Python2 in this area?
What command or which packages must be installed as?
How do I customize where the path?

Or the question is how do I create a complete compilation environment which is all necessary?

I can not find there.
I am novice in this field and propose me more bad than good as through.

Many thanks

Jochen
Gruß
Jochen
---------------------------------------------------------------------------------
Wer Rechtschreibfehler findet darf diese auch behalten.
---------------------------------------------------------------------------------

Inno89

  • *
  • 12
Re: make all_sdk_install ERROR
« Reply #7 on: September 22, 2015, 10:01:32 pm »
Just install python 2 on windows (choose python 2.7 https://www.python.org/downloads/)

And then just add its PATH to Windows Environment Variables:

Code: [Select]
My Computer > Properties > Advanced System Settings > Environment Variables >

Then under system variables I create a new Variable called PythonPath. In this variable I have C:\Python27\Lib;C:\Python27\DLLs;C:\Python27\Lib\lib-tk;C:\other-foolder-on-the-path
(https://stackoverflow.com/questions/3701646/how-to-add-to-the-pythonpath-in-windows-7)

Reboot

jochene

  • *
  • 73
    • Modellheliflieger
Re: make all_sdk_install ERROR
« Reply #8 on: September 22, 2015, 10:45:06 pm »
Thanks.
In the Moment i download the python2.

Jochen
Gruß
Jochen
---------------------------------------------------------------------------------
Wer Rechtschreibfehler findet darf diese auch behalten.
---------------------------------------------------------------------------------

xfce

  • **
  • 91
Re: make all_sdk_install ERROR
« Reply #9 on: September 28, 2015, 04:43:24 am »
Just install python 2 on windows (choose python 2.7 https://www.python.org/downloads/)

And then just add its PATH to Windows Environment Variables:

Code: [Select]
My Computer > Properties > Advanced System Settings > Environment Variables >

Then under system variables I create a new Variable called PythonPath. In this variable I have C:\Python27\Lib;C:\Python27\DLLs;C:\Python27\Lib\lib-tk;C:\other-foolder-on-the-path
(https://stackoverflow.com/questions/3701646/how-to-add-to-the-pythonpath-in-windows-7)

Reboot
Thanks!
I have installed the python27 as you wrote,  and make osg_install
now finish the compile, got the LibrePilot-0.0+r304-g1b4ad5c-win32.  :)


Inno89

  • *
  • 12
Re: make all_sdk_install ERROR
« Reply #10 on: September 28, 2015, 04:58:16 am »
Great...
Well done ;)