My particular video card OpenCL drivers moved where they were installed
between different
versions of Ubuntu. I tracked it down with:

~$ locate libOpenCL.so

      producing...
/usr/lib/i386-linux-gnu/libOpenCL.so.1
/usr/lib/i386-linux-gnu/libOpenCL.so.1.0
/usr/lib/i386-linux-gnu/libOpenCL.so.1.0.0
/usr/lib/x86_64-linux-gnu/libOpenCL.so
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0

So when building gr-fosphor:

cmake ../ -DOPENCL_LIBRARY=/usr/lib/x86_64-linux-gnu/libOpenCL.so


-- Tom, N5EG



On Thu, Mar 19, 2015 at 8:51 AM, ben Gee <grben...@gmail.com> wrote:

> Sylvain,
> Firstly, there is only one install of pybombs on this machine, so
> definitely no separate install conflicts
>
> Second, unfortunately, in an effort to start over, i uninstalled
> gr-fosphor and attemted to reinstall it. I'm now getting this opencl error
> now. not sure if this was something i overlooked last time, but i thought
> the build was ok.
> the resources on the internet regarding opencl are somewhat hazy (or at
> least they are to me) and it seems that there are many different options
> for drivers. Can you shed some light on building these with pybombs as a
> dependency for gr-fosphor? Should they be installed system-wide or do they
> have to be installed in the pybombs environment?
>
> thanks,
> -b
>
> On Thu, Mar 19, 2015 at 3:22 AM, Sylvain Munaut <246...@gmail.com> wrote:
>
>> On Wed, Mar 18, 2015 at 11:47 PM, ben Gee <grben...@gmail.com> wrote:
>> > i should also add that the output of "./pyboms" list shows that
>> gr-fosphor
>> > IS installed, output below:
>>
>> Interesting ...
>>
>> Are you sure you haven't two install of pybombs with different
>> prefixes that would mix things up ?
>>
>> If not, I think pybombs keeps a build log somewhere for the various
>> installed package, try to find it and pastebin it somewhere.
>>
>> Cheers,
>>
>>    Sylvain
>>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to