Nbproject/Makefile-default.mk:84: recipe for target '.build-conf' failed Make: Leaving directory 'C:/Users/Delfin/Pictures/PIC18F4550 Basics/PWM_code.X' Nbproject/Makefile-default.mk:125: recipe for target 'dist/default/production/PWM_code.X.production.hex' failed #pragma config STVREN = ON, LVP = OFF, ICPRT = OFF, XINST = OFFÄ«ut I get an error message when trying to compile: C:\Program Files (x86)\Microchip\xc8\v1.40\include\pic18f4550.h:4426: error: (1098) conflicting declarations for variable "_TRISCbits" (C:\Program Files (x86)\Microchip\xc8\v1.40\include\pic18f4550.h:3829) #pragma config MCLRE = ON, LPT1OSC = OFF, PBADEN = OFF #pragma config PWRT = OFF, BOR = OFF, VREGEN = OFF #pragma config FOSC = HSPLL_HS, FCMEN = OFF, IESO = OFF #pragma config PLLDIV = 5, CPUDIV = OSC1_PLL2, USBDIV = 2 I am trying to run the most simple example of PWM using a PIC18F4550, XC8 compiler and the libraries plib/timers.h and plib/pwm.h
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |