Skip to content

Library related, static library won't work, precompiled=true will ignore compilation of cpp file, Version 1.8.12 #10164

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

Closed
xukangmin opened this issue May 7, 2020 · 1 comment
Labels
Type: Duplicate Another item already exists for this topic

Comments

@xukangmin
Copy link

xukangmin commented May 7, 2020

Hello,

precompiled static library (.a files) works fine on Version 1.8.9.

When I switch to 1.8.12, the same configuration won't work.

Basically, when I compile in 1.8.12, it will skip compiling library cpp file which resulting linking issue if I set precompiled=true.

If I remove precompiled=true, it won't add the search path for the static files and miss ldfalgs tag.

Here is the library.properties

name=TinyTouch
version=0.1
author=Kangmin
maintainer=kangmin [email protected]
sentence=Enables Touch Interface
paragraph=1
category=Sensors
url=https://docs.tinycore.dev/en/latest/usage.html#touch
architectures=avr
precompiled=true
ldflags=-lqtm_acq_runtime -lqtm_binding_layer -lqtm_touch_key

I attach the library for your reference.

TinyTouch.zip

@xukangmin xukangmin changed the title Library related, static library won precompiled=true will ignore compilation of cpp file, Version 1.8.12 Library related, static library won't work, precompiled=true will ignore compilation of cpp file, Version 1.8.12 May 7, 2020
@facchinm
Copy link
Member

facchinm commented May 7, 2020

Closing as duplicate of arduino/arduino-builder#353 ; a fix is ongoing here arduino/arduino-cli#611 and will be merged / integrated in hourly IDE soon

@facchinm facchinm closed this as completed May 7, 2020
@per1234 per1234 added the Type: Duplicate Another item already exists for this topic label May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

3 participants