Skip to content

HttpClient.h file name conflicts with ESP32-Arduino framework #91

Closed
@Panometric

Description

@Panometric

Using ESP 32 Ardiono framework and platformio.org's library search functionality presents a vexing problem since the name HttpClient.h is duplicated in the ESP32 Arduino framework.

If you try to use both, the ArduinoHttpClient overrides the platform default, so it breaks anything else that uses HttpClient.h. Note that despite the cases of the classes being different, at least on windows the case of the filename does not matter, so the wrong file is included in any module that references it.

I was finally able to workarourd this my renaming the HttpClient.h -> MCQN_HttpClient.h . Your method may vary, but since this framework and platformio are very popular, this library should really not duplicate the header filename.

Activity

Bascy

Bascy commented on Apr 15, 2024

@Bascy

Any chance on merging this long time standing name conflict?
Or solving this problem in any other way, maybe adding new files that are just including these..

linked a pull request that will close this issueRenamed HttpClient files to Http_Client #123on Apr 15, 2024
Panometric

Panometric commented on Apr 30, 2024

@Panometric
Author

Closed per #123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      HttpClient.h file name conflicts with ESP32-Arduino framework · Issue #91 · arduino-libraries/ArduinoHttpClient