Hi Everyone,
I recently got a UDB4 and am trying to program it for the first time with a Pickit3. I have been following the "UAV DevBoard: Getting Started with PIC Programming" guide but have been running into problems building the project. First off I hadn't changed the #define in the options.h file. I believe I have fixed that but now am getting the following error:
c:\program files\microchip\mplab c30\bin\bin\..\bin/pic30-coff-ld.exe: cannot find -legacy-libc
Link step failed.
----------------------------------------------------------------------
Release build of project `C:\Documents and Settings\Rich\Desktop\MatrixPilot_3_2_1\MatrixPilot\MatrixPilot-udb4.mcp' failed. Language tool versions: pic30-as.exe v3.31, pic30-gcc.exe v3.31, pic30-ld.exe v3.31, pic30-ar.exe v3.31 Thu Jan 19 10:05:00 2012
----------------------------------------------------------------------
BUILD FAILED
Any Advise?
Thanks in advance for any help!
Replies
I'm building a QuadCopter with an UDB4 also.
I use MPLAB X in Linux, but I can guess you haven't de C30 compiler libraries installed. You need then to compile for de PIC ds33.
Or maybe you need to add the pic30-coff-ld.exe by hand, but it's not usual, in other mplab 8 in windows I tried to compile and I hadn't any problem.