Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Error (718) in MPLAB IDE v8.88

Status
Not open for further replies.

hassanzia

Junior Member level 3
Joined
Nov 24, 2011
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,506
HI I'm using MPLAB IDE 8.88 with a C18 compiler to compile a codes for PIC microcontrollers. My problem is that whenever I try to build a code, it gives the following errors in the output window. (The codes compile correctly, I have used the same codes on friends laptop and they worked perfectly)

0: (718) incompatible intermediate code version; should be 3.2
: 0: (714) bad intermediate code
: 0: (714) bad intermediate code
: 0: (714) bad intermediate code
: 0: (714) bad intermediate code
: 0: (714) bad intermediate code
: 0: (714) bad intermediate code
: 0: (714) bad intermediate code
: 0: (714) bad intermediate code
: 0: (714) bad intermediate code
: 0: (714) bad intermediate code
: 0: (714) bad intermediate code
: 0: (714) bad intermediate code
: 0: (714) bad intermediate code
: 0: (714) bad intermediate code
(908) exit status = 1
(908) exit status = 1
Link step failed.​

The code that generated the above error just contained a #include line and a void main(void) call. Any suggestions as to how I may remove the error?
 

Have you selected C18 as your tool or have you selected some other compiler in mplab? What version of c18 and mplab are you using? Can you post the code?
 

Here's the code I was using

Code:
#include <p18f4550.h>
#include <usart.h>

void main(void)
{
	

}

Yes I have selected C18 as my compiler (via the Project Wizard). I'm using C18 v3.43.
 

It is compiling properly without any errors in my MPLAB C18 Pro v3.44. Try reinstalling C18.
 

Attachments

  • mplab c18.jpg
    mplab c18.jpg
    291 KB · Views: 115
Problem Solved!

Possible Causes :

- Wrong Compiler Selected in the Project Wizard (I also had XC8 compiler installed on my system)
- XC8 compiler interfering with C18 compiler
- C18 compiler not installed properly

Solution :
- Make sure the correct compiler is referenced in the project (C18 for MPLAB IDE and XC8 for MPLAB.x)
- Re-install the compiler(s)

Thanks jayanth for your suggestions.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top