MPLAB problem

Thread Starter

MstrKurt

Joined Oct 26, 2013
18
Here is the error:

Main.s: Assembler messages:
Main.s:8: Error: can't open p33fxxxx.inc for reading
make[2]: *** [build/default/production/Main.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
"F:\Programs\Microchip\MPLabX IDE\bin\pic30-elf-as.exe" Main.s -o build/default/production/Main.o -omf=elf -p=33FJ32GP202 -MD build/default/production/Main.o.d
make[2]: Leaving directory `C:/Users/Kurt/MPLABXProjects/Major_Project.X'
make[1]: Leaving directory `C:/Users/Kurt/MPLABXProjects/Major_Project.X'

BUILD FAILED (exit value 2, total time: 352ms)

I've had to change a lot of settings to narrow it down to this as it originally had quite a lot of problems. I posted on the microchip forums for advice but nobody replied.
 

t06afre

Joined May 11, 2009
5,934
Here is the error:

Main.s: Assembler messages:
Main.s:8: Error: can't open p33fxxxx.inc for reading
make[2]: *** [build/default/production/Main.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
"F:\Programs\Microchip\MPLabX IDE\bin\pic30-elf-as.exe" Main.s -o build/default/production/Main.o -omf=elf -p=33FJ32GP202 -MD build/default/production/Main.o.d
make[2]: Leaving directory `C:/Users/Kurt/MPLABXProjects/Major_Project.X'
make[1]: Leaving directory `C:/Users/Kurt/MPLABXProjects/Major_Project.X'

BUILD FAILED (exit value 2, total time: 352ms)

I've had to change a lot of settings to narrow it down to this as it originally had quite a lot of problems. I posted on the microchip forums for advice but nobody replied.
Are you running a windows OS or Linux/Mac. Try p33Fxxxx.h (note the capital F). Linux/Mac are capital sensitive;) But do a search to be sure that you have either p33Fxxxx.h or p33fxxxx.h on your system
 

Thread Starter

MstrKurt

Joined Oct 26, 2013
18
Tried Uninstall Reinstall.

Now I'm getting:
F:\Programs\Microchip\MPLabX IDE\bin\bin/pic30-elf-ld.exe:Main.s.00:10: syntax error
make[2]: *** [dist/default/production/MajorProject.X.production.hex] Error 255
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
make[2]: Leaving directory `C:/Users/Kurt/MPLABXProjects/MajorProject.X'
make[1]: Leaving directory `C:/Users/Kurt/MPLABXProjects/MajorProject.X'

BUILD FAILED (exit value 2, total time: 606ms)
 
Top