Open GoogleCodeExporter opened 8 years ago
The default config is now for Windows based PCs.
Edit the makefile located here:
http://code.google.com/p/megapirateng/source/browse/beta/2.9.1/ArduCopter/Makefi
le
and remove "cygwin." from the file name in line 1
include ../libraries/AP_Common/Arduino.cygwin.mk
>>>
include ../libraries/AP_Common/Arduino.mk
This way you will be back to the old makefile for Linux
Original comment by pa...@kulma.pl
on 19 Mar 2013 at 2:56
I will try to add automatic system discovery to the makefile .....
Original comment by pa...@kulma.pl
on 19 Mar 2013 at 2:57
Sorry I did not saw the patch you send.
But first part should solve the problem
-include ../libraries/AP_Common/Arduino.cygwin.mk
+include ../libraries/AP_Common/Arduino.mk
Original comment by pa...@kulma.pl
on 19 Mar 2013 at 3:00
To support both Cygwin and "generic" Unix-like system it might be enough to
apply my patch and then replace 1st line of .../2.9.1/ArduCopter/Makefile with:
ifneq ($(findstring CYGWIN, $(SYSTYPE)),)
include ../libraries/AP_Common/Arduino.cygwin.mk
else
include ../libraries/AP_Common/Arduino.mk
endif
Original comment by krzyszto...@gmail.com
on 19 Mar 2013 at 3:15
Sure, test this procedure and let me know if it works.
Original comment by pa...@kulma.pl
on 19 Mar 2013 at 3:20
ifneq ($(findstring CYGWIN, $(SYSTYPE)),)
include ../libraries/AP_Common/Arduino.cygwin.mk
else
include ../libraries/AP_Common/Arduino.mk
endif
is not working on Windows ......
Original comment by pa...@kulma.pl
on 20 Mar 2013 at 9:45
SYSTYPE is CYGWIN_NT-6.1-WOW64
Original comment by pa...@kulma.pl
on 20 Mar 2013 at 9:51
Looks like I forgot setting SYSTYPE in Makefile. Attached fixed patch. Tested
under Cygwin and Ubuntu.
Original comment by krzyszto...@gmail.com
on 20 Mar 2013 at 12:16
Attachments:
test it under poor windows prompt as well, that's where it should work:
Linux,Cygwin Terminal, Windows Prompt
Original comment by pa...@kulma.pl
on 20 Mar 2013 at 12:27
It does. Just need to have cygwin's bin folder in PATH.
Original comment by krzyszto...@gmail.com
on 20 Mar 2013 at 1:00
Nice ... will test it a little later, I am busy on other issue ....
Original comment by pa...@kulma.pl
on 20 Mar 2013 at 1:06
Original issue reported on code.google.com by
krzyszto...@gmail.com
on 18 Mar 2013 at 8:32Attachments: