Error comes while compiling code Tweet › Forums › MPLAB XC8 Project Discussions › Error comes while compiling code Tagged: error compilation This topic contains 2 replies, has 2 voices, and was last updated by Bitahwa Bindu 6 months, 1 week ago. Log In Register Lost Password Author Posts 18/03/2018 at 10:54 #2981 shouvik_96Participant after I copy the source code given in student companion and build it in xc8 compiler version 1.34 I get an error. I am uploading the screenshot of the error. please respond. the project is automatic temperature control using mplab xc8. This topic was modified 6 months, 1 week ago by shouvik_96. Attachments:You must be logged in to view attached files. 18/03/2018 at 11:14 #2985 shouvik_96Participant just now added the peripheral libraries, build is successful. Can I add the hex file to processor now? Attachments:You must be logged in to view attached files. 18/03/2018 at 12:27 #2987 Bitahwa BinduKeymaster As you have noticed already, the error was ddue to peripheral libraries. IIf the project builds it will generate an HEX that you can use for your microcontroller. Author Posts Log In Register Lost Password You must be logged in to reply to this topic.