MPLAB problem

Discussion in 'Embedded Systems and Microcontrollers' started by MstrKurt, Nov 27, 2013.

  1. MstrKurt

    Thread Starter New Member

    Oct 26, 2013
    18
    1
    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.
     
  2. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    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
     
  3. atferrari

    AAC Fanatic!

    Jan 6, 2004
    2,644
    759
    Ask their technical support.
     
  4. MstrKurt

    Thread Starter New Member

    Oct 26, 2013
    18
    1
    Yeah running Windows 7 64 bit.
     
  5. MstrKurt

    Thread Starter New Member

    Oct 26, 2013
    18
    1
    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)
     
Loading...