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

Error when building Capture_CSI #3

Open
B-Gayanath opened this issue Mar 17, 2021 · 2 comments
Open

Error when building Capture_CSI #3

B-Gayanath opened this issue Mar 17, 2021 · 2 comments

Comments

@B-Gayanath
Copy link

I got an error when I tried to configure using menuconfig as well as when trying to build the Capture_CSI
Here is the error:
CMake Error at ../../../../tools/cmake/component.cmake:475 (add_library):
Cannot find source file:

C:/esp/esp-idf/examples/get-started/Wi-ESP-master/Capture_CSI/main/scan.c

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
Call Stack (most recent call first):
../../../../tools/cmake/component.cmake:538 (idf_component_register)
main/CMakeLists.txt:4 (register_component)

CMake Error at ../../../../tools/cmake/component.cmake:475 (add_library):
No SOURCES given to target: __idf_main
Call Stack (most recent call first):
../../../../tools/cmake/component.cmake:538 (idf_component_register)
main/CMakeLists.txt:4 (register_component)

CMake Generate step failed. Build files cannot be regenerated correctly.
cmake failed with exit code 1

Could you please help with that?
Thank you in advance.

@2422092593zhangshuo
Copy link

I hava the same problem,could you give me some help?Thank you.

@orkunispir
Copy link

Removing set(COMPONENT_SRCS "scan.c") inside the file Capture_CSI/main/CMakeLists.txt should do the trick.

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

3 participants