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 on build wih idf.py #93

Open
daklon1 opened this issue Apr 18, 2024 · 2 comments
Open

error on build wih idf.py #93

daklon1 opened this issue Apr 18, 2024 · 2 comments

Comments

@daklon1
Copy link

daklon1 commented Apr 18, 2024

idf.py build output -
Compilation failed because wsl_bypasser.h (in "wsl_bypasser" component) includes esp_wifi_types.h, provided by esp_wifi component(s).
However, esp_wifi component(s) is not in the requirements list of "wsl_bypasser".
To fix this, add esp_wifi to REQUIRES list of idf_component_register call in /home/user/Desktop/esp32-wifi-penetration-tool/components/wsl_bypasser/CMakeLists.txt.
please help

@zanderp
Copy link

zanderp commented Jul 12, 2024

idf_component_register(
    SRCS "wsl_bypasser.c"
    INCLUDE_DIRS "interface"
    REQUIRES "esp_event" "esp_wifi"
)
target_link_libraries(${COMPONENT_LIB} -Wl,-zmuldefs)

@zanderp
Copy link

zanderp commented Jul 12, 2024

https://github.com/risinek/esp32-wifi-penetration-tool/pull/61/files

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

2 participants