-
Notifications
You must be signed in to change notification settings - Fork 676
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
cmake error #153
Comments
Hello @robellebor We use the GitHub issues to track UHD development issues, the USRP-users mailing list and the [email protected] email address are better places to get fast help for installation and application development. |
thanks i fixed by changing "Boost_FOUND;HAVE_PYTHON_PLAT_MIN_VERSION;HAVE_PYTHON_MODULE_MAKO" OFF ON) "Boost_FOUND;HAVE_PYTHON_PLAT_MIN_VERSION;HAVE_PYTHON_MODULE_MAKO" ON ON) |
@robellebor That looks like you do not have all the dependencies installed. Here is a guide which contains all the dependencies listed. The Ubuntu 17.04 list will almost certainly work for 17.10. I hope this works for you. If you have any other questions the mailing list is a great resource and has a good community. |
@robellebor @dkozel The problem is Ubuntu has a different naming scheme for the libboost_python library so CMake is unable to find the proper libraries. Normal naming scheme is "libboost_python2.7" and "libboost_python3.5" but Ubuntu names the libaries "libboost_python-py27" and "libboost_python-py35" |
@audiohacked If that is the case this is most likely a |
Hm yeah, this is hard to fix from our end. |
@mbr0wn One way to "fix" it is to include a patched FindBoost.cmake module in uhd. Another fix is to revoke support of Python 3. |
I had this same error, and had to edit the cmake file to ON ON in the Win32 If/Else block. It seems stupid that the else block disables the Python API, despite the required libraries being found.
Then... The cmake file isn't well done and needs some TLC. |
Boost.Python was removed from UHD (and replaced with PyBind11). |
In which version? I'm pretty sure that's not documented. I was going over the compilation instructions. |
You're right, it's on master. Anyhow, I'm not sure what your exact problem is (given the history of this issue), can you please open a new one? |
This definitely needs to be fixed in documentation, or more easily accessible. This has bitten me twice now, from two separate installations. In addition, the |
Can please tell me how and where did you change it? |
vim /usr/local/src/uhd/host/CMakeLists.txt |
Thank you very much for sharing the solutions. (Modify CMakeLists.txt at /home/uhd/host/CMakeLists.txt) |
I think you are missing a dependency |
Yeah you really don't have to modify CMakeLists.txt files if you're on a standard Ubuntu or similar |
this is worked to me thanks a lot |
I did |
when i try to execute the command cmake ../ i get an error
what should i do i tried many things but ....
The text was updated successfully, but these errors were encountered: