7h30th3r0n3 / Evil-M5Core2

Evil-M5Project is an innovative tool developed for ethical testing and exploration of WiFi networks. It's compatible with Cardputer, Atoms3, Fire, core2. You can scan, monitor, and interact with WiFi networks in a controlled environment. This project is designed for educational purposes, aiding in understanding network security and vulnerabilities.
https://7h30th3r0n3.fr/
528 stars 51 forks source link

m5stack fire Compilation failed #12

Closed LuckyFishGeek closed 9 months ago

LuckyFishGeek commented 9 months ago

2 `Arduino:1.8.19 (Windows 10), 开发板:"M5Fire, Enabled, Default (2 x 6.5 MB app, 3.6 MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 16MB (128Mb), 1500000, Core 1, Core 1, None, Disabled"

"WiFi.h" 对应多个库

已使用: C:\Users\Administrator\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.1.0\libraries\WiFi

未使用:C:\Program Files (x86)\Arduino\libraries\WiFi

"SD.h" 对应多个库

已使用: C:\Users\Administrator\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.1.0\libraries\SD

未使用:C:\Program Files (x86)\Arduino\libraries\SD

In file included from c:\users\administrator\appdata\local\arduino15\packages\m5stack\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\locale:41,

             from c:\users\administrator\appdata\local\arduino15\packages\m5stack\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\iomanip:43,

             from C:\Users\Administrator\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.1.0\libraries\BLE\src\BLEAddress.cpp:13:

c:\users\administrator\appdata\local\arduino15\packages\m5stack\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\bits\locale_facets_nonio.h:2010:10: fatal error: bits/messages_members.h: No such file or directory

include <bits/messages_members.h>

      ^~~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

exit status 1

`

vassalo commented 9 months ago

Hey, @LuckyFishGeek. I think this is some kind of dependency problem, because it looks to be an internal error on the "BLEAddress.cpp" file from the arduino esp32 library (something like that).

I don't have a M5Stack Fire to run the code, but I managed to compile it in ArduinoIDE to the board. So, could you please double check the steps on the Installation section? If possible, please reinstall all dependencies.

If that doesn't work we can try to use Platformio, because it automatically manages all dependencies for you!

LuckyFishGeek commented 9 months ago

@vassalo Okay, thanks for the help. I'll try it.

7h30th3r0n3 commented 9 months ago

Just see the issue and yeah @vassalo is right, it compile fine on fire on my side and the error seem to be related to dependencies,

Thx for you help @vassalo ❤️