Hi,
I installed version 6.20 MPLABX.
Getting this error below:
Keep getting
note: Please reinstall the compiler
Could it be because files are not patched properly.
Could you please reply with steps required to patch properly.
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make -f nbproject/Makefile-default.mk dist/default/production/MPLABXProjects.production.hex
make[2]: Entering directory 'C:/Users/jaikumar/MPLABXProjects'
"H:\Microchip\MPLABX\v6.15\xc8\v2.46\bin\xc8-cc.exe" -mcpu=ATtiny412 -c -x c -D__ATtiny412__ -mdfp="D:/Microchip/MPLABX/v6.20/packs/Microchip/ATtiny_DFP/3.1.260/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "build/default/production/main.o.d" -MT "build/default/production/main.o.d" -MT build/default/production/main.o -o build/default/production/main.o main.c
make[2]: Leaving directory 'C:/Users/jaikumar/MPLABXProjects'
main.c:1:0: warning: Detected corrupt executable file
/*
^
main.c:1:0: note: Please reinstall the compiler
main.c:1:0: warning: Detected corrupt executable file
main.c:1:0: note: Please reinstall the compiler
main.c: In function 'main':
main.c:42:5: error: 'sdfsf' undeclared (first use in this function)
sdfsf
^
main.c:42:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:44:5: error: expected ';' before 'while'
while(1)
^
make[2]: *** [nbproject/Makefile-default.mk:162: build/default/production/main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mcc_generated_files/system/src/protected_io.S:1:0: warning: Detected corrupt executable file
/**
^
mcc_generated_files/system/src/protected_io.S:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/protected_io.S:1:0: warning: Detected corrupt executable file
mcc_generated_files/system/src/protected_io.S:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/config_bits.c:1:0: warning: Detected corrupt executable file
/**
^
mcc_generated_files/system/src/config_bits.c:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/config_bits.c:1:0: warning: Detected corrupt executable file
mcc_generated_files/system/src/config_bits.c:1:0: note: Please reinstall the compiler
make[2]: Entering directory 'C:/Users/jaikumar/MPLABXProjects'
"H:\Microchip\MPLABX\v6.15\xc8\v2.46\bin\xc8-cc.exe" -c -mcpu=ATtiny412 -x assembler-with-cpp -D__ATtiny412__ -mdfp="D:/Microchip/MPLABX/v6.20/packs/Microchip/ATtiny_DFP/3.1.260/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default -gdwarf-3 -mno-const-data-in-progmem -Wa,--defsym=__MPLAB_BUILD=1 -MD -MP -MF "build/default/production/mcc_generated_files/system/src/protected_io.o.d" -MT "build/default/production/mcc_generated_files/system/src/protected_io.o.d" -MT build/default/production/mcc_generated_files/system/src/protected_io.o -o build/default/production/mcc_generated_files/system/src/protected_io.o mcc_generated_files/system/src/protected_io.S
make[2]: Leaving directory 'C:/Users/jaikumar/MPLABXProjects'
make[2]: Entering directory 'C:/Users/jaikumar/MPLABXProjects'
"H:\Microchip\MPLABX\v6.15\xc8\v2.46\bin\xc8-cc.exe" -mcpu=ATtiny412 -c -x c -D__ATtiny412__ -mdfp="D:/Microchip/MPLABX/v6.20/packs/Microchip/ATtiny_DFP/3.1.260/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "build/default/production/mcc_generated_files/system/src/config_bits.o.d" -MT "build/default/production/mcc_generated_files/system/src/config_bits.o.d" -MT build/default/production/mcc_generated_files/system/src/config_bits.o -o build/default/production/mcc_generated_files/system/src/config_bits.o mcc_generated_files/system/src/config_bits.c
make[2]: Leaving directory 'C:/Users/jaikumar/MPLABXProjects'
mcc_generated_files/system/src/system.c:1:0: warning: Detected corrupt executable file
/**
^
mcc_generated_files/system/src/system.c:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/system.c:1:0: warning: Detected corrupt executable file
mcc_generated_files/system/src/system.c:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/clock.c:1:0: warning: Detected corrupt executable file
/**
^
mcc_generated_files/system/src/clock.c:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/clock.c:1:0: warning: Detected corrupt executable file
mcc_generated_files/system/src/clock.c:1:0: note: Please reinstall the compiler
make[2]: Entering directory 'C:/Users/jaikumar/MPLABXProjects'
"H:\Microchip\MPLABX\v6.15\xc8\v2.46\bin\xc8-cc.exe" -mcpu=ATtiny412 -c -x c -D__ATtiny412__ -mdfp="D:/Microchip/MPLABX/v6.20/packs/Microchip/ATtiny_DFP/3.1.260/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "build/default/production/mcc_generated_files/system/src/system.o.d" -MT "build/default/production/mcc_generated_files/system/src/system.o.d" -MT build/default/production/mcc_generated_files/system/src/system.o -o build/default/production/mcc_generated_files/system/src/system.o mcc_generated_files/system/src/system.c
make[2]: Leaving directory 'C:/Users/jaikumar/MPLABXProjects'
make[2]: Entering directory 'C:/Users/jaikumar/MPLABXProjects'
"H:\Microchip\MPLABX\v6.15\xc8\v2.46\bin\xc8-cc.exe" -mcpu=ATtiny412 -c -x c -D__ATtiny412__ -mdfp="D:/Microchip/MPLABX/v6.20/packs/Microchip/ATtiny_DFP/3.1.260/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "build/default/production/mcc_generated_files/system/src/clock.o.d" -MT "build/default/production/mcc_generated_files/system/src/clock.o.d" -MT build/default/production/mcc_generated_files/system/src/clock.o -o build/default/production/mcc_generated_files/system/src/clock.o mcc_generated_files/system/src/clock.c
make[2]: Leaving directory 'C:/Users/jaikumar/MPLABXProjects'
mcc_generated_files/system/src/interrupt.c:1:0: warning: Detected corrupt executable file
/**
^
mcc_generated_files/system/src/interrupt.c:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/interrupt.c:1:0: warning: Detected corrupt executable file
mcc_generated_files/system/src/interrupt.c:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/pins.c:1:0: warning: Detected corrupt executable file
/**
^
mcc_generated_files/system/src/pins.c:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/pins.c:1:0: warning: Detected corrupt executable file
mcc_generated_files/system/src/pins.c:1:0: note: Please reinstall the compiler
make[1]: *** [nbproject/Makefile-default.mk:85: .build-conf] Error 2
make[2]: Entering directory 'C:/Users/jaikumar/MPLABXProjects'
make: *** [nbproject/Makefile-impl.mk:39: .build-impl] Error 2
"H:\Microchip\MPLABX\v6.15\xc8\v2.46\bin\xc8-cc.exe" -mcpu=ATtiny412 -c -x c -D__ATtiny412__ -mdfp="D:/Microchip/MPLABX/v6.20/packs/Microchip/ATtiny_DFP/3.1.260/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "build/default/production/mcc_generated_files/system/src/interrupt.o.d" -MT "build/default/production/mcc_generated_files/system/src/interrupt.o.d" -MT build/default/production/mcc_generated_files/system/src/interrupt.o -o build/default/production/mcc_generated_files/system/src/interrupt.o mcc_generated_files/system/src/interrupt.c
make[2]: Leaving directory 'C:/Users/jaikumar/MPLABXProjects'
make[2]: Entering directory 'C:/Users/jaikumar/MPLABXProjects'
"H:\Microchip\MPLABX\v6.15\xc8\v2.46\bin\xc8-cc.exe" -mcpu=ATtiny412 -c -x c -D__ATtiny412__ -mdfp="D:/Microchip/MPLABX/v6.20/packs/Microchip/ATtiny_DFP/3.1.260/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "build/default/production/mcc_generated_files/system/src/pins.o.d" -MT "build/default/production/mcc_generated_files/system/src/pins.o.d" -MT build/default/production/mcc_generated_files/system/src/pins.o -o build/default/production/mcc_generated_files/system/src/pins.o mcc_generated_files/system/src/pins.c
make[2]: Leaving directory 'C:/Users/jaikumar/MPLABXProjects'
BUILD FAILED (exit value 2, total time: 2s)