SpacehuhnTech / esp8266_deauther

Affordable WiFi hacking platform for testing and learning
http://deauther.com
Other
13.55k stars 2.6k forks source link

Error when compiling deauther 1.4 version. #828

Closed Booooozo closed 6 years ago

Booooozo commented 6 years ago

So I downloaded the deauther 1.6 version to make some major changes . But when I compile without making any changes with Arduino it throws back this error which I can't seem to fix.


                 from /Users/macbook/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/SSD1306.h:33,
                 from /Users/macbook/Downloads/esp8266_deauther-v.1.6/esp8266_deauther/esp8266_deauther.ino:28:
/Users/macbook/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:201:10: error:   initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t*)' [-fpermissive]
     void setFont(const uint8_t *fontData);
          ^
exit status 1
invalid conversion from 'const char*' to 'const uint8_t* {aka const unsigned char*}' [-fpermissive]

I even have all the latest libraries installed. Any ideas on how to fix this?

Thanks!
spacehuhn commented 6 years ago

You need a different OLED library version: https://github.com/ThingPulse/esp8266-oled-ssd1306/releases

However, I can't tell you out of the head which version you need because you're using the 1.6 Deauther.

Booooozo commented 6 years ago

Yeah sorry I am actually using the 1.6 version not 1.4

Booooozo commented 6 years ago

@spacehuhn Which version of the library should I use?

Booooozo commented 6 years ago

@spacehuhn Well I am lucky I just installed the 3.2.4 version of the library and it compiled with no problems. Thanks!

tobozo commented 6 years ago

1.6 was probably referring to the hardware version rather than the code version?

Booooozo commented 6 years ago

@tobozo I was referring version 1.6 of your deauther program