I've been backtracking all the header files and include it all in the mplab so I can successfully build the code
This is the error that I got
This is the error that I got
Its in LCD_Lib.cmake -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'D:/BEU/2. BEU30063 MICROPROCESSOR AND MICROCONTROLLER/LAB SHEET/Mini Project/Proteus project/LCD SIGN BOARD/MPLAB Source File/LCD SIGN BOARD.X'
make -f nbproject/Makefile-default.mk dist/default/production/LCD_SIGN_BOARD.X.production.hex
make[2]: Entering directory 'D:/BEU/2. BEU30063 MICROPROCESSOR AND MICROCONTROLLER/LAB SHEET/Mini Project/Proteus project/LCD SIGN BOARD/MPLAB Source File/LCD SIGN BOARD.X'
"C:\Program Files\Microchip\xc8\v2.32\bin\xc8-cc.exe" -mcpu=16F887 -Wl,-Map=dist/default/production/LCD_SIGN_BOARD.X.production.map -DXPRJ_default=default -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="C:/Program Files/Microchip/MPLABX/v5.50/packs/Microchip/PIC16Fxxx_DFP/1.2.33/xc8" -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -msummary=-psect,-class,+mem,-hex,-file -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -std=c99 -gdwarf-3 -mstack=compiled:auto:auto -Wl,--memorysummary,dist/default/production/memoryfile.xml -o dist/default/production/LCD_SIGN_BOARD.X.production.elf "build/default/production/lcd signboard.p1" LCD_Lib.c
::: advisory: (2049) C99 compliant libraries are currently not available for baseline or mid-range devices, or for enhanced mid-range devices using a reentrant stack; using C90 libraries
LCD_Lib.c:45:3: error: use of undeclared identifier 'LCD_RS'
LCD_RS = RS;
^
LCD_Lib.c:46:3: error: use of undeclared identifier 'LCD_D4'
LCD_D4 = n & 0x01;
^
LCD_Lib.c:47:3: error: use of undeclared identifier 'LCD_D5'
LCD_D5 = (n >> 1) & 0x01;
^
LCD_Lib.c:48:3: error: use of undeclared identifier 'LCD_D6'
LCD_D6 = (n >> 2) & 0x01;
^
LCD_Lib.c:49:3: error: use of undeclared identifier 'LCD_D7'
LCD_D7 = (n >> 3) & 0x01;
^
LCD_Lib.c:52:3: error: use of undeclared identifier 'LCD_EN'
LCD_EN = 0;
^
LCD_Lib.c:53:3: warning: implicit declaration of function '__delay_us' is invalid in C99 [-Wimplicit-function-declaration]
__delay_us(1);
^
LCD_Lib.c:54:3: error: use of undeclared identifier 'LCD_EN'
LCD_EN = 1;
^
LCD_Lib.c:56:3: error: use of undeclared identifier 'LCD_EN'
LCD_EN = 0;
^
LCD_Lib.c:66:5: warning: implicit declaration of function '__delay_ms' is invalid in C99 [-Wimplicit-function-declaration]
__delay_ms(2);
^
LCD_Lib.c:110:3: error: use of undeclared identifier 'LCD_RS'
LCD_RS = 0;
^
LCD_Lib.c:111:3: error: use of undeclared identifier 'LCD_EN'
LCD_EN = 0;
^
LCD_Lib.c:112:3: error: use of undeclared identifier 'LCD_D4'
LCD_D4 = 0;
^
LCD_Lib.c:113:3: error: use of undeclared identifier 'LCD_D5'
LCD_D5 = 0;
^
LCD_Lib.c:114:3: error: use of undeclared identifier 'LCD_D6'
LCD_D6 = 0;
^
LCD_Lib.c:115:3: error: use of undeclared identifier 'LCD_D7'
LCD_D7 = 0;
^
LCD_Lib.c:116:3: error: use of undeclared identifier 'LCD_RS_DIR'
LCD_RS_DIR = 0;
^
LCD_Lib.c:117:3: error: use of undeclared identifier 'LCD_EN_DIR'
LCD_EN_DIR = 0;
^
LCD_Lib.c:118:3: error: use of undeclared identifier 'LCD_D4_DIR'
LCD_D4_DIR = 0;
^
LCD_Lib.c:119:3: error: use of undeclared identifier 'LCD_D5_DIR'
LCD_D5_DIR = 0;
^
LCD_Lib.c:120:3: error: use of undeclared identifier 'LCD_D6_DIR'
LCD_D6_DIR = 0;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
(908) exit status = 1
nbproject/Makefile-default.mk:138: recipe for target 'dist/default/production/LCD_SIGN_BOARD.X.production.hex' failed
make[2]: Leaving directory 'D:/BEU/2. BEU30063 MICROPROCESSOR AND MICROCONTROLLER/LAB SHEET/Mini Project/Proteus project/LCD SIGN BOARD/MPLAB Source File/LCD SIGN BOARD.X'
nbproject/Makefile-default.mk:91: recipe for target '.build-conf' failed
make[1]: Leaving directory 'D:/BEU/2. BEU30063 MICROPROCESSOR AND MICROCONTROLLER/LAB SHEET/Mini Project/Proteus project/LCD SIGN BOARD/MPLAB Source File/LCD SIGN BOARD.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make[2]: *** [dist/default/production/LCD_SIGN_BOARD.X.production.hex] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 1s)