Skip to content

Can't build the project. *CASModbusAdapter.h: No such file or directory* #1

@funvill

Description

@funvill

When compiling the project using Visual studios Code with Platform.io I get the following error message.

Error message:

src\main.cpp:26:57: fatal error: ..\lib\casmodbusstack\CASModbusAdapter.h: No such file or directory

Full build output:

Processing featheresp32 (platform: espressif32; board: featheresp32; framework: arduino)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/featheresp32.html
PLATFORM: Espressif 32 > Adafruit ESP32 Feather
HARDWARE: ESP32 240MHz 320KB RAM (4MB Flash)
DEBUG: CURRENT(esp-prog) EXTERNAL(esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF MODES: FINDER(chain) COMPATIBILITY(soft)
Collected 26 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <WiFi> 1.0
Compiling .pioenvs\featheresp32\src\main.cpp.o
Generating partitions .pioenvs\featheresp32\partitions.bin
Compiling .pioenvs\featheresp32\lib152\WiFi\ETH.cpp.o
Compiling .pioenvs\featheresp32\lib152\WiFi\WiFi.cpp.o
Compiling .pioenvs\featheresp32\lib152\WiFi\WiFiAP.cpp.o
src\main.cpp:25:65: fatal error: CASModbusAdapter.h: No such file or directory

**************************************************************************
* Looking for CASModbusAdapter.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:CASModbusAdapter.h"
* Web  > https://platformio.org/lib/search?query=header:CASModbusAdapter.h
*
**************************************************************************

compilation terminated.
*** [.pioenvs\featheresp32\src\main.cpp.o] Error 1
=================== [ERROR] Took 7.56 seconds =============================================
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

Where do I get the ..\lib\casmodbusstack\CASModbusAdapter.h file ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions