Replace LDF deep with native GCC Preprocessor
Related links:
- https://scons.org/doc/production/HTML/scons-user.html#idp105548894474704
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, 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 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?
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?