Skip to content

Replace LDF deep with native GCC Preprocessor #3113

Open

Description

@ivankravets

Activity

  1. added this to the Backlog milestone on Oct 13, 2019
  2. added
    LDF
    on Apr 2, 2022
  3. italocjs commented on Sep 3, 2023

    @italocjs

    Hello, i have seen multiple issues (mentioned here), and the only workaround that worked for me was adding lib_ldf_mode = deep

    Is this the best approach for an workaround? Is there any planning to work on this issue?

  4. ivankravets commented on Sep 4, 2023

    @ivankravets
    MemberAuthor
  5. brentru commented on Sep 26, 2023

    @brentru

    @ivankravets Is there any current PRs/work on this issue? Or, is it no longer a priority since explicit declaration into lib_deps and using a different LDF mode is a valid workaround?

  6. JustTryingToGetSomeWorkDone commented on Dec 1, 2023

    @JustTryingToGetSomeWorkDone

    I'm still experiencing this issue and it prevents me from using VS Code\PlatformIO for embedded programming. If I can't compile, it's useless. I'm not going to spend hours setting up every library with workarounds for every little project that comes my way. My time spent working around my libraries not working will quickly outpace my time spent programming.

  7. ivankravets commented on Dec 1, 2023

    @ivankravets
    MemberAuthor

    @JustTryingToGetSomeWorkDone , could you provide more details on your issue?

  8. ScaredyCat commented on May 31, 2024

    @ScaredyCat

    Running into this issue. compiling header files that aren't used and have other dependancies means I have to download the lib, put it in my project libs folder and delete the files I'm not using and aren't required.

    Example: including TLog library ( https://registry.platformio.org/libraries/makerspaceleiden/TLog ):

    `#include <TLog.h>

    #include <TelnetSerialStream.h>
    TelnetSerialStream telnetSerialStream = TelnetSerialStream();`

    When building, WebSerialStream.h /cpp are included, though not needed for this build, adding another library dependancy for WebServer.h which is also not required.

    In file included from .pio/libdeps/client/TLog/src/WebSerialStream.cpp:21: .pio/libdeps/client/TLog/src/WebSerialStream.h:28:10: fatal error: WebServer.h: No such file or directory

    Makes the built in library management a lot less useful.

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

    LDFbuild systemfeature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions