Skip to content

Place bundled library under src folder #18

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

Merged
merged 1 commit into from
Nov 26, 2018
Merged

Place bundled library under src folder #18

merged 1 commit into from
Nov 26, 2018

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Oct 21, 2018

All recent versions of the Arduino IDE restrict recursive compilation to the src subfolder of the sketch folder. The previous use of the lib folder to store the bundled library caused compilation to fail:

C:\Users\per\AppData\Local\Temp\ccJTFh0h.ltrans0.ltrans.o: In function `setup':

C:\Users\per\Desktop\G27_Pedals_and_Shifter/G27_Pedals_and_Shifter.ino:359: undefined reference to `G27'

C:\Users\per\Desktop\G27_Pedals_and_Shifter/G27_Pedals_and_Shifter.ino:359: undefined reference to `G27'

C:\Users\per\Desktop\G27_Pedals_and_Shifter/G27_Pedals_and_Shifter.ino:359: undefined reference to `G27_::begin(bool)'

etc.

Reference:
arduino/arduino-builder#148

Fixes #14
Fixes #15

All recent versions of the Arduino IDE restrict recursive compilation to the src subfolder of the sketch folder. The previous use of the lib folder to store the bundled library caused compilation to fail:

C:\Users\per\AppData\Local\Temp\ccJTFh0h.ltrans0.ltrans.o: In function `setup':

C:\Users\per\Desktop\G27_Pedals_and_Shifter/G27_Pedals_and_Shifter.ino:359: undefined reference to `G27'

C:\Users\per\Desktop\G27_Pedals_and_Shifter/G27_Pedals_and_Shifter.ino:359: undefined reference to `G27'

C:\Users\per\Desktop\G27_Pedals_and_Shifter/G27_Pedals_and_Shifter.ino:359: undefined reference to `G27_::begin(bool)'

etc.

Reference:
arduino/arduino-builder#148
@functionreturnfunction functionreturnfunction merged commit e53a1a8 into functionreturnfunction:master Nov 26, 2018
@per1234 per1234 deleted the src-folder branch November 26, 2018 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants