-
Notifications
You must be signed in to change notification settings - Fork 17.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add lxml and future to Windows ToolChain #4966
Comments
@rmackay9 I've tried to follow these instructions but when I run "pip install xxx" it gave me "xxx.whl is not a supported wheel on this platform". How can I fix it? |
Windows installer here in case you are using pure windows : https://pypi.python.org/pypi/lxml/3.6.0 |
pip install xxx --user It's on the sitl windows page. On Oct 17, 2016 9:16 AM, "khancyr" notifications@github.com wrote:
|
pip install future works fine. when I run "pip install lxml" it looks good for a while but fails when ... Could not find function xmlCheckVersion in library libxml2. Is libxml2 running "pip install libxml2" doesn't help, gives me a not-found type error. On Mon, Oct 17, 2016 at 9:24 AM, WickedShell notifications@github.com
|
@magicrub is this within cygwin? If so see the cygwin instructions, you On Mon, Oct 17, 2016 at 12:16 PM, Tom Pittenger notifications@github.com
|
yup, that worked. Thanks Michael! On Mon, Oct 17, 2016 at 12:19 PM, WickedShell notifications@github.com
|
Thanks guys for your replys. @magicrub Excuse me, how did you installed these required packages?
And when trying
I'm running these commands in Cygwin terminal |
@SalahuddinAsh libxml2-devel should be install with Cygwin installer ! (maybe another way but this one works!) |
cygwin installer On Tue, Oct 18, 2016 at 12:30 AM, khancyr notifications@github.com wrote:
|
@magicrub @khancyr Guys, I'm sorry but it doesn't work. I was trying the last hour to get it to work but it didn't. I even reinstalled Cygwin, installed the required packages, installed future and lxml but when I tried to build in eclipse it gave me the same error. 09:00:59 Build Finished (took 1m:8s.969ms)` Any suggestions? |
On Tue, 18 Oct 2016, SalahuddinAsh wrote:
And when I built in eclipse it gave me this error
c:/Users/Salahuddin/ardupilot/libraries/GCS_MAVLink/GCS_MAVLink.h:27:56:
fatal error: include/mavlink/v2.0/ardupilotmega/version.h: No such file or
directory
Have you run
git submodule update --recursive
?
|
@peterbarker I've just done the following:
What can I do else to solve it? |
@SalahuddinAsh Please try to build outside eclipse, using just "make" or "waf" |
Sid's produced a new Toolchain. It would be great if @SalahuddinAsh could give it a try to see if it resolves the problems. https://drive.google.com/file/d/0B9lyOylsxH2BbDhENzRXMmZBQm8/view |
The new toolchain has been uploaded to: http://firmware.ap.ardupilot.org/Tools/PX4-tools/pixhawk_toolchain_installer_latest.exe Hope this sorts out the problems. |
@peterbarker I've tried to run "make" from within px4 console but it didn't work. And I don't know how to run "waf" in Windows. Could you tell me? @rmackay9 Many thanks for your reply. I really appreciate it.
|
@SalahuddinAsh pixhawk toolchain error has been fixed on our system now. New file was missing permissions on satellite servers. |
@jpkh Thanks for your reply |
@SalahuddinAsh, it looks like maybe you need to run "git submodule init" and "git submodule update --recursive" from the ardupilot directory. |
@rmackay9 I've already done that yesterday and I also did it now but nothing changed :( |
@SalahuddinAsh, maybe you should join us on gitter. https://gitter.im/ArduPilot/ardupilot Maybe try deleting ardupilot/modules/PX4Firmware.. and maybe all other directory in /ardupilot/modules. |
@lvale, Thanks for testing! I'm going to close this issue then. |
I have still the same error 'No module named future' (after instaling python and packs (lxml&future) ) Is it possible, that the version of Python is wrong? My versions: Python34 |
@Embeddedkuba please open a post on discuss about, detailling your config, what command you use and the error show ! |
@Embeddedkuba I am facing the same issue. After installing future I still get No module named future. |
This is still an issue... |
Install future for Python2 not Python3 |
Recent changes to add dependencies on "lxml" and "future" python packages has broken the build for Windows. The error message that appears is, "ImportError: No module named future"
We should add these packages to the windows toolchain:
Open this web page: http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
search and download, "lxml-3.6.4-cp27-cp27m-win32.whl"
search and download, "future-0.15.2-py2-none-any.whl"
These can be installed by running:
pip install filename
The text was updated successfully, but these errors were encountered: