-
-
Notifications
You must be signed in to change notification settings - Fork 968
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
Building errors with cmake 3.22 #859
Comments
I'm currently using the following gcc version: |
You are using |
Using the recommended version makes no difference
|
Nothing in CMake 3.22.0's release notes would indicate they changed its behaviour. Very much seems specific to your setup or cmake build. |
Not being able to find static stdlib to link against is not InfiniTime's problem until any evidence provided would indicate otherwise. |
@Riksu9000 have you tried completely deleting the build directory and doing a fresh cmake-configure and build? |
Deleting the build directory and reconfiguring fixed the issue and I can no longer reproduce it. I have no idea why that happened. Sorry for any confusion. |
@Riksu9000 I also recently had issues with building the project. I figured that adding Also, I checkout many differents branches and mostly this one. I probably failed one stash at some point, and couldn't build develop again (it couldn't find references to many ble functions). It turns out that the changes in the config file of lvgl.conf were still present in my working copy after the checkout to develop. Once I reset the changes, it would build again. |
Verification
What happened?
Build fails with cmake 3.22 but works with 3.21.4
What should happen instead?
No response
Reproduction steps
Install cmake 3.22 ->
make pinetime-mcuboot-app
More details?
At first I got errors regarding missing includes in Ppg.h
which doesn't occur with version 3.21.4(This might be a separate issue affecting develop). After fixing those, the build failed during linking. Downgrading to 3.21.4 fixed the issue.There might be two separate issues here.
Version
develop
Companion app
No response
The text was updated successfully, but these errors were encountered: