Hello Randy,
I did run it from the Cygwin prompt and got good results to a point.
And then this happened:
JimCalvert@Quad9550 /cygdrive/g/development/thumperdev/ardupilot
$ ./waf configure --board Pixhawk1
Setting top to : G:\development\thumperdev\ardupilot
Setting out to : G:\Development\ThumperDev\ardupilot\build
Autoconfiguration : enabled
Setting board to : Pixhawk1
Using toolchain : arm-none-eabi
Checking for ‘g++’ (C++ compiler) : C:\Program Files (x86)\GNU Tools ARM Embed
ded\6 2017-q2-update\bin\arm-none-eabi-g++.exe
Checking for ‘gcc’ (C compiler) : C:\Program Files (x86)\GNU Tools ARM Embed
ded\6 2017-q2-update\bin\arm-none-eabi-gcc.exe
Checking for c flags ‘-MMD’ : yes
Checking for cxx flags ‘-MMD’ : yes
Checking for program ‘make’ : C:\cygwin64\bin\make.exe
Checking for program ‘arm-none-eabi-objcopy’ : C:\Program Files (x86)\GNU Tools ARM E
mbedded\6 2017-q2-update\bin\arm-none-eabi-objcopy.exe
‘C:\Users\Jim’ is not recognized as an internal or external command,
operable program or batch file.
Failed to process hwdef.dat ret=1
(complete log in G:\Development\ThumperDev\ardupilot\build\config.log)
It appears that it is misreading a part of my path as shown here: ‘C:\Users\Jim’ is not recognized as an internal or external command,
The last part of the config.log is:
find program=[‘ar’] paths=[‘C:\cygwin64\usr\local\bin’, ‘C:\cygwin64\bin’, ‘C:\Program Files (x86)\Common Files\Oracle\Java\javapath’, ‘C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common’, ‘C:\WINDOWS\system32’, ‘C:\WINDOWS’, ‘C:\WINDOWS\System32\Wbem’, ‘C:\WINDOWS\System32\WindowsPowerShell\v1.0’, ‘C:\Program Files (x86)\Common Files\Acronis\SnapAPI’, ‘C:\Program Files (x86)\Acronis\TrueImageHome’, ‘C:\Program Files (x86)\MHV AVR Tools\bin’, ‘C:\HashiCorp\Vagrant\bin’, ‘C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn’, ‘C:\Program Files (x86)\QuickTime\QTSystem’, ‘C:\Program Files\IDM Computer Solutions\UltraEdit’, ‘C:\Program Files (x86)\Common Files\Acronis\VirtualFile’, ‘C:\Program Files (x86)\Common Files\Acronis\VirtualFile64’, ‘C:\WINDOWS\System32\OpenSSH’, ‘C:\Program Files (x86)\MAVProxy’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python38’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python38\Scripts’, ‘C:\Program Files\Git\cmd’, ‘C:\Program Files (x86)\GNU Tools ARM Embedded\6 2017-q2-update\bin’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python38’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python38\Scripts’, ‘C:\Users\Jim Calvert\AppData\Local\Microsoft\WindowsApps’, ‘C:\Users\Jim Calvert\AppData\Local\GitHubDesktop\bin’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python37-32\Scripts’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python37-32’] var=‘AR’ -> [‘C:\Program Files (x86)\GNU Tools ARM Embedded\6 2017-q2-update\bin\arm-none-eabi-ar.exe’]
C:\Program Files (x86)\GNU Tools ARM Embedded\6 2017-q2-update\bin\arm-none-eabi-gcc.exe
Checking for c flags ‘-MMD’
==>
int main() { return 0; }
<==
[1/1] Compiling e[32m…\Development\ThumperDev\ardupilot\build\conf_check_f83722477ce152ad8eada138917a7311\test.ce[0m
[‘C:\Program Files (x86)\GNU Tools ARM Embedded\6 2017-q2-update\bin\arm-none-eabi-gcc.exe’, ‘-MMD’, ‘-DWAF_BUILD=1’, ‘…\…\test.c’, ‘-c’, ‘-otest.c.1.o’]
yes
Checking for cxx flags ‘-MMD’
==>
int main() { return 0; }
<==
[1/1] Compiling e[32m…\Development\ThumperDev\ardupilot\build\conf_check_9e9ab452db01b20457f78884b8991960\test.cppe[0m
[‘C:\Program Files (x86)\GNU Tools ARM Embedded\6 2017-q2-update\bin\arm-none-eabi-g++.exe’, ‘-MMD’, ‘-DWAF_BUILD=1’, ‘…\…\test.cpp’, ‘-c’, ‘-otest.cpp.1.o’]
yes
Checking for program ‘make’
C:\cygwin64\bin\make.exe
find program=[‘make’] paths=[‘C:\cygwin64\usr\local\bin’, ‘C:\cygwin64\bin’, ‘C:\Program Files (x86)\Common Files\Oracle\Java\javapath’, ‘C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common’, ‘C:\WINDOWS\system32’, ‘C:\WINDOWS’, ‘C:\WINDOWS\System32\Wbem’, ‘C:\WINDOWS\System32\WindowsPowerShell\v1.0’, ‘C:\Program Files (x86)\Common Files\Acronis\SnapAPI’, ‘C:\Program Files (x86)\Acronis\TrueImageHome’, ‘C:\Program Files (x86)\MHV AVR Tools\bin’, ‘C:\HashiCorp\Vagrant\bin’, ‘C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn’, ‘C:\Program Files (x86)\QuickTime\QTSystem’, ‘C:\Program Files\IDM Computer Solutions\UltraEdit’, ‘C:\Program Files (x86)\Common Files\Acronis\VirtualFile’, ‘C:\Program Files (x86)\Common Files\Acronis\VirtualFile64’, ‘C:\WINDOWS\System32\OpenSSH’, ‘C:\Program Files (x86)\MAVProxy’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python38’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python38\Scripts’, ‘C:\Program Files\Git\cmd’, ‘C:\Program Files (x86)\GNU Tools ARM Embedded\6 2017-q2-update\bin’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python38’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python38\Scripts’, ‘C:\Users\Jim Calvert\AppData\Local\Microsoft\WindowsApps’, ‘C:\Users\Jim Calvert\AppData\Local\GitHubDesktop\bin’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python37-32\Scripts’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python37-32’] var=‘MAKE’ -> [‘C:\cygwin64\bin\make.exe’]
Checking for program ‘arm-none-eabi-objcopy’
C:\Program Files (x86)\GNU Tools ARM Embedded\6 2017-q2-update\bin\arm-none-eabi-objcopy.exe
find program=[‘arm-none-eabi-objcopy’] paths=[‘C:\cygwin64\usr\local\bin’, ‘C:\cygwin64\bin’, ‘C:\Program Files (x86)\Common Files\Oracle\Java\javapath’, ‘C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common’, ‘C:\WINDOWS\system32’, ‘C:\WINDOWS’, ‘C:\WINDOWS\System32\Wbem’, ‘C:\WINDOWS\System32\WindowsPowerShell\v1.0’, ‘C:\Program Files (x86)\Common Files\Acronis\SnapAPI’, ‘C:\Program Files (x86)\Acronis\TrueImageHome’, ‘C:\Program Files (x86)\MHV AVR Tools\bin’, ‘C:\HashiCorp\Vagrant\bin’, ‘C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn’, ‘C:\Program Files (x86)\QuickTime\QTSystem’, ‘C:\Program Files\IDM Computer Solutions\UltraEdit’, ‘C:\Program Files (x86)\Common Files\Acronis\VirtualFile’, ‘C:\Program Files (x86)\Common Files\Acronis\VirtualFile64’, ‘C:\WINDOWS\System32\OpenSSH’, ‘C:\Program Files (x86)\MAVProxy’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python38’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python38\Scripts’, ‘C:\Program Files\Git\cmd’, ‘C:\Program Files (x86)\GNU Tools ARM Embedded\6 2017-q2-update\bin’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python38’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python38\Scripts’, ‘C:\Users\Jim Calvert\AppData\Local\Microsoft\WindowsApps’, ‘C:\Users\Jim Calvert\AppData\Local\GitHubDesktop\bin’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python37-32\Scripts’, ‘C:\Users\Jim Calvert\AppData\Local\Programs\Python\Python37-32’] var=‘OBJCOPY’ -> [‘C:\Program Files (x86)\GNU Tools ARM Embedded\6 2017-q2-update\bin\arm-none-eabi-objcopy.exe’]
from G:\development\thumperdev\ardupilot: Failed to process hwdef.dat ret=1
I have looked all through my path variables etc. with no luck.
As evident, I am new to using waf.
Any clues would be appreciated.
Thanks