• AVR Freaks

Hot!recipe for target '.build-conf' failed

Author
mark42
New Member
  • Total Posts : 10
  • Reward points : 0
  • Joined: 2019/08/01 00:02:22
  • Location: 0
  • Status: offline
2019/08/06 06:47:37 (permalink)
0

recipe for target '.build-conf' failed

Hello,
I am trying to port my source code from MPLAB V8.63(c 30 compiler) to MPLAB X V5.15(XC16 compiler)for PIC24 series.My source code is getting compiled in MPLAB 8 but getting the following issues while compiling it in MPLAB  X.
Please help.
 
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'E:/BIPIN/PROJECTS/VTS/vts/IOEXPANDER__FINAL/source_code/Projects/Smart Baton/Workspace/CVTS-Remap-REVE.X'
make -f nbproject/Makefile-default.mk dist/default/production/CVTS-Remap-REVE.X.production.hex
make[2]: Entering directory 'E:/BIPIN/PROJECTS/VTS/vts/IOEXPANDER__FINAL/source_code/Projects/Smart Baton/Workspace/CVTS-Remap-REVE.X'
make[2]: Leaving directory 'E:/BIPIN/PROJECTS/VTS/vts/IOEXPANDER__FINAL/source_code/Projects/Smart Baton/Workspace/CVTS-Remap-REVE.X'
make[2]: *** No rule to make target 'C:/Program Files \(x86\)/Microchip/xc16/v1.36/src/libpic30/crt0_standard.s', needed by 'build/default/production/_ext/1233484607/crt0_standard.o'. Stop.
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
nbproject/Makefile-default.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory 'E:/BIPIN/PROJECTS/VTS/vts/IOEXPANDER__FINAL/source_code/Projects/Smart Baton/Workspace/CVTS-Remap-REVE.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
BUILD FAILED (exit value 2, total time: 431ms)
 
#1

3 Replies Related Threads

    Kushal
    New Member
    • Total Posts : 18
    • Reward points : 0
    • Joined: 2018/06/25 05:51:44
    • Location: 0
    • Status: offline
    Re: recipe for target '.build-conf' failed 2019/08/15 07:26:55 (permalink)
    0
    Hi  Mark,
     
    This build error is due to not selecting any compilers,all you need to do is select the correct compiler and it should work fine.
     
    Thanks
    Kushal
     
     

    Attached Image(s)

    #2
    mark42
    New Member
    • Total Posts : 10
    • Reward points : 0
    • Joined: 2019/08/01 00:02:22
    • Location: 0
    • Status: offline
    Re: recipe for target '.build-conf' failed 2019/08/20 02:27:26 (permalink)
    0
    Hi Kushal,
    I have selected the Compiler XC16 still its not working.just checked.
     
    Thanks
    #3
    Kushal
    New Member
    • Total Posts : 18
    • Reward points : 0
    • Joined: 2018/06/25 05:51:44
    • Location: 0
    • Status: offline
    Re: recipe for target '.build-conf' failed 2019/08/20 05:25:29 (permalink)
    0
    Hi Mark,
     
    Try this method ,delete the .X folder from the project and try importing the MPLAB v8 project and compile again.
    I usually try this method when face the similar problem,not sure whether its the correct method or not but works for me.I had faced this problem with pic16 but had no issue with pic24 however.
     
    Thanks,
    Kushal
    #4
    Jump to:
    © 2019 APG vNext Commercial Version 4.5