-
Notifications
You must be signed in to change notification settings - Fork 43
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
Setting PKG_CONFIG_PATH for cppunit doesn't work. #11
Comments
Thanks for the feedback. What is your system configuration? I'm using the default cmake file from GNU Radio's |
I guess gnuradio is forcing cppunit on modules but it does not use it. |
Do you have a suggestion for what I should do? I think the CMake will work fine if GNU Radio is installed with PyBOMBS. I think it covers all the dependencies. |
Ok, then I think this is a documentation bug or I missed that PyBOMBS was a req. |
Well, PyBOMBS isn't a requirement necessarily. But PyBOMBS is a nice way to install GNU Radio, ensuring all dependencies are satisfied. Are you still having trouble with this? Does it prevent the module from building? |
The cmake stage fails because cmake does not find cppunit include files even with PKG_CONFIG_PATH set properly. The cppunit is in a non-standard location. I worked around it by adding the paths to cmake/Modules/FindCppUnit.cmake.
If I run
PKG_CONFIG_PATH=/here/is/cppunit/lib/pkgconfig pkg-config --cflags cppunit
or
PKG_CONFIG_PATH=/here/is/cppunit/lib/pkgconfig pkg-config --libs cppunit
I get correct results.
The text was updated successfully, but these errors were encountered: