-
Notifications
You must be signed in to change notification settings - Fork 114
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
No .cmake file for Catch2 #264
Comments
Okay, yes, this seems to be an issue. In the meantime, you can disable the need for catch2 by first completely emptying out your build directory (to clear the cache) and doing:
To help with the issue - do you have catch2 installed on your system using your package manager? |
I don't think we've fully debugged unit testing on Windows yet. Disabling testing with the command mentioned above is probably the best option for now. If you're not a developer writing new code, there's no point in having tests enabled so they should probably be off by default in new build trees moving forward? |
@nshcat unless it's a default I don't know about on Ubuntu 20.04, I do not have catch2 installed. (Didn't know what it was til I searched thru the open issues. XD ) @azonenberg - trying this on Ubuntu 20.04 if that helps. |
@Cushychicken catch2 is not available in distro packaging until 20.10. For 20.04 your options are either to build it yourself from source, or to just disable testing using -DBUILD_TESTING=Off. Did you read the "getting started" section in the manual I linked you? This was documented pretty clearly there on page 12. |
@azonenberg - nope, I did not. Bracing for the "RTFM" here, but I started from the README.md page. Can I help out with a PR to make the README installation instructions match the manual? @nshcat Cleared the |
This is still valuable feedback to us. We don't have a large team writing documentation so stuff often gets overlooked. Problems new users run into are important because they can scare off future users. PRs are very welcome. That said, now that you know, I suggest you read the manual :) It's definitely incomplete, but it should give you a good feel for the basics of how to use the software. |
Of course! It just finished compiling, so I'll be moseying on over to the Rigol section of the manual as soon as I finish that PR. Thanks for the help, y'all. Excited to see the fruits of your labor. 😄 |
Got the following error while following install instructions in README.md:
Guessing this is some install dependency that hasn't been added yet? I'm no expert in CMake or unit testing but a quick search of the issue backlog turned up #241 which references Catch2 being added as a submodule for unit tests.
Happy to provide more info. Eager to try this sucker out. :D
The text was updated successfully, but these errors were encountered: