platformio-core icon indicating copy to clipboard operation
platformio-core copied to clipboard

Replace LDF deep with native GCC Preprocessor

Open ivankravets opened this issue 6 years ago • 6 comments

Related links:

  • https://scons.org/doc/production/HTML/scons-user.html#idp105548894474704

ivankravets avatar Oct 13 '19 10:10 ivankravets

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?

italocjs avatar Sep 03 '23 13:09 italocjs

@italocjs, yes, this is a good temporary solution. Another way is to directly declare dependencies in lib_deps. See https://docs.platformio.org/en/latest/projectconf/sections/env/options/library/lib_deps.html

ivankravets avatar Sep 04 '23 12:09 ivankravets

@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?

brentru avatar Sep 26 '23 18:09 brentru

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.

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

ivankravets avatar Dec 01 '23 11:12 ivankravets