iotexproject / iotexproject/ioConnect

iotex_dev_access.c:451:9: error: implicit declaration of function 'LowsCalc'

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
9
Forks
2
PR merge metrics
No merged PRs in 30d

Description

software environment: idf.py command line, IDF Visual Studio Code plugin, PlatformIO+espidf, IDF-SDK v5.4.1, v5.3.3

hardware environment: esp32-s3 WROOM1 N16R8

description: attempting to compile the [deviceregister](https://github.com/iotexproject/ioConnect/tree/main/example/esp32/deviceregister) example project by following these instructions: [How to Create a Project on the ESP32 Platform](https://github.com/iotexproject/ioConnect/blob/main/doc/How_to_Create_a_Project_on_the_ESP32_Platform.md).

error:
```
components/ioConnect/src/utils/iotex_dev_access.c: In function 'iotex_dev_access_dev_register_confirm':
components/ioConnect/src/utils/iotex_dev_access.c:451:9: error: implicit declaration of function 'LowsCalc' [-Wimplicit-function-declaration]
451 | LowsCalc(sign_buf + 32, sign_buf + 32);
| ^~~~~~~~
*** [.pio/build/freenove_esp32_s3_wroom/components/ioConnect/src/utils/iotex_dev_access.c.o] Error 1
```

I believe the build failed because LowsCalc() is static, so it is private to LowerS.c, yet it is used in
iotex_dev_access.c. But, I could be totally wrong.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.