Skip to content

Include md5.h throws compile error #include expects "FILENAME" or <FILENAME> #1327

@hreintke

Description

@hreintke

Hardware:

Board: Nano32
Core Installation/update date: Latest git
IDE name: Sloeber Arduino plugin V4.2

Description:

When compiling I get an error on md5.h when compiling WebAuthentication.cpp
Error is: md5.h:29:10: error: #include expects "FILENAME" or <FILENAME> -> #include MBEDTLS_CONFIG_FILE
The compile command contains : -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h"

Updating within md5.h to #include "mbedtls/esp_config.h" then it works.

Google revealed that it is a combination of the compiler command and the include statement.

Sketch:

#include "esp2.h"
#include "ESPAsyncWebServer.h"


//The setup function is called once at startup of the sketch
void setup()
{
// Add your initialization code here
}

// The loop function is called in an endless loop
void loop()
{
//Add your repeated code here
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: StaleIssue is stale stage (outdated/stuck)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions