PeterStine / SWIM-team-junior-project

Oregon Institute of Technology Junior Project Sequence, Surface Water Information Management System (SWIM)
0 stars 1 forks source link

MPLAB X IDE v5.10 does not consistently build across multiple cloned local repositories #1

Open PeterStine opened 5 years ago

PeterStine commented 5 years ago

CLEAN SUCCESSFUL (total time: 15ms)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/Peter/MPLABXProjects/practice_master_clone_a.X'
make  -f nbproject/Makefile-default.mk dist/default/production/practice_master_clone_a.X.production.hex
make[2]: Entering directory 'C:/Users/Peter/MPLABXProjects/practice_master_clone_a.X'
"C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-g++.exe" -g -x c++ -c -mprocessor=32MZ2048EFG144 -frtti -fexceptions -fno-check-new -fenforce-eh-specs -MMD -MF build/default/production/_ext/1496747010/RTC_Display.o.d -o build/default/production/_ext/1496747010/RTC_Display.o ../../Code/Git/SWIM-team-junior-project/BaseProject.X/RTC-RFM-GFX/RTC/RTC_Display.cpp -DXPRJ_default=default 
"C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-g++.exe" -g -x c -c -mprocessor=32MZ2048EFG144 -MMD -MF build/default/production/_ext/1496757994/tft_master.o.d -o build/default/production/_ext/1496757994/tft_master.o ../../Code/Git/SWIM-team-junior-project/BaseProject.X/RTC-RFM-GFX/GFX/tft_master.c -DXPRJ_default=default 
"C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-g++.exe" -g -x c -c -mprocessor=32MZ2048EFG144 -MMD -MF build/default/production/_ext/1496757994/LCD_Interface.o.d -o build/default/production/_ext/1496757994/LCD_Interface.o ../../Code/Git/SWIM-team-junior-project/BaseProject.X/RTC-RFM-GFX/GFX/LCD_Interface.c -DXPRJ_default=default 
"C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-g++.exe" -g -x c -c -mprocessor=32MZ2048EFG144 -MMD -MF build/default/production/_ext/1496757994/glcdfont.o.d -o build/default/production/_ext/1496757994/glcdfont.o ../../Code/Git/SWIM-team-junior-project/BaseProject.X/RTC-RFM-GFX/GFX/glcdfont.c -DXPRJ_default=default 
"C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-g++.exe" -g -x c++ -c -mprocessor=32MZ2048EFG144 -frtti -fexceptions -fno-check-new -fenforce-eh-specs -MMD -MF build/default/production/_ext/818852930/main.o.d -o build/default/production/_ext/818852930/main.o ../../Code/Git/SWIM-team-junior-project/BaseProject.X/main.cpp -DXPRJ_default=default 
"C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-g++.exe" -c -mprocessor=32MZ2048EFG144 -MMD -MF build/default/production/_ext/886907316/data.o.d -o build/default/production/_ext/886907316/data.o ../../Code/Git/SWIM-team-junior-project/BaseProject.X/RTC-RFM-GFX/data.S -DXPRJ_default=default -Wa,--defsym=__MPLAB_BUILD=1,-MD=build/default/production/_ext/886907316/data.o.asm.d,--gdwarf-2 
"C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-g++.exe" -g -x c -c -mprocessor=32MZ2048EFG144 -MMD -MF build/default/production/_ext/439761817/SPI.o.d -o build/default/production/_ext/439761817/SPI.o ../../Code/Git/SWIM-team-junior-project/BaseProject.X/RTC-RFM-GFX/RFM69/SPI.c -DXPRJ_default=default 
../../Code/Git/SWIM-team-junior-project/BaseProject.X/RTC-RFM-GFX/RTC/RTC2.cpp: In function 'void RTC_HANDLER()':
../../Code/Git/SWIM-team-junior-project/BaseProject.X/RTC-RFM-GFX/RTC/RTC2.cpp:375:1: warning: IPLnSOFT context saving used on a selected '32MZ2048EFG144' device with 8 Shadow Register Sets, consider IPLnSRS
 [enabled by default]
 }
 ^
"C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-g++.exe" -g -x c -c -mprocessor=32MZ2048EFG144 -MMD -MF build/default/production/_ext/1496757994/tft_gfx.o.d -o build/default/production/_ext/1496757994/tft_gfx.o ../../Code/Git/SWIM-team-junior-project/BaseProject.X/RTC-RFM-GFX/GFX/tft_gfx.c -DXPRJ_default=default 
"C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-g++.exe" -g -x c++ -c -mprocessor=32MZ2048EFG144 -frtti -fexceptions -fno-check-new -fenforce-eh-specs -MMD -MF build/default/production/_ext/439761817/RFM69_ATC.o.d -o build/default/production/_ext/439761817/RFM69_ATC.o ../../Code/Git/SWIM-team-junior-project/BaseProject.X/RTC-RFM-GFX/RFM69/RFM69_ATC.cpp -DXPRJ_default=default 
"C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-g++.exe" -g -x c++ -c -mprocessor=32MZ2048EFG144 -frtti -fexceptions -fno-check-new -fenforce-eh-specs -MMD -MF build/default/production/_ext/439761817/RFM69.o.d -o build/default/production/_ext/439761817/RFM69.o ../../Code/Git/SWIM-team-junior-project/BaseProject.X/RTC-RFM-GFX/RFM69/RFM69.cpp -DXPRJ_default=default 
../../Code/Git/SWIM-team-junior-project/BaseProject.X/RTC-RFM-GFX/RFM69/RF_Master.cpp: In function 'void RXISR()':
../../Code/Git/SWIM-team-junior-project/BaseProject.X/RTC-RFM-GFX/RFM69/RF_Master.cpp:68:1: warning: IPLnSOFT context saving used on a selected '32MZ2048EFG144' device with 8 Shadow Register Sets, consider IPLnSRS
 [enabled by default]
 }
 ^
"C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-g++.exe" -g -x c++ -c -mprocessor=32MZ2048EFG144 -frtti -fexceptions -fno-check-new -fenforce-eh-specs -MMD -MF build/default/production/_ext/1496747010/RTC2.o.d -o build/default/production/_ext/1496747010/RTC2.o ../../Code/Git/SWIM-team-junior-project/BaseProject.X/RTC-RFM-GFX/RTC/RTC2.cpp -DXPRJ_default=default 
"C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-g++.exe" -g -x c++ -c -mprocessor=32MZ2048EFG144 -frtti -fexceptions -fno-check-new -fenforce-eh-specs -MMD -MF build/default/production/_ext/439761817/RF_Master.o.d -o build/default/production/_ext/439761817/RF_Master.o ../../Code/Git/SWIM-team-junior-project/BaseProject.X/RTC-RFM-GFX/RFM69/RF_Master.cpp -DXPRJ_default=default 
"C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-g++.exe"   -mprocessor=32MZ2048EFG144  -o dist/default/production/practice_master_clone_a.X.production.elf build/default/production/_ext/1496757994/glcdfont.o build/default/production/_ext/1496757994/LCD_Interface.o build/default/production/_ext/1496757994/tft_gfx.o build/default/production/_ext/1496757994/tft_master.o build/default/production/_ext/439761817/SPI.o build/default/production/_ext/439761817/RFM69.o build/default/production/_ext/439761817/RFM69_ATC.o build/default/production/_ext/439761817/RF_Master.o build/default/production/_ext/1496747010/RTC2.o build/default/production/_ext/1496747010/RTC_Display.o build/default/production/_ext/886907316/data.o build/default/production/_ext/818852930/main.o          -DXPRJ_default=default    -Wl,--defsym=__MPLAB_BUILD=1,--defsym=_min_heap_size=2048,--defsym=_min_stack_size=2048,--no-code-in-dinit,--no-dinit-in-serial-mem,-Map="dist/default/production/practice_master_clone_a.X.production.map",--memorysummary,dist/default/production/memoryfile.xml
nbproject/Makefile-default.mk:273: recipe for target 'dist/default/production/practice_master_clone_a.X.production.hex' failed
make[2]: Leaving directory 'C:/Users/Peter/MPLABXProjects/practice_master_clone_a.X'
nbproject/Makefile-default.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/Peter/MPLABXProjects/practice_master_clone_a.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
build/default/production/_ext/1496747010/RTC_Display.o: In function `lcd_time_init()':
c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc_display.cpp:7: multiple definition of `_width'
build/default/production/_ext/1496747010/RTC2.o:c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc2.cpp:32: first defined here
build/default/production/_ext/1496747010/RTC_Display.o: In function `lcd_time_init()':
c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc_display.cpp:7: multiple definition of `_height'
build/default/production/_ext/1496747010/RTC2.o:c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc2.cpp:32: first defined here
build/default/production/_ext/1496747010/RTC_Display.o: In function `lcd_time_init()':
c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc_display.cpp:7: multiple definition of `cursor_y'
build/default/production/_ext/1496747010/RTC2.o:c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc2.cpp:32: first defined here
build/default/production/_ext/1496747010/RTC_Display.o: In function `lcd_time_init()':
c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc_display.cpp:7: multiple definition of `cursor_x'
build/default/production/_ext/1496747010/RTC2.o:c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc2.cpp:32: first defined here
build/default/production/_ext/1496747010/RTC_Display.o: In function `lcd_time_init()':
c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc_display.cpp:7: multiple definition of `textsize'
build/default/production/_ext/1496747010/RTC2.o:c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc2.cpp:32: first defined here
build/default/production/_ext/1496747010/RTC_Display.o: In function `lcd_time_init()':
c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc_display.cpp:7: multiple definition of `textcolor'
build/default/production/_ext/1496747010/RTC2.o:c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc2.cpp:32: first defined here
build/default/production/_ext/1496747010/RTC_Display.o: In function `lcd_time_init()':
c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc_display.cpp:7: multiple definition of `textbgcolor'
build/default/production/_ext/1496747010/RTC2.o:c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc2.cpp:32: first defined here
build/default/production/_ext/1496747010/RTC_Display.o: In function `lcd_time_init()':
c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc_display.cpp:7: multiple definition of `wrap'
build/default/production/_ext/1496747010/RTC2.o:c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc2.cpp:32: first defined here
build/default/production/_ext/1496747010/RTC_Display.o: In function `lcd_time_init()':
c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc_display.cpp:12: multiple definition of `rotation'
build/default/production/_ext/1496747010/RTC2.o:c:/users/peter/code/git/swim-team-junior-project/baseproject.x/rtc-rfm-gfx/rtc/rtc2.cpp:33: first defined here
c:\program files (x86)\microchip\xc32\v2.15\bin\bin\gcc\pic32mx\4.8.3\..\..\..\..\bin/pic32m-ld.exe: Link terminated due to previous error(s).
collect2.exe: error: ld returned 255 exit status
make[2]: *** [dist/default/production/practice_master_clone_a.X.production.hex] Error 255
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 6s)
PeterStine commented 5 years ago

It is possible that using MPlabX v5.10 and MPlabX v5.05 could be causing issues. Some installations of the XC32 compiler were also not uniform across all computers that have cloned the repository