Le lundi 1 septembre 2014 01:16:08 UTC-4, Ytai a écrit : > > Make sure the directory where the batch file lives is in your PATH. > Thanks for your quick response, I completely forgot to do that, I should have noticed it. Now that this is done, cygwin stays stuck at the same point with this message :
$ tools/make-all clobber all =========================================== libusb =========================================== make: Entering directory '/cygdrive/c/Users/critias/ARP/ioio-master/firmware/libusb' /usr/bin/make SUBPROJECTS= CONF=PIC24FJ256DA206_ADB clean make[1]: Entering directory '/cygdrive/c/Users/critias/ARP/ioio-master/firmware/libusb' /usr/bin/make -f nbproject/Makefile-PIC24FJ256DA206_ADB.mk SUBPROJECTS= .clean-conf make[2]: Entering directory '/cygdrive/c/Users/critias/ARP/ioio-master/firmware/libusb' Under MPLAB-X, all the libraries, the Bootloader and AppLayerV1 build fine. I also tried to do the same thing on Linux. As I could not find a version of the C30 compiler on the internet, I installed XC16 compiler (I read on this forum that it should work even if it produces larger code size). After typing the same command, I have these informations: =========================================== libusb =========================================== make: entrant dans le répertoire « /home/critias/MPLABXProjects/ioio-master/firmware/libusb » make SUBPROJECTS= CONF=PIC24FJ256DA206_ADB build make[1]: entrant dans le répertoire « /home/critias/MPLABXProjects/ioio-master/firmware/libusb » make -f nbproject/Makefile-PIC24FJ256DA206_ADB.mk SUBPROJECTS= .build-conf make[2]: entrant dans le répertoire « /home/critias/MPLABXProjects/ioio-master/firmware/libusb » make -f nbproject/Makefile-PIC24FJ256DA206_ADB.mk dist/PIC24FJ256DA206_ADB/production/libusb.a make[3]: Entering directory '/home/critias/MPLABXProjects/ioio-master/firmware/libusb' "/opt/microchip/xc16/v1.21/bin/xc16-gcc" usb_config.c -o build/PIC24FJ256DA206_ADB/production/usb_config.o -c -mcpu=24FJ256DA206 -MMD -MF "build/PIC24FJ256DA206_ADB/production/usb_config.o.d" -mno-eds-warn -g -omf=coff -ffunction-sections -mlarge-data -mconst-in-data -Os -I"." -I"../microchip/include" -I"../microchip/include/USB" -I"../common" -DDISABLE_BLUETOOTH -DDISABLE_ACCESSORY -DCONFIGURE_UNKNOWN_DEVICE -DNDEBUG -DUSB_SUPPORT_HOST -msmart-io=1 -Wall -msfr-warn=off Options have been disabled due to restricted license Visit http://www.microchip.com/ to purchase a new key. In file included from ../microchip/include/USB/usb_hal.h:101:0, from ../microchip/include/USB/usb.h:130, from usb_config.c:40: ../microchip/include/USB/usb_hal_pic24.h:288:13: warning: 'packed' attribute ignored for field of type 'BYTE' "/opt/microchip/xc16/v1.21/bin/xc16-gcc" ../microchip/usb/usb_host.c -o build/PIC24FJ256DA206_ADB/production/_ext/455219722/usb_host.o -c -mcpu=24FJ256DA206 -MMD -MF "build/PIC24FJ256DA206_ADB/production/_ext/455219722/usb_host.o.d" -mno-eds-warn -g -omf=coff -ffunction-sections -mlarge-data -mconst-in-data -Os -I"." -I"../microchip/include" -I"../microchip/include/USB" -I"../common" -DDISABLE_BLUETOOTH -DDISABLE_ACCESSORY -DCONFIGURE_UNKNOWN_DEVICE -DNDEBUG -DUSB_SUPPORT_HOST -msmart-io=1 -Wall -msfr-warn=off Options have been disabled due to restricted license Visit http://www.microchip.com/ to purchase a new key. In file included from ../microchip/include/USB/usb_hal.h:101:0, from ../microchip/include/USB/usb.h:130, from ../microchip/usb/usb_host.c:73: ../microchip/include/USB/usb_hal_pic24.h:288:13: warning: 'packed' attribute ignored for field of type 'BYTE' "/opt/microchip/xc16/v1.21/bin/xc16-gcc" usb_host_android.c -o build/PIC24FJ256DA206_ADB/production/usb_host_android.o -c -mcpu=24FJ256DA206 -MMD -MF "build/PIC24FJ256DA206_ADB/production/usb_host_android.o.d" -mno-eds-warn -g -omf=coff -ffunction-sections -mlarge-data -mconst-in-data -Os -I"." -I"../microchip/include" -I"../microchip/include/USB" -I"../common" -DDISABLE_BLUETOOTH -DDISABLE_ACCESSORY -DCONFIGURE_UNKNOWN_DEVICE -DNDEBUG -DUSB_SUPPORT_HOST -msmart-io=1 -Wall -msfr-warn=off Options have been disabled due to restricted license Visit http://www.microchip.com/ to purchase a new key. In file included from ../microchip/include/USB/usb_hal.h:101:0, from ../microchip/include/USB/usb.h:130, from usb_host_android.c:34: ../microchip/include/USB/usb_hal_pic24.h:288:13: warning: 'packed' attribute ignored for field of type 'BYTE' "/opt/microchip/xc16/v1.21/bin/xc16-gcc" usb.c -o build/PIC24FJ256DA206_ADB/production/usb.o -c -mcpu=24FJ256DA206 -MMD -MF "build/PIC24FJ256DA206_ADB/production/usb.o.d" -mno-eds-warn -g -omf=coff -ffunction-sections -mlarge-data -mconst-in-data -Os -I"." -I"../microchip/include" -I"../microchip/include/USB" -I"../common" -DDISABLE_BLUETOOTH -DDISABLE_ACCESSORY -DCONFIGURE_UNKNOWN_DEVICE -DNDEBUG -DUSB_SUPPORT_HOST -msmart-io=1 -Wall -msfr-warn=off Options have been disabled due to restricted license Visit http://www.microchip.com/ to purchase a new key. In file included from ../microchip/include/USB/usb_hal.h:101:0, from ../microchip/include/USB/usb.h:130, from usb.c:30: ../microchip/include/USB/usb_hal_pic24.h:288:13: warning: 'packed' attribute ignored for field of type 'BYTE' "/opt/microchip/xc16/v1.21/bin/xc16-gcc" usb_device_dummy.c -o build/PIC24FJ256DA206_ADB/production/usb_device_dummy.o -c -mcpu=24FJ256DA206 -MMD -MF "build/PIC24FJ256DA206_ADB/production/usb_device_dummy.o.d" -mno-eds-warn -g -omf=coff -ffunction-sections -mlarge-data -mconst-in-data -Os -I"." -I"../microchip/include" -I"../microchip/include/USB" -I"../common" -DDISABLE_BLUETOOTH -DDISABLE_ACCESSORY -DCONFIGURE_UNKNOWN_DEVICE -DNDEBUG -DUSB_SUPPORT_HOST -msmart-io=1 -Wall -msfr-warn=off Options have been disabled due to restricted license Visit http://www.microchip.com/ to purchase a new key. In file included from ../microchip/include/USB/usb_hal.h:101:0, from ../microchip/include/USB/usb.h:130, from usb_device_dummy.c:1: ../microchip/include/USB/usb_hal_pic24.h:288:13: warning: 'packed' attribute ignored for field of type 'BYTE' "/opt/microchip/xc16/v1.21/bin/xc16-ar" -omf=coff -r dist/PIC24FJ256DA206_ADB/production/libusb.a build/PIC24FJ256DA206_ADB/production/usb_config.o build/PIC24FJ256DA206_ADB/production/_ext/455219722/usb_host.o build/PIC24FJ256DA206_ADB/production/usb_host_android.o build/PIC24FJ256DA206_ADB/production/usb.o build/PIC24FJ256DA206_ADB/production/usb_device_dummy.o make[3]: Leaving directory '/home/critias/MPLABXProjects/ioio-master/firmware/libusb' make[2]: quittant le répertoire « /home/critias/MPLABXProjects/ioio-master/firmware/libusb » make[1]: quittant le répertoire « /home/critias/MPLABXProjects/ioio-master/firmware/libusb » make SUBPROJECTS= CONF=PIC24FJ128DA106 build make[1]: entrant dans le répertoire « /home/critias/MPLABXProjects/ioio-master/firmware/libusb » make -f nbproject/Makefile-PIC24FJ128DA106.mk SUBPROJECTS= .build-conf make[2]: cmd.exe : commande introuvable make[2]: entrant dans le répertoire « /home/critias/MPLABXProjects/ioio-master/firmware/libusb » make -f nbproject/Makefile-PIC24FJ128DA106.mk dist/PIC24FJ128DA106/production/libusb.a make[2]: cmd.exe : commande introuvable make[2]: *** [.build-conf] Erreur 127 make[2]: quittant le répertoire « /home/critias/MPLABXProjects/ioio-master/firmware/libusb » make[1]: *** [.build-impl] Erreur 2 make[1]: quittant le répertoire « /home/critias/MPLABXProjects/ioio-master/firmware/libusb » make: *** [.all-impl] Erreur 2 make: quittant le répertoire « /home/critias/MPLABXProjects/ioio-master/firmware/libusb » FAILURE Do you think it has something to do with "Options have been disabled due to restricted license" ? By displaying "--debug" informations under cygwin, it says that some files are missing: File 'all' does not exist. File '.all-post' does not exist. File '.all-impl' does not exist. File '.all-pre' does not exist. Must remake target '.all-pre'. Successfully remade target file '.all-pre'. File '.depcheck-impl' does not exist. Must remake target '.depcheck-impl'. Successfully remade target file '.depcheck-impl'. Must remake target '.all-impl'. ... Is this really important? Do you think it can have something to do with my cygwin version or the make version I installed (GNU Make 4.0)? -- You received this message because you are subscribed to the Google Groups "ioio-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
