I have a problem when I want to build the ardupilot on Windows 10 using Cygwin64_Terminal . When I use the command “./waf copter”, I receive the error below.
$ ./waf configure
Setting top to : D:\cygwin64\home\mmehrabi\ardupilot
Setting out to : D:\cygwin64\home\mmehrabi\ardupilot\build
Autoconfiguration : enabled
Setting board to : sitl
Using toolchain : native
Checking for ‘g++’ (C++ compiler) : D:\cygwin64\bin\g++.exe
Checking for ‘gcc’ (C compiler) : D:\cygwin64\bin\gcc.exe
Could not load the Waf tool ‘gccdeps’ from [‘Tools/ardupilotwaf/’, ‘D:\cygwin64\home\mmehrabi\ardupilot\waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d’, ‘D:\cygwin64\home\mmehrabi\ardupilot’, ‘C:
\Users\mmehrabi\AppData\Local\Programs\Python\Python37\python37.zip’, ‘C:\Users\mmehrabi\AppData\Local\Programs\Python\Python37\DLLs’, ‘C:\Users\mmehrabi\AppData\Local\Programs\Pytho
n\Python37\lib’, ‘C:\Users\mmehrabi\AppData\Local\Programs\Python\Python37’, ‘C:\Users\mmehrabi\AppData\Roaming\Python\Python37\site-packages’, ‘d:\lgsvl\pythonapi-master’, ‘C:\Users\
mmehrabi\AppData\Local\Programs\Python\Python37\lib\site-packages’]
No module named ‘gccdeps’
(complete log in D:\cygwin64\home\mmehrabi\ardupilot\build\config.log)
I have installed python27, python27-devel, python27-future. You mean I should install python3 and python3-devel as well?
I did but I receive the same error.
Could not load the Waf tool ‘gccdeps’ from [‘Tools/ardupilotwaf/’, ‘D:\cygwin64\home\mmehrabi\ardupilot\waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d’, ‘D:\cygwin64\home\mmehrabi\ardupilot’, ‘C:
\Users\mmehrabi\AppData\Local\Programs\Python\Python37\python37.zip’, ‘C:\Users\mmehrabi\AppData\Local\Programs\Python\Python37\DLLs’, ‘C:\Users\mmehrabi\AppData\Local\Programs\Pytho
n\Python37\lib’, ‘C:\Users\mmehrabi\AppData\Local\Programs\Python\Python37’, ‘C:\Users\mmehrabi\AppData\Roaming\Python\Python37\site-packages’, ‘d:\lgsvl\pythonapi-master’, ‘C:\Users\
mmehrabi\AppData\Local\Programs\Python\Python37\lib\site-packages’]
No module named ‘gccdeps’
(complete log in D:\cygwin64\home\mmehrabi\ardupilot\build\config.log)
$ which python
/cygdrive/c/Users/mmehrabi/AppData/Local/Programs/Python/Python37/python
Could not load the Waf tool ‘gccdeps’ from [‘Tools/ardupilotwaf/’, ‘/home/mmehrabi/ardupilot/.waf-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d’, ‘/home/mmehrabi/ardupilot’, ‘/usr/lib/python27.zip’, ‘/usr/lib/python2.7’, ‘/usr/lib/python2.7/plat-cygwin’, ‘/usr/lib/python2.7/lib-tk’, ‘/usr/lib/python2.7/lib-old’, ‘/usr/lib/python2.7/lib-dynload’, ‘/usr/lib/python2.7/site-packages’]
No module named gccdeps
(complete log in /home/mmehrabi/ardupilot/build/config.log)
Sorry for too many questions, I did it but the same error:
Could not load the Waf tool ‘gccdeps’ from [‘Tools/ardupilotwaf/’, ‘/home/mmehrabi/ardupilot/.waf-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d’, ‘/home/mmehrabi/ardupilot’, ‘/usr/lib/python27.zip’, ‘/usr/lib/python2.7’, ‘/usr/lib/python2.7/plat-cygwin’, ‘/usr/lib/python2.7/lib-tk’, ‘/usr/lib/python2.7/lib-old’, ‘/usr/lib/python2.7/lib-dynload’, ‘/usr/lib/python2.7/site-packages’]
No module named gccdeps
(complete log in /home/mmehrabi/ardupilot/build/config.log)