Skip to content
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

FindCppUnit Missing? #1

Closed
ZeroChaos- opened this issue Mar 26, 2020 · 8 comments
Closed

FindCppUnit Missing? #1

ZeroChaos- opened this issue Mar 26, 2020 · 8 comments

Comments

@ZeroChaos-
Copy link

CMake Error at CMakeLists.txt:69 (include):
  include could not find load file:

    GrPlatform


CMake Warning at CMakeLists.txt:106 (find_package):
  By not providing "FindCppUnit.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "CppUnit", but
  CMake did not find one.

  Could not find a package configuration file provided by "CppUnit" with any
  of the following names:

    CppUnitConfig.cmake
    cppunit-config.cmake

  Add the installation prefix of "CppUnit" to CMAKE_PREFIX_PATH or set
  "CppUnit_DIR" to a directory containing one of the above files.  If
  "CppUnit" provides a separate development package or SDK, be sure it has
  been installed.

Where am I supposed to get this file from? It's not included with cmake or gnuradio afaik...

gentoo-bot pushed a commit to gentoo/gentoo that referenced this issue Mar 26, 2020
redsand/gr-ppm-wiegand#1

Package-Manager: Portage-2.3.95, Repoman-2.3.21
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
@redsand
Copy link
Owner

redsand commented Mar 26, 2020 via email

@redsand
Copy link
Owner

redsand commented Mar 26, 2020

I also possibly read this as not have the cmake c++ detection files there.... I can guess you have g++ installed?

@ZeroChaos-
Copy link
Author

ZeroChaos- commented Mar 26, 2020 via email

@redsand
Copy link
Owner

redsand commented Mar 26, 2020 via email

@ZeroChaos-
Copy link
Author

Yeah that's cppunit, I already have that installed. That's not the problem. The problem isn't cppunit missing, it's FindCppUnit.cmake missing. Typically, when a non-standard cmake function is used, it's shipped in the CMakefiles directory or something, but in this case, you don't ship it, nor does cmake, or gnuradio, or CppUnit.

I can certainly find a random one online, but clearly you are expecting it to be already present, and I am curious where it comes from.

@redsand
Copy link
Owner

redsand commented Mar 27, 2020 via email

@redsand
Copy link
Owner

redsand commented Mar 27, 2020

Can you try now? Looks like in the previous commit, I accidentally zapped some of the files in the cmake directory. I've restored them. Please be sure to perform a git pull master.

@ZeroChaos-
Copy link
Author

yup, that fixes it. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants