crankyoldgit / IRremoteESP8266

Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/
GNU Lesser General Public License v2.1
2.99k stars 833 forks source link

Can't compile for ESP32 #1113

Closed Destrutor2 closed 4 years ago

Destrutor2 commented 4 years ago

Version/revision of the library used

2.7.6

  1. I installed the library
  2. installed the dependencies
  3. opened the exemple IRMQTTServer with ArduinoIDE
  4. could compile for ESP8266
  5. couldn't compile for ESP32
  6. tried for few hours (I'm a noob)

I always get this error:

Arduino: 1.8.12 (Mac OS X), Board: "ESP32 FM DevKit, 921600, None"

WARNING: library WiFiManager claims to run on esp8266 architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
WARNING: library ESP8266WiFi claims to run on esp8266 architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
WARNING: library ESP8266WebServer claims to run on esp8266 architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:22:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:32:3: error: stray '\302' in program
   <title>Arduino/user_interface.h at master · esp8266/Arduino · GitHub</title>
   ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:32:3: error: stray '\267' in program
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:32:3: error: stray '\302' in program
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:32:3: error: stray '\267' in program
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:22:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:273:5: error: missing terminating ' character
     <!-- '"" --><!-- </textarea></xmp> --></option></form><form class="js-site-search-form" role="search" aria-label="Site" data-scope-type="Repository" data-scope-id="32969220" data-scoped-search-url="/esp8266/Arduino/search" data-unscoped-search-url="/search" action="/esp8266/Arduino/search" accept-charset="UTF-8" method="get">
     ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:22:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:320:7: error: stray '\342' in program
       <span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>
       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:320:7: error: stray '\206' in program
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:320:7: error: stray '\265' in program
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:325:7: error: stray '\342' in program
       <span class="d-inline-block ml-1 v-align-middle">↵</span>
       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:325:7: error: stray '\206' in program
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:325:7: error: stray '\265' in program
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:22:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:361:7: error: stray '\342' in program
       <span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>
       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:361:7: error: stray '\206' in program
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:361:7: error: stray '\265' in program
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:366:7: error: stray '\342' in program
       <span class="d-inline-block ml-1 v-align-middle">↵</span>
       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:366:7: error: stray '\206' in program
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:366:7: error: stray '\265' in program
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:22:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:393:7: error: stray '\342' in program
       <span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>
       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:393:7: error: stray '\206' in program
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:393:7: error: stray '\265' in program
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:398:7: error: stray '\342' in program
       <span class="d-inline-block ml-1 v-align-middle">↵</span>
       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:398:7: error: stray '\206' in program
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:398:7: error: stray '\265' in program
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:22:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:769:230: error: too many decimal points in number
               <a data-pjax="true" title="add optional espressif fw nonos-sdk 2.2.x (19.03.13) (#5873)" class="link-gray" href="/esp8266/Arduino/commit/a3ea816e65029f0d79bdc19d84971f5de3858b01">add optional espressif fw nonos-sdk 2.2.x (19.03.13) (</a><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="420469127" data-permission-text="Title is private" data-url="https://github.com/esp8266/Arduino/issues/5873" data-hovercard-type="pull_request" data-hovercard-url="/esp8266/Arduino/pull/5873/hovercard" href="https://github.com/esp8266/Arduino/pull/5873">#5873</a><a data-pjax="true" title="add optional espressif fw nonos-sdk 2.2.x (19.03.13) (#5873)" class="link-gray" href="/esp8266/Arduino/commit/a3ea816e65029f0d79bdc19d84971f5de3858b01">)</a>
                                                                                                                                                                                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:769:237: error: too many decimal points in number
               <a data-pjax="true" title="add optional espressif fw nonos-sdk 2.2.x (19.03.13) (#5873)" class="link-gray" href="/esp8266/Arduino/commit/a3ea816e65029f0d79bdc19d84971f5de3858b01">add optional espressif fw nonos-sdk 2.2.x (19.03.13) (</a><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="420469127" data-permission-text="Title is private" data-url="https://github.com/esp8266/Arduino/issues/5873" data-hovercard-type="pull_request" data-hovercard-url="/esp8266/Arduino/pull/5873/hovercard" href="https://github.com/esp8266/Arduino/pull/5873">#5873</a><a data-pjax="true" title="add optional espressif fw nonos-sdk 2.2.x (19.03.13) (#5873)" class="link-gray" href="/esp8266/Arduino/commit/a3ea816e65029f0d79bdc19d84971f5de3858b01">)</a>
                                                                                                                                                                                                                                             ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:22:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:769:590: error: stray '#' in program
               <a data-pjax="true" title="add optional espressif fw nonos-sdk 2.2.x (19.03.13) (#5873)" class="link-gray" href="/esp8266/Arduino/commit/a3ea816e65029f0d79bdc19d84971f5de3858b01">add optional espressif fw nonos-sdk 2.2.x (19.03.13) (</a><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="420469127" data-permission-text="Title is private" data-url="https://github.com/esp8266/Arduino/issues/5873" data-hovercard-type="pull_request" data-hovercard-url="/esp8266/Arduino/pull/5873/hovercard" href="https://github.com/esp8266/Arduino/pull/5873">#5873</a><a data-pjax="true" title="add optional espressif fw nonos-sdk 2.2.x (19.03.13) (#5873)" class="link-gray" href="/esp8266/Arduino/commit/a3ea816e65029f0d79bdc19d84971f5de3858b01">)</a>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:22:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:828:5: error: missing terminating " character
     <div class="Box mt-3 position-relative
     ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:829:7: error: missing terminating " character
       ">
       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:975:70: error: stray '#' in program
         <td id="LC25" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">ifndef</span> __USER_INTERFACE_H__</td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:979:70: error: stray '#' in program
         <td id="LC26" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">__USER_INTERFACE_H__</span></td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:988:70: error: stray '#' in program
         <td id="LC28" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>os_type.h<span class="pl-pds">&quot;</span></span></td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:992:70: error: stray '#' in program
         <td id="LC29" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">ifdef</span> LWIP_OPEN_SRC</td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1001:70: error: stray '#' in program
         <td id="LC31" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>ipv4_addr.h<span class="pl-pds">&quot;</span></span></td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1010:70: error: stray '#' in program
         <td id="LC33" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">else</span></td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1014:70: error: stray '#' in program
         <td id="LC34" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">error</span> LWIP_OPEN_SRC must be defined</td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1018:70: error: stray '#' in program
         <td id="LC35" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">endif</span></td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1027:70: error: stray '#' in program
         <td id="LC37" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>queue.h<span class="pl-pds">&quot;</span></span></td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1031:70: error: stray '#' in program
         <td id="LC38" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>user_config.h<span class="pl-pds">&quot;</span></span></td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1035:70: error: stray '#' in program
         <td id="LC39" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>spi_flash.h<span class="pl-pds">&quot;</span></span></td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1039:70: error: stray '#' in program
         <td id="LC40" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>gpio.h<span class="pl-pds">&quot;</span></span></td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1048:70: error: stray '#' in program
         <td id="LC42" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">ifdef</span> __cplusplus</td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1056:70: error: stray '#' in program
         <td id="LC44" class="blob-code blob-code-inner js-file-line">#endif</td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1065:70: error: stray '#' in program
         <td id="LC46" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">ifndef</span> MAC2STR</td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1069:70: error: stray '#' in program
         <td id="LC47" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">MAC2STR</span>(<span class="pl-v">a</span>) (a)[<span class="pl-c1">0</span>], (a)[<span class="pl-c1">1</span>], (a)[<span class="pl-c1">2</span>], (a)[<span class="pl-c1">3</span>], (a)[<span class="pl-c1">4</span>], (a)[<span class="pl-c1">5</span>]</td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1073:70: error: stray '#' in program
         <td id="LC48" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">MACSTR</span> <span class="pl-s"><span class="pl-pds">&quot;</span>%02x:%02x:%02x:%02x:%02x:%02x<span class="pl-pds">&quot;</span></span></td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1077:70: error: stray '#' in program
         <td id="LC49" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">endif</span></td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1177:70: error: stray '#' in program
         <td id="LC73" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">UPGRADE_FW_BIN1</span>         <span class="pl-c1">0x00</span></td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1181:70: error: stray '#' in program
         <td id="LC74" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">UPGRADE_FW_BIN2</span>         <span class="pl-c1">0x01</span></td>
                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1427:71: error: stray '#' in program
         <td id="LC131" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">SYS_BOOT_ENHANCE_MODE</span>   <span class="pl-c1">0</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1431:71: error: stray '#' in program
         <td id="LC132" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">SYS_BOOT_NORMAL_MODE</span>    <span class="pl-c1">1</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1440:71: error: stray '#' in program
         <td id="LC134" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">SYS_BOOT_NORMAL_BIN</span>     <span class="pl-c1">0</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1444:71: error: stray '#' in program
         <td id="LC135" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">SYS_BOOT_TEST_BIN</span>       <span class="pl-c1">1</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1474:71: error: stray '#' in program
         <td id="LC142" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">SYS_CPU_80MHZ</span>   <span class="pl-c1">80</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1478:71: error: stray '#' in program
         <td id="LC143" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">SYS_CPU_160MHZ</span>  <span class="pl-c1">160</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1630:71: error: stray '#' in program
         <td id="LC179" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">NULL_MODE</span>       <span class="pl-c1">0x00</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1634:71: error: stray '#' in program
         <td id="LC180" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">STATION_MODE</span>    <span class="pl-c1">0x01</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1638:71: error: stray '#' in program
         <td id="LC181" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">SOFTAP_MODE</span>     <span class="pl-c1">0x02</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1642:71: error: stray '#' in program
         <td id="LC182" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">STATIONAP_MODE</span>  <span class="pl-c1">0x03</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1947:71: error: stray '#' in program
         <td id="LC256" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">ifdef</span> NONOSDK3V0</td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1955:71: error: stray '#' in program
         <td id="LC258" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">endif</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:2536:71: error: stray '#' in program
         <td id="LC396" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">STATION_IF</span>      <span class="pl-c1">0x00</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:2540:71: error: stray '#' in program
         <td id="LC397" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">SOFTAP_IF</span>       <span class="pl-c1">0x01</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:2604:71: error: stray '#' in program
         <td id="LC412" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">ESP_U32_DIFF</span>(<span class="pl-v">a, b</span>) (((a) &gt;= (b)) ? ((a) - (b)) : (((a) + ((b) ^ <span class="pl-c1">0xFFFFFFFF</span>) + <span class="pl-c1">1</span>)))</td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:2712:71: error: stray '#' in program
         <td id="LC437" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">ifdef</span> NONOSDK3V0</td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:2768:71: error: stray '#' in program
         <td id="LC450" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">endif</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:3516:71: error: stray '#' in program
         <td id="LC630" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">FIXED_RATE_MASK_NONE</span>    <span class="pl-c1">0x00</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:3520:71: error: stray '#' in program
         <td id="LC631" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">FIXED_RATE_MASK_STA</span>     <span class="pl-c1">0x01</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:3524:71: error: stray '#' in program
         <td id="LC632" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">FIXED_RATE_MASK_AP</span>      <span class="pl-c1">0x02</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:3528:71: error: stray '#' in program
         <td id="LC633" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">FIXED_RATE_MASK_ALL</span>     <span class="pl-c1">0x03</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:3767:71: error: stray '#' in program
         <td id="LC691" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">RC_LIMIT_11B</span>        <span class="pl-c1">0</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:3771:71: error: stray '#' in program
         <td id="LC692" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">RC_LIMIT_11G</span>        <span class="pl-c1">1</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:3775:71: error: stray '#' in program
         <td id="LC693" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">RC_LIMIT_11N</span>        <span class="pl-c1">2</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:3779:71: error: stray '#' in program
         <td id="LC694" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">RC_LIMIT_P2P_11G</span>    <span class="pl-c1">3</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:3783:71: error: stray '#' in program
         <td id="LC695" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">RC_LIMIT_P2P_11N</span>    <span class="pl-c1">4</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:3787:71: error: stray '#' in program
         <td id="LC696" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">RC_LIMIT_NUM</span>        <span class="pl-c1">5</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:3796:71: error: stray '#' in program
         <td id="LC698" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">LIMIT_RATE_MASK_NONE</span>    <span class="pl-c1">0x00</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:3800:71: error: stray '#' in program
         <td id="LC699" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">LIMIT_RATE_MASK_STA</span>     <span class="pl-c1">0x01</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:3804:71: error: stray '#' in program
         <td id="LC700" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">LIMIT_RATE_MASK_AP</span>      <span class="pl-c1">0x02</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:3808:71: error: stray '#' in program
         <td id="LC701" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">LIMIT_RATE_MASK_ALL</span>     <span class="pl-c1">0x03</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:4095:71: error: stray '#' in program
         <td id="LC770" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">ifdef</span> __cplusplus</td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:4103:71: error: stray '#' in program
         <td id="LC772" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">endif</span></td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:4117:71: error: stray '#' in program
         <td id="LC775" class="blob-code blob-code-inner js-file-line">#endif</td>
                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:4152:7: error: missing terminating ' character
       <!-- '"" --><!-- </textarea></xmp> --></option></form><form class="js-jump-to-line-form Box-body d-flex" action="" accept-charset="UTF-8" method="get">
       ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:22:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:4206:5: error: stray '\342' in program
     You can’t perform that action at this time.
     ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:4206:5: error: stray '\200' in program
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:4206:5: error: stray '\231' in program
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:34:6: error: using typedef-name 'HTTPMethod' after 'enum'
 enum HTTPMethod { HTTP_ANY, HTTP_GET, HTTP_HEAD, HTTP_POST, HTTP_PUT, HTTP_PATCH, HTTP_DELETE, HTTP_OPTIONS };
      ^
In file included from /Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/WebServer.h:30:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:345:
/Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/HTTP_Method.h:13:3: note: 'HTTPMethod' has a previous declaration here
 } HTTPMethod;
   ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:34:19: error: redeclaration of 'HTTP_ANY'
 enum HTTPMethod { HTTP_ANY, HTTP_GET, HTTP_HEAD, HTTP_POST, HTTP_PUT, HTTP_PATCH, HTTP_DELETE, HTTP_OPTIONS };
                   ^
In file included from /Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/WebServer.h:30:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:345:
/Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/HTTP_Method.h:12:3: note: previous declaration 'HTTPMethod HTTP_ANY'
   HTTP_ANY     = 0b01111111,
   ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:34:29: error: redeclaration of 'HTTP_GET'
 enum HTTPMethod { HTTP_ANY, HTTP_GET, HTTP_HEAD, HTTP_POST, HTTP_PUT, HTTP_PATCH, HTTP_DELETE, HTTP_OPTIONS };
                             ^
In file included from /Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/WebServer.h:30:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:345:
/Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/HTTP_Method.h:5:3: note: previous declaration 'HTTPMethod HTTP_GET'
   HTTP_GET     = 0b00000001,
   ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:34:39: error: redeclaration of 'HTTP_HEAD'
 enum HTTPMethod { HTTP_ANY, HTTP_GET, HTTP_HEAD, HTTP_POST, HTTP_PUT, HTTP_PATCH, HTTP_DELETE, HTTP_OPTIONS };
                                       ^
In file included from /Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/WebServer.h:30:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:345:
/Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/HTTP_Method.h:10:3: note: previous declaration 'HTTPMethod HTTP_HEAD'
   HTTP_HEAD    = 0b00100000,
   ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:34:50: error: redeclaration of 'HTTP_POST'
 enum HTTPMethod { HTTP_ANY, HTTP_GET, HTTP_HEAD, HTTP_POST, HTTP_PUT, HTTP_PATCH, HTTP_DELETE, HTTP_OPTIONS };
                                                  ^
In file included from /Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/WebServer.h:30:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:345:
/Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/HTTP_Method.h:6:3: note: previous declaration 'HTTPMethod HTTP_POST'
   HTTP_POST    = 0b00000010,
   ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:34:61: error: redeclaration of 'HTTP_PUT'
 enum HTTPMethod { HTTP_ANY, HTTP_GET, HTTP_HEAD, HTTP_POST, HTTP_PUT, HTTP_PATCH, HTTP_DELETE, HTTP_OPTIONS };
                                                             ^
In file included from /Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/WebServer.h:30:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:345:
/Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/HTTP_Method.h:8:3: note: previous declaration 'HTTPMethod HTTP_PUT'
   HTTP_PUT     = 0b00001000,
   ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:34:71: error: redeclaration of 'HTTP_PATCH'
 enum HTTPMethod { HTTP_ANY, HTTP_GET, HTTP_HEAD, HTTP_POST, HTTP_PUT, HTTP_PATCH, HTTP_DELETE, HTTP_OPTIONS };
                                                                       ^
In file included from /Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/WebServer.h:30:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:345:
/Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/HTTP_Method.h:9:3: note: previous declaration 'HTTPMethod HTTP_PATCH'
   HTTP_PATCH   = 0b00010000,
   ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:34:83: error: redeclaration of 'HTTP_DELETE'
 enum HTTPMethod { HTTP_ANY, HTTP_GET, HTTP_HEAD, HTTP_POST, HTTP_PUT, HTTP_PATCH, HTTP_DELETE, HTTP_OPTIONS };
                                                                                   ^
In file included from /Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/WebServer.h:30:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:345:
/Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/HTTP_Method.h:7:3: note: previous declaration 'HTTPMethod HTTP_DELETE'
   HTTP_DELETE  = 0b00000100,
   ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:34:96: error: redeclaration of 'HTTP_OPTIONS'
 enum HTTPMethod { HTTP_ANY, HTTP_GET, HTTP_HEAD, HTTP_POST, HTTP_PUT, HTTP_PATCH, HTTP_DELETE, HTTP_OPTIONS };
                                                                                                ^
In file included from /Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/WebServer.h:30:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:345:
/Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/HTTP_Method.h:11:3: note: previous declaration 'HTTPMethod HTTP_OPTIONS'
   HTTP_OPTIONS = 0b01000000,
   ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:35:6: error: multiple definition of 'enum HTTPUploadStatus'
 enum HTTPUploadStatus { UPLOAD_FILE_START, UPLOAD_FILE_WRITE, UPLOAD_FILE_END,
      ^
In file included from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:345:0:
/Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/WebServer.h:32:6: note: previous definition here
 enum HTTPUploadStatus { UPLOAD_FILE_START, UPLOAD_FILE_WRITE, UPLOAD_FILE_END,
      ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:37:6: error: multiple definition of 'enum HTTPClientStatus'
 enum HTTPClientStatus { HC_NONE, HC_WAIT_READ, HC_WAIT_CLOSE };
      ^
In file included from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:345:0:
/Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/WebServer.h:34:6: note: previous definition here
 enum HTTPClientStatus { HC_NONE, HC_WAIT_READ, HC_WAIT_CLOSE };
      ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:38:6: error: multiple definition of 'enum HTTPAuthMethod'
 enum HTTPAuthMethod { BASIC_AUTH, DIGEST_AUTH };
      ^
In file included from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:345:0:
/Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/WebServer.h:35:6: note: previous definition here
 enum HTTPAuthMethod { BASIC_AUTH, DIGEST_AUTH };
      ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:63:3: error: conflicting declaration 'typedef struct HTTPUpload HTTPUpload'
 } HTTPUpload;
   ^
In file included from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:345:0:
/Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/WebServer.h:61:3: note: previous declaration as 'typedef struct HTTPUpload HTTPUpload'
 } HTTPUpload;
   ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:81:30: error: 'RequestHandler' is not a template
   using RequestHandlerType = RequestHandler<ServerType>;
                              ^
In file included from /Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer-impl.h:30:0,
                 from /Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:255,
                 from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/detail/RequestHandlersImpl.h:13:53: error: expected template-name before '<' token
 class FunctionRequestHandler : public RequestHandler<ServerType> {
                                                     ^
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/detail/RequestHandlersImpl.h:13:53: error: expected '{' before '<' token
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/detail/RequestHandlersImpl.h:13:53: error: expected unqualified-id before '<' token
In file included from /Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer-impl.h:30:0,
                 from /Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:255,
                 from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/detail/RequestHandlersImpl.h:66:51: error: expected template-name before '<' token
 class StaticRequestHandler : public RequestHandler<ServerType> {
                                                   ^
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/detail/RequestHandlersImpl.h:66:51: error: expected '{' before '<' token
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/detail/RequestHandlersImpl.h:66:51: error: expected unqualified-id before '<' token
In file included from /Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:255:0,
                 from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer-impl.h: In static member function 'static String esp8266webserver::ESP8266WebServerTemplate<ServerType>::_getRandomHexString()':
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer-impl.h:242:38: error: 'RANDOM_REG32' was not declared in this scope
     sprintf (buffer + (i*8), "%08x", RANDOM_REG32);
                                      ^
In file included from /Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:256:0,
                 from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/Parsing-impl.h: In member function 'bool esp8266webserver::ESP8266WebServerTemplate<ServerType>::_parseForm(esp8266webserver::ESP8266WebServerTemplate<ServerType>::ClientType&, const String&, uint32_t)':
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/Parsing-impl.h:482:29: error: 'struct HTTPUpload' has no member named 'contentLength'
             _currentUpload->contentLength = len;
                             ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h: At global scope:
/Users/oscar/Documents/Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer.h:262:42: error: 'RequestHandler' in namespace 'esp8266webserver' does not name a template type
 using RequestHandler = esp8266webserver::RequestHandler<WiFiServer>;
                                          ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:22:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:7:1: error: expected unqualified-id before '<' token
 <!DOCTYPE html>
 ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:22:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:146:25: error: 'up' does not name a type
               Sign&nbsp;up
                         ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:173:267: error: expected unqualified-id before '<' token
                     <a href="/features" class="py-2 lh-condensed-ultra d-block link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Features">Features <span class="Bump-link-symbol float-right text-normal text-gray-light">&rarr;</span></a>
                                                                                                                                                                                                                                                                           ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:186:332: error: expected unqualified-id before '<' token
                       <li class="edge-item-fix"><a href="/customer-stories" class="py-2 lh-condensed-ultra d-block no-underline link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Customer stories">Customer stories <span class="Bump-link-symbol float-right text-normal text-gray-light">&rarr;</span></a></li>
                                                                                                                                                                                                                                                                                                                                            ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:187:308: error: expected unqualified-id before '<' token
                       <li class="edge-item-fix"><a href="/security" class="py-2 lh-condensed-ultra d-block no-underline link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Security">Security <span class="Bump-link-symbol float-right text-normal text-gray-light">&rarr;</span></a></li>
                                                                                                                                                                                                                                                                                                                    ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:210:299: error: expected unqualified-id before '<' token
                       <li class="edge-item-fix"><a href="/explore" class="py-2 lh-condensed-ultra d-block link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Explore">Explore GitHub <span class="Bump-link-symbol float-right text-normal text-gray-light">&rarr;</span></a></li>
                                                                                                                                                                                                                                                                                                           ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:213:113: error: 'contribute' does not name a type
                     <h4 class="text-gray-light text-normal text-mono f5 mb-2 border-lg-top pt-lg-3">Learn &amp; contribute</h4>
                                                                                                                 ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:246:262: error: expected unqualified-id before '<' token
                     <a href="/pricing" class="pb-2 lh-condensed-ultra d-block link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Pricing">Plans <span class="Bump-link-symbol float-right text-normal text-gray-light">&rarr;</span></a>
                                                                                                                                                                                                                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:254:312: error: expected unqualified-id before '<' token
                       <li class="edge-item-fix"><a href="/nonprofit" class="py-2 lh-condensed-ultra d-block no-underline link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Nonprofits">Nonprofit <span class="Bump-link-symbol float-right text-normal text-gray-light">&rarr;</span></a></li>
                                                                                                                                                                                                                                                                                                                        ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:255:335: error: expected unqualified-id before '<' token
                       <li class="edge-item-fix"><a href="https://education.github.com" class="py-2 pb-0 lh-condensed-ultra d-block no-underline link-gray-dark no-underline h5 Bump-link--hover"  data-ga-click="(Logged out) Header, go to Education">Education <span class="Bump-link-symbol float-right text-normal text-gray-light">&rarr;</span></a></li>
                                                                                                                                                                                                                                                                                                                                               ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:22:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:417:21: error: 'in' does not name a type
           Sign&nbsp;in
                     ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:423:23: error: 'up' does not name a type
             Sign&nbsp;up
                       ^
In file included from /Users/oscar/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:22:0,
                 from /var/folders/15/j0bm9spx39zb1ygmy8qkny300000gn/T/arduino_modified_sketch_66146/IRMQTTServer.ino:352:
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:988:151: error: expected unqualified-id before '<' token
         <td id="LC28" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>os_type.h<span class="pl-pds">&quot;</span></span></td>
                                                                                                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:988:194: error: expected unqualified-id before '<' token
         <td id="LC28" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>os_type.h<span class="pl-pds">&quot;</span></span></td>
                                                                                                                                                                                                  ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1001:151: error: expected unqualified-id before '<' token
         <td id="LC31" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>ipv4_addr.h<span class="pl-pds">&quot;</span></span></td>
                                                                                                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1001:196: error: expected unqualified-id before '<' token
         <td id="LC31" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>ipv4_addr.h<span class="pl-pds">&quot;</span></span></td>
                                                                                                                                                                                                    ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1027:151: error: expected unqualified-id before '<' token
         <td id="LC37" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>queue.h<span class="pl-pds">&quot;</span></span></td>
                                                                                                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1027:192: error: expected unqualified-id before '<' token
Multiple libraries were found for "WiFi.h"
 Used: /Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WiFi
 Not used: /Applications/Arduino.app/Contents/Java/libraries/WiFi
Multiple libraries were found for "DNSServer.h"
 Used: /Users/oscar/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/DNSServer
 Not used: /Users/oscar/Documents/Arduino/libraries/DNSServer
         <td id="LC37" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>queue.h<span class="pl-pds">&quot;</span></span></td>
                                                                                                                                                                                                ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1031:151: error: expected unqualified-id before '<' token
         <td id="LC38" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>user_config.h<span class="pl-pds">&quot;</span></span></td>
                                                                                                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1031:198: error: expected unqualified-id before '<' token
         <td id="LC38" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>user_config.h<span class="pl-pds">&quot;</span></span></td>
                                                                                                                                                                                                      ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1035:151: error: expected unqualified-id before '<' token
         <td id="LC39" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>spi_flash.h<span class="pl-pds">&quot;</span></span></td>
                                                                                                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1035:196: error: expected unqualified-id before '<' token
         <td id="LC39" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>spi_flash.h<span class="pl-pds">&quot;</span></span></td>
                                                                                                                                                                                                    ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1039:151: error: expected unqualified-id before '<' token
         <td id="LC40" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>gpio.h<span class="pl-pds">&quot;</span></span></td>
                                                                                                                                                       ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1039:191: error: expected unqualified-id before '<' token
         <td id="LC40" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>gpio.h<span class="pl-pds">&quot;</span></span></td>
                                                                                                                                                                                               ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1052:149: error: expected unqualified-id before '<' token
         <td id="LC43" class="blob-code blob-code-inner js-file-line"><span class="pl-k">extern</span> <span class="pl-s"><span class="pl-pds">&quot;</span>C<span class="pl-pds">&quot;</span></span> {</td>
                                                                                                                                                     ^
/Users/oscar/Documents/Arduino/libraries/WiFiEsp/src/user_interface.h:1052:184: error: expected unqualified-id before '<' token
         <td id="LC43" class="blob-code blob-code-inner js-file-line"><span class="pl-k">extern</span> <span class="pl-s"><span class="pl-pds">&quot;</span>C<span class="pl-pds">&quot;</span></span> {</td>
                                                                                                                                                                                        ^
IRMQTTServer:501:28: error: expected '}' before end of line
IRMQTTServer:501:28: error: expected declaration before end of line
exit status 1
expected '}' before end of line
Invalid library found in /Users/oscar/Documents/Arduino/libraries/esp8266-2.7.1: no headers files (.h) found in /Users/oscar/Documents/Arduino/libraries/esp8266-2.7.1
Invalid library found in /Users/oscar/Documents/Arduino/libraries/esp8266-2.7.1: no headers files (.h) found in /Users/oscar/Documents/Arduino/libraries/esp8266-2.7.1

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Example code used

IRMQTTServer

Circuit diagram and hardware used (if applicable)

I'll use an IR led with a transistor

I have followed the steps in the [Troubleshooting Guide]

Yes, at least I tried

Has this library/code previously worked as expected for you?

No, first time I use it.

thanks

crankyoldgit commented 4 years ago

WARNING: library WiFiManager claims to run on esp8266

If you read the source code for IRMQTTServer.ino around line 30ish, it tells you you need the 'development' branch for WiFiManager when using it on ESP32s. You need to go to their git page and download/install their development branch.

crankyoldgit commented 4 years ago

https://github.com/crankyoldgit/IRremoteESP8266/blob/5fe6f991de94b578a04053de8a07e2a07c39bdaa/examples/IRMQTTServer/IRMQTTServer.ino#L36-L37

Destrutor2 commented 4 years ago

Thanks, this problem is solved for me. Unfortunately, I have another error which is rather frequent on the internet but which I could not solve, I will open another issue in case you are able to help me.