Your project might have gotten messed up during the experimentation. Can you try building a fresh copy now that you have the right compiler?
On Jan 18, 2017 11:49 PM, <[email protected]> wrote: > Hello Ytai, > I'm attempting to use MPLAB X v3.50 with xc16 compiler V1.30. The > individual sub projects, such as usb, adb, btstack, conn compile fine, but > I cannot build the app_layer_v1 it is giving the error: > make -f nbproject/Makefile-IOIO0030.mk SUBPROJECTS= .build-conf > make[1]: Entering directory 'C:/Users/parkzap-dev1/Desktop/krishna/ioio-master > (1)/ioio-master/firmware/app_layer_v1' > make -f nbproject/Makefile-IOIO0030.mk dist/IOIO0030/production/app_ > layer_v1.production.hex > make[2]: Entering directory 'C:/Users/parkzap-dev1/Desktop/krishna/ioio-master > (1)/ioio-master/firmware/app_layer_v1' > "C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe" > ../common/byte_queue.c -o > build/IOIO0030/production/_ext/1270477542/byte_queue.o > -c -mcpu=24FJ256DA206 -MMD -MF "build/IOIO0030/production/_ > ext/1270477542/byte_queue.o.d" -mno-eds-warn -g -omf=elf > -DXPRJ_IOIO0030=IOIO0030 -no-legacy-libc -fno-short-double -O3 -I"." > -I".." -I"../microchip/include" -I"../common" -DPLATFORM=1030 -DNDEBUG > -msmart-io=1 -Wall -msfr-warn=off -std=gnu99 > "C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe" > ../microchip/common/uart2.c -o > build/IOIO0030/production/_ext/1537399865/uart2.o > -c -mcpu=24FJ256DA206 -MMD -MF > "build/IOIO0030/production/_ext/1537399865/uart2.o.d" > -mno-eds-warn -g -omf=elf -DXPRJ_IOIO0030=IOIO0030 -no-legacy-libc > -fno-short-double -O3 -I"." -I".." -I"../microchip/include" -I"../common" > -DPLATFORM=1030 -DNDEBUG -msmart-io=1 -Wall -msfr-warn=off -std=gnu99 > "C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe" adc.c > -o build/IOIO0030/production/adc.o -c -mcpu=24FJ256DA206 -MMD -MF > "build/IOIO0030/production/adc.o.d" -mno-eds-warn -g -omf=elf > -DXPRJ_IOIO0030=IOIO0030 -no-legacy-libc -fno-short-double -O3 -I"." > -I".." -I"../microchip/include" -I"../common" -DPLATFORM=1030 -DNDEBUG > -msmart-io=1 -Wall -msfr-warn=off -std=gnu99 > "C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe" > digital.c -o build/IOIO0030/production/digital.o -c -mcpu=24FJ256DA206 > -MMD -MF "build/IOIO0030/production/digital.o.d" -mno-eds-warn -g > -omf=elf -DXPRJ_IOIO0030=IOIO0030 -no-legacy-libc -fno-short-double -O3 > -I"." -I".." -I"../microchip/include" -I"../common" -DPLATFORM=1030 > -DNDEBUG -msmart-io=1 -Wall -msfr-warn=off -std=gnu99 > "C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe" > features.c -o build/IOIO0030/production/features.o -c > -mcpu=24FJ256DA206 -MMD -MF "build/IOIO0030/production/features.o.d" > -mno-eds-warn -g -omf=elf -DXPRJ_IOIO0030=IOIO0030 -no-legacy-libc > -fno-short-double -O3 -I"." -I".." -I"../microchip/include" -I"../common" > -DPLATFORM=1030 -DNDEBUG -msmart-io=1 -Wall -msfr-warn=off -std=gnu99 > "C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe" > ../common/logging.c -o build/IOIO0030/production/_ext/1270477542/logging.o > -c -mcpu=24FJ256DA206 -MMD -MF "build/IOIO0030/production/_ > ext/1270477542/logging.o.d" -mno-eds-warn -g -omf=elf > -DXPRJ_IOIO0030=IOIO0030 -no-legacy-libc -fno-short-double -O3 -I"." > -I".." -I"../microchip/include" -I"../common" -DPLATFORM=1030 -DNDEBUG > -msmart-io=1 -Wall -msfr-warn=off -std=gnu99 > "C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe" i2c.c > -o build/IOIO0030/production/i2c.o -c -mcpu=24FJ256DA206 -MMD -MF > "build/IOIO0030/production/i2c.o.d" -mno-eds-warn -g -omf=elf > -DXPRJ_IOIO0030=IOIO0030 -no-legacy-libc -fno-short-double -O3 -I"." > -I".." -I"../microchip/include" -I"../common" -DPLATFORM=1030 -DNDEBUG > -msmart-io=1 -Wall -msfr-warn=off -std=gnu99 > "C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe" icsp.c > -o build/IOIO0030/production/icsp.o -c -mcpu=24FJ256DA206 -MMD -MF > "build/IOIO0030/production/icsp.o.d" -mno-eds-warn -g -omf=elf > -DXPRJ_IOIO0030=IOIO0030 -no-legacy-libc -fno-short-double -O3 -I"." > -I".." -I"../microchip/include" -I"../common" -DPLATFORM=1030 -DNDEBUG > -msmart-io=1 -Wall -msfr-warn=off -std=gnu99 > Options have been disabled due to restricted license > Visit http://www.microchip.com/ to purchase a new key. > Options have been disabled due to restricted license > Visit http://www.microchip.com/ to purchase a new key. > In file included from i2c.c:36:0: > ../common/platform.h:104:6: error: #error Platform and MCU mismatch - > expecting PIC24FJ256GB206 > Options have been disabled due to restricted license > Visit http://www.microchip.com/ to purchase a new key. > Options have been disabled due to restricted license > Visit http://www.microchip.com/ to purchase a new key. > In file included from pins.h:33:0, > from features.c:35: > ../common/platform.h:104:6: error: #error Platform and MCU mismatch - > expecting PIC24FJ256GB206 > Options have been disabled due to restricted license > Visit http://www.microchip.com/ to purchase a new key. > ../common/logging.c:33:17: fatal error: PPS.h: No such file or directory > compilation terminated. > nbproject/Makefile-IOIO0030.mk:261: recipe for target > 'build/IOIO0030/production/i2c.o' failed > make[2]: *** [build/IOIO0030/production/i2c.o] Error 255 > make[2]: *** Waiting for unfinished jobs.... > Options have been disabled due to restricted license > Visit http://www.microchip.com/ to purchase a new key. > In file included from pins.h:33:0, > from adc.c:41: > ../common/platform.h:104:6: error: #error Platform and MCU mismatch - > expecting PIC24FJ256GB206 > nbproject/Makefile-IOIO0030.mk:219: recipe for target > 'build/IOIO0030/production/_ext/1270477542/logging.o' failed > make[2]: *** [build/IOIO0030/production/_ext/1270477542/logging.o] Error > 255 > Options have been disabled due to restricted license > Visit http://www.microchip.com/ to purchase a new key. > In file included from pins.h:33:0, > from digital.c:33: > ../common/platform.h:104:6: error: #error Platform and MCU mismatch - > expecting PIC24FJ256GB206 > make[2]: *** [build/IOIO0030/production/features.o] Error 255 > nbproject/Makefile-IOIO0030.mk:254: recipe for target > 'build/IOIO0030/production/features.o' failed > nbproject/Makefile-IOIO0030.mk:240: recipe for target > 'build/IOIO0030/production/adc.o' failed > make[2]: *** [build/IOIO0030/production/adc.o] Error 255 > nbproject/Makefile-IOIO0030.mk:247: recipe for target > 'build/IOIO0030/production/digital.o' failed > make[2]: *** [build/IOIO0030/production/digital.o] Error 255 > Options have been disabled due to restricted license > Visit http://www.microchip.com/ to purchase a new key. > In file included from pins.h:33:0, > from icsp.c:33: > ../common/platform.h:104:6: error: #error Platform and MCU mismatch - > expecting PIC24FJ256GB206 > nbproject/Makefile-IOIO0030.mk:268: recipe for target > 'build/IOIO0030/production/icsp.o' failed > make[2]: *** [build/IOIO0030/production/icsp.o] Error 255 > make[1]: *** [.build-conf] Error 2 > make: *** [.build-impl] Error 2 > make[2]: Leaving directory 'C:/Users/parkzap-dev1/Desktop/krishna/ioio-master > (1)/ioio-master/firmware/app_layer_v1' > nbproject/Makefile-IOIO0030.mk:84: recipe for target '.build-conf' failed > make[1]: Leaving directory 'C:/Users/parkzap-dev1/Desktop/krishna/ioio-master > (1)/ioio-master/firmware/app_layer_v1' > nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed > > BUILD FAILED (exit value 2, total time: 6s) > > I am using window 10 to build. > Initially I was using c30 v3.31 compiler and getting the error to compile > lib* sub projects also that's why I switched to xc16 compiler > > initially error was: > make -f nbproject/Makefile-PIC24FJ256DA206.mk SUBPROJECTS= .build-conf > make[1]: Entering directory 'C:/Users/parkzap-dev1/Desktop/krishna/ioio-master > (1)/ioio-master/firmware/libadb' > make -f nbproject/Makefile-PIC24FJ256DA206.mk dist/PIC24FJ256DA206/ > production/libadb.a > make[2]: Entering directory 'C:/Users/parkzap-dev1/Desktop/krishna/ioio-master > (1)/ioio-master/firmware/libadb' > C:\Users\PARKZA~2\AppData\Local\Temp/ccNiW4mR.s: Assembler messages: > "C:\Program Files (x86)\Microchip\mplabc30\v3.31\bin\pic30-gcc.exe" -g > -omf=elf -x c -c -mcpu=24FJ256DA206 -ffunction-sections -Wall -DNDEBUG > -DUSB_SUPPORT_HOST -I. -I../common -I../libusb -I../microchip/include > -mlarge-data -mconst-in-data -Os -MMD -MF > build/PIC24FJ256DA206/production/adb_file.o.d > -o build/PIC24FJ256DA206/production/adb_file.o adb_file.c > C:\Users\PARKZA~2\AppData\Local\Temp/ccNiW4mR.s:3318: Error: operation > combines symbols in different segments > "C:\Program Files (x86)\Microchip\mplabc30\v3.31\bin\pic30-gcc.exe" -g > -omf=elf -x c -c -mcpu=24FJ256DA206 -ffunction-sections -Wall -DNDEBUG > -DUSB_SUPPORT_HOST -I. -I../common -I../libusb -I../microchip/include > -mlarge-data -mconst-in-data -Os -MMD -MF > build/PIC24FJ256DA206/production/adb.o.d > -o build/PIC24FJ256DA206/production/adb.o adb.c > C:\Users\PARKZA~2\AppData\Local\Temp/ccNiW4mR.s:3319: Error: operation > combines symbols in different segments > nbproject/Makefile-PIC24FJ256DA206.mk:126: recipe for target > 'build/PIC24FJ256DA206/production/adb.o' failed > C:\Users\PARKZA~2\AppData\Local\Temp/ccNiW4mR.s:3320: Error: operation > combines symbols in different segments > "C:\Program Files (x86)\Microchip\mplabc30\v3.31\bin\pic30-gcc.exe" -g > -omf=elf -x c -c -mcpu=24FJ256DA206 -ffunction-sections -Wall -DNDEBUG > -DUSB_SUPPORT_HOST -I. -I../common -I../libusb -I../microchip/include > -mlarge-data -mconst-in-data -Os -MMD -MF > build/PIC24FJ256DA206/production/adb_packet.o.d > -o build/PIC24FJ256DA206/production/adb_packet.o adb_packet.c > C:\Users\PARKZA~2\AppData\Local\Temp/ccNiW4mR.s:3321: Error: operation > combines symbols in different segments > make[2]: Leaving directory 'C:/Users/parkzap-dev1/Desktop/krishna/ioio-master > (1)/ioio-master/firmware/libadb' > make[2]: *** [build/PIC24FJ256DA206/production/adb.o] Error 1 > nbproject/Makefile-PIC24FJ256DA206.mk:84: recipe for target '.build-conf' > failed > make[2]: *** Waiting for unfinished jobs.... > make[1]: Leaving directory 'C:/Users/parkzap-dev1/Desktop/krishna/ioio-master > (1)/ioio-master/firmware/libadb' > nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed > make[1]: *** [.build-conf] Error 2 > make: *** [.build-impl] Error 2 > > BUILD FAILED (exit value 2, total time: 2s) > > thank you very much! >> >> >> >> -- > 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 https://groups.google.com/group/ioio-users. > For more options, visit https://groups.google.com/d/optout. > -- 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 https://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
