-
-
Notifications
You must be signed in to change notification settings - Fork 803
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lib_deps piolibdeps issue creates dependences on all platforms #1153
Comments
exact same issue here with |
implementing generation of dcc signal remains to be done though.
It seems that you have IFDEF guard for different dev/Platforms. Please take a look at |
How do I handle this situation for libraries where I try to have a CI integration? Please see my question on community.platformio.org: https://community.platformio.org/t/set-lib-ldf-mode-for-libraries-library-json-only/3044 |
… issue #1236, issue #1235, issue #953, issue #1118, issue #1107, issue #1196, issue #1179, issue #1161, issue #1126, issue #104, issue #1033, issue #1034, issue #1175, issue #1173, issue #1155, issue #1188, issue #1111, issue #1153, issue #1150, issue #1145, issue #1139, issue #1137, issue #1170, issue #1157, issue #1102, issue #1105, issue #1140, issue #1154, issue #1066, issue #1038, issue #1054, issue #1055, issue #1061, issue #1017)
What kind of issue is this?
A library dependency and env platforms crossed issue. Piolibdeps directory is applying lib_deps in wrong compilation environments.
Configuration
Operating system: Windows x64
PlatformIO Version (
platformio --version
): 3.5.0a16Description of problem
I have a project that has to be compiled on many platforms. The Arduino Uno is the last platform environment of my platformio.ini file, and it is the only one with the "Arduino Motor Shield" library dependence. With an empty .piolibdeps everything is compiling without problems, but when I try to launch another compilation, all the other platforms fail (Teensy, ESP32...). The reason is that the first compilation created a .piolibdeps/ArduinoMotorShieldLibrary_ID28 folder, and this folder is being compiled in all the platforms (not only on Uno). As a result, the second time you compile, it fails.
Steps to Reproduce
Actual Results
Tries to compile wrong libraries in compilation environment that do not depend on them.
Expected Results
The compilation environment must only compile the libraries they depend on.
If problems with PlatformIO Build System:
The content of
platformio.ini
:The text was updated successfully, but these errors were encountered: