Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
funvill opened this issue May 10, 2019 · 1 comment
Closed

Comments

@funvill
Copy link
Member

funvill commented May 10, 2019

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 ?

@funvill
Copy link
Member Author

funvill commented May 10, 2019

This file is part of the CAS Modbus stack and is not included in this repo. More information about the CAS Modbus stack can be found here https://store.chipkin.com

@funvill funvill closed this as completed May 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant