Hi,
I soldered the spotify remote kit together and wanted to compile the software from github. After following the manual carefully, I'm still stuck with the following error:
In file included from /
Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.1/cores/esp8266/StreamDev.h:25, from /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.1/libraries/ESP8266WebServer/src/ESP8266WebServer-impl.h:31, from /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.1/libraries/ESP8266WebServer/src/ESP8266WebServer.h:349, from /Users/user/Documents/Arduino/esp8266-spotify-remote-master_2/esp8266-spotify-remote/SpotifyClient.h:28, from /Users/user/Documents/Arduino/esp8266-spotify-remote-master_2/esp8266-spotify-remote/esp8266-spotify-remote.ino:32: /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.1/cores/esp8266/StreamString.h:49:50: error: macro "max" requires 2 arguments, but only 1 given
49 | return std::numeric_limits::max(); | ^ In file included from /Users/user/Documents/Arduino/esp8266-spotify-remote-master_2/esp8266-spotify-remote/esp8266-spotify-remote.ino:28: /Users/user/Documents/Arduino/libraries/Mini_Grafx/src/MiniGrafx.h:79: note: macro "max" defined here 79 | #define max(a,b) ((a)>(b)?(a):(b)) | In file included from /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.1/libraries/ESP8266WebServer/src/ESP8266WebServer-impl.h:31, from /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.1/libraries/ESP8266WebServer/src/ESP8266WebServer.h:349, from /Users/user/Documents/Arduino/esp8266-spotify-remote-master_2/esp8266-spotify-remote/SpotifyClient.h:28, from /Users/user/Documents/Arduino/esp8266-spotify-remote-master_2/esp8266-spotify-remote/esp8266-spotify-remote.ino:32: /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.1/cores/esp8266/StreamDev.h:51:50: error: macro "max" requires 2 arguments, but only 1 given 51 | return std::numeric_limits::max(); | ^ In file included from /Users/user/Documents/Arduino/esp8266-spotify-remote-master_2/esp8266-spotify-remote/esp8266-spotify-remote.ino:28: /Users/user/Documents/Arduino/libraries/Mini_Grafx/src/MiniGrafx.h:79: note: macro "max" defined here 79 | #define max(a,b) ((a)>(b)?(a):(b)) | In file included from /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.1/libraries/ESP8266WebServer/src/ESP8266WebServer-impl.h:31, from /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.1/libraries/ESP8266WebServer/src/ESP8266WebServer.h:349, from /Users/user/Documents/Arduino/esp8266-spotify-remote-master_2/esp8266-spotify-remote/SpotifyClient.h:28, from /Users/user/Documents/Arduino/esp8266-spotify-remote-master_2/esp8266-spotify-remote/esp8266-spotify-remote.ino:32: /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.1/cores/esp8266/StreamDev.h:118:50: error: macro "max" requires 2 arguments, but only 1 given 118 | return std::numeric_limits::max(); | ^ In file included from /Users/user/Documents/Arduino/esp8266-spotify-remote-master_2/esp8266-spotify-remote/esp8266-spotify-remote.ino:28: /Users/user/Documents/Arduino/libraries/Mini_Grafx/src/MiniGrafx.h:79: note: macro "max" defined here 79 | #define max(a,b) ((a)>(b)?(a):(b)) | In file included from /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.1/libraries/ESP8266WebServer/src/ESP8266WebServer-impl.h:31, from /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.1/libraries/ESP8266WebServer/src/ESP8266WebServer.h:349, from /Users/user/Documents/Arduino/esp8266-spotify-remote-master_2/esp8266-spotify-remote/SpotifyClient.h:28, from /Users/user/Documents/Arduino/esp8266-spotify-remote-master_2/esp8266-spotify-remote/esp8266-spotify-remote.ino:32: /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.1/cores/esp8266/StreamDev.h:145:50: error: macro "max" requires 2 arguments, but only 1 given 145 | return std::numeric_limits::max(); | ^ In file included from /Users/user/Documents/Arduino/esp8266-spotify-remote-master_2/esp8266-spotify-remote/esp8266-spotify-remote.ino:28: /Users/user/Documents/Arduino/libraries/Mini_Grafx/src/MiniGrafx.h:79: note: macro "max" defined here 79 | #define max(a,b) ((a)>(b)?(a):(b)) | exit status 1 Compilation error: exit status 1