-
Notifications
You must be signed in to change notification settings - Fork 5
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
Build instructions ? #1
Comments
Hi @niallp 😄 Hmm. Curious. It works fine for me (with Qt 5.9.9 through to Qt 6.3.0).
What version of CMake do you have?
That output kind of suggests that you changed into the Perhaps try using absolute paths instead, like:
|
The 2nd An older version of I'll find a more recent install and try it there. |
Ah, it seems
So, just
Cheers. |
BTW, I suspect you'll need CMake 3.12 or later to build successfully, but let us know how you go. |
It did get further without What distro are you developing on ? |
I'm mostly developing on Ubuntu 21.10 and 22.04, but the GitHub Actions CI builds are currently:
You can probably relax the cmake 3.12 requirement if you're willing to forgo the CLI application's unit tests (you can still build and run the CLI app, just not the tests). I'll put up a modified branch for you in a couple of hours if you like, to try that option out. Cheers. |
I don't have any CMake's old enough to test with, but have a go a the 1-cmake-pre-3.12 branch. It detects CMake's earlier than 3.12, and for those, it skips the CLI unit tests (since they depend on CMake's Object Libraries feature). So if you build with that branch, you should see CMake stating something like this in the initial output:
This shouldn't affect the code in any way, just means that some (CLI-only) unit tests will be skipped. Let us know how it goes. Thanks 😄 |
Something different but not there yet:
|
Ah yes, that's another place that it need CMake 3.12+. I'll need to have a think about the best way to get around that one (or not support pre-3.12). |
Yet another reason for me to move on from 18.04 I guess ... ;) |
Ok, I've just pushed another update to the 1-cmake-pre-3.12 branch. I've actually tested it against the same CMake version you have (3.10.2), and also as far back as CMake 3.1.3., so it should be good to go now (subject to the same unit tests limitation as before). Note, it turns out to be really easy (on Ubuntu 21.10 at least) to use binary CMake versions from https://cmake.org/files/ - I highly recommend you download one of the latest ones, and give it a try 😉 But let us know how you go with the 1-cmake-pre-3.12 branch, and if its all good I can merge the changes into Cheers. |
That now builds OK, app seems to work mostly (some oddness on device naming to explore, lots to learn !) The new cmake (v3.23.2) also works well, the original build instructions apply verbatim. Thanks ! |
Following the build instructions in the README, I get
Trying build on Ubuntu 18.04, Qt v 5.9.5 ...
The text was updated successfully, but these errors were encountered: