LibrePilot Forum
General Category => General Discussion => Topic started 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://)
-
Look here.
https://forum.librepilot.org/index.php?topic=148.0
-
Python2 is missing. Install it and add it to environment variables.
-
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
-
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.
-
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 :
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.
tools/bin/make all_clean
tools/bin/make package
-
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
-
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:
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.
In the Moment i download the python2.
Jochen
-
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:
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. :)
-
Great...
Well done ;)