-
Notifications
You must be signed in to change notification settings - Fork 16
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
using opencl 2 cl2.hpp #4
Comments
I work on Ubuntu 16.04 as well so it should compile for you. There are a couple of items to watch out for. If you look in the project's setup_help directory there's a write-up on getting it all running on Ubuntu. Sounds like there may be a quick symlink you may be missing for the opencl header files that's documented in there too. Give that a shot and let me know how it goes. |
hey, i have the same issue (although on devuan, and on maint-3.8 branch since there is no gr3.9 on debian derivates). i did link cl2.hpp to cl.hpp, but that only got me over the cmake step. cmake output is like this:
when running make, i get this output:
and many more of these (which i omit for brevity)
the build then fails with:
anyway, i figured out, that if i set some symbols then i get much further:
then my build fails like this:
any idea how to fix this? |
I'd double-check the branch of clenabled you're cloning. There is a maint-3.8 branch for the repo, and master matches up with 3.9. So that can cause some mismatches. The deprecation warnings are "new" in that I really started getting them with Ubuntu 20, but it should still compile. |
yeah, i am on |
I'm trying to build the master branch on Mint 21 for gnuradio 3.10, and I'm running into this issue with needing to use the newer headers. The opencl headers package for that OS version no longer has cl.hpp, so we need to use cl2.hpp or (preferably, I think) opencl.hpp as stef has done in his pull request. What's the best way to get this resolved at this point? There are also a couple other problems that I'll open separate issues on. |
Hello,
First, thanks for your job.
I work for many personal project about gnuradio.
I would try to test your blocks but i can't compile them.
I work on ubuntu 16.04 and open library was version 2 with cl2.hpp.
Do you think it is possible to modify your code for use new opencl library ?
Thanks in advance!
The text was updated successfully, but these errors were encountered: