Skip to content

Cannot open include file error #52

@lhupfeldt

Description

@lhupfeldt

I'm attempting to build the project using MPLAB X IDE 6.10, but I'm getting the followng error:


EVSE.c:3103:86: warning: (373) implicit signed to unsigned conversion
"/opt/microchip/xc8/v2.41/bin/xc8-cc"  -mcpu=18F26K22 -Wl,-Map=dist/default/production/SmartEVSE2.X.production.map  -DXPRJ_default=default  -Wl,--defsym=__MPLAB_BUILD=1   -mdfp="/home/lhn/.mchp_packs/Microchip/PIC18F-K_DFP/1.1.58/xc8"  -fno-short-double -fno-short-float -memi=wordwrite -mrom=0-FCFB -O3 -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -msummary=-psect,-class,+mem,-hex,-file  -ginhx32 -Wl,--data-init -mno-keep-startup -mno-download -mdefault-config-bits -std=c90 -gdwarf-3 -mstack=compiled:auto:auto:auto      -Wl,--memorysummary,dist/default/production/memoryfile.xml -o dist/default/production/SmartEVSE2.X.production.elf  build/default/production/EVSE.p1 build/default/production/GLCD.p1 build/default/production/bootloader.p1 build/default/production/utils.p1 build/default/production/modbus.p1 build/default/production/OneWire.p1 build/default/production/font2.p1 build/default/production/font.p1     
::: advisory: (2051) the current license does not permit the selected optimization level, using optimization level 2
Non line specific message::: advisory: (1492) using updated 32-bit floating-point libraries; improved accuracy might increase code size
modbus.c:765:: warning: (765) degenerate unsigned comparison
/tmp/xcXLCGDGG/driver_tmp_1.s:8:: error: (140) can't open include file "/home/lhn/.mchp_packs/Microchip/PIC18F-K_DFP/1.1.58/xc8/pic/include/proc/18f26k22.cgen.inc": No such file or directory
/tmp/xcXLCGDGG/driver_tmp_1.s:29758:: error: (800) undefined symbol "tblptrl"
/tmp/xcXLCGDGG/driver_tmp_1.s:29760:: error: (800) undefined symbol "tblptrh"
...

The pack is installed:

 ls -d .mchp_packs/Microchip/PIC18F-K_DFP/1.1.58/xc8/pic/include/
.mchp_packs/Microchip/PIC18F-K_DFP/1.1.58/xc8/pic/include/

but there is no proc in the include dir

I have tried reinstalling the pack, but still no proc.

I successfully built this earlier using 6.05

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions