Welcome to MattzoBricks Forums MattzoTrainController for Bluetooth (MTC4BT) Compilation problem: fatal error: esp_netif.h: No such file or directory

Viewing 4 reply threads
  • Author
    Posts
    • #8470
      Dirk SchäferDirk Schäfer
      Participant

      Dear all,

      I wanted to update a MTC4BT to the newest available firmware, but during the build process (esp32) the following fatal error occured:

      Compiling .pio\build\esp32\src\PURemote.cpp.o
      In file included from lib/MCNetwork/MCmqtt.h:2:0,
      from src/MTC4BTMQTTHandler.cpp:7:
      lib/ETHClass2/ETHClass2.h:71:23: fatal error: esp_netif.h: No such file or directory

      Any idea whats the problem here?

      Thanks for your help.

      Kind regards
      Dirk

      P.S.: I suppose the options for the “az-delivery-devkit-v4” are included in the options for the “esp32”. Is this correct?

    • #8471
      Matthias RunteMatthias Runte
      Keymaster

      Did you delete the .pio directory before compiling?

    • #8474
      Dirk SchäferDirk Schäfer
      Participant

      I cleared the whole PlatformIO folder, copied all files from github to this folder, put the “my_platformio.ini” in the “MTC4BT” folder and the “controller_config.json” and the “network_config.json” into the “MTC4BT\data” folder.

    • #8475
      Matthias RunteMatthias Runte
      Keymaster

      Ah, we had this before in a different topic. Do not copy the files! Check them out from the git repository directly!

    • #8476
      Dirk SchäferDirk Schäfer
      Participant

      Thank you for the hint.

      I have solved the problem by reinstalling the espressif32 platform.

Viewing 4 reply threads
  • You must be logged in to reply to this topic.