LibrePilot Forum

General Category => General Discussion => Topic started by: xfce on September 22, 2015, 03:06:39 am

Title: make all_sdk_install ERROR
Post by: xfce 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

(http://)
Title: Re: make all_sdk_install ERROR
Post by: jochene on September 22, 2015, 07:23:13 am
Look here.
https://forum.librepilot.org/index.php?topic=148.0
Title: Re: make all_sdk_install ERROR
Post by: Inno89 on September 22, 2015, 12:26:36 pm
Python2 is missing. Install it and add it to environment variables.
Title: Re: make all_sdk_install ERROR
Post by: xfce 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
Title: Re: make all_sdk_install ERROR
Post by: Inno89 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.
Title: Re: make all_sdk_install ERROR
Post by: f5soh 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
Title: Re: make all_sdk_install ERROR
Post by: jochene 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
Title: Re: make all_sdk_install ERROR
Post by: Inno89 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
Title: Re: make all_sdk_install ERROR
Post by: jochene on September 22, 2015, 10:45:06 pm
Thanks.
In the Moment i download the python2.

Jochen
Title: Re: make all_sdk_install ERROR
Post by: xfce 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.  :)

Title: Re: make all_sdk_install ERROR
Post by: Inno89 on September 28, 2015, 04:58:16 am
Great...
Well done ;)