-
Notifications
You must be signed in to change notification settings - Fork 25
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
output-rotation, mouse-selection, gyro-sensor support, kmscon.conf manpage #75
base: develop
Are you sure you want to change the base?
Conversation
…branch to aetf's meson-based develop branch.
…-upstream branch to aetf's meson-based develop branch.
…ch to aetf's meson-based develop branch.
Hi, I've been trying to use this patch in conjunction with #71, it seems that kmscon_mouse.c requires linking to libm (fmod), which isn't done in |
I see... I will look into it this afternoon.
Best regards...
MacSlow
Takase ***@***.***> schrieb am Sa., 7. Okt. 2023, 05:37:
… Hi, I've been trying to use this patch in conjunction with #71
<#71>, it seems that kmscon_mouse.c
requires linking to libm (fmod), which isn't done in meson.build and
src/meson.build. I kept on getting linking errors without doing that.
—
Reply to this email directly, view it on GitHub
<#75 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACWFRKSVEE2CGGX5RPWTK73X6DFA3AVCNFSM6AAAAAA2VVVRQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJRGU4DKNZQGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I looked at this again on a different machine and cannot reproduce the linking issue with regards to libm. I locally merged skyvine's desired-width/height branch with my PR and do not get any linking issues. I used an Ubuntu 22.04.3 LTS machine with the usual build-essential packages. Do you perhaps still have a log-file of the failing compile/linking step? |
@MacSlow Since I seem to have similar issues let me paste my output:
|
What worked for me is to add:
in
|
This is not the correct way to fix it, the correct way is to use compiler.find_library('m') and add it as a dependency. |
Thanks @takase1121! That worked as well, at top:
and then:
|
…licitly add it (like mine). Thanks to users 'takase1121' and 'obrmao' on github.com for the heads-up.
Greetings takase1121 & obrmao! I added your suggestions to my branches hoping it will avoid other people running into the same issue. Still, I could not reproduce the stated problem on my systems (ubuntu 22.04 and debian 12). But adding that explicit library-dependency does not hurt :) |
This is the whole bunch of all the features I added to kmscon (now based on aetf's 'develop' branch). It is output-rotation support, mouse selection/cut/paste support, gyro-sensor support and finally an additional man-page, which documents the configuration-file 'kmscon.conf'.
Each feature/patch also exists as a single branch (building on top of each other), if you prefer smaller chunks. I am trying to make this as easy for review and testing as possible.