discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gr-fosphor with pybombs


From: ben Gee
Subject: Re: [Discuss-gnuradio] gr-fosphor with pybombs
Date: Thu, 19 Mar 2015 16:43:07 -0400

ok, no progress, but here's what i've done so far. (all as per the https://sdr.osmocom.org/trac/wiki/fosphor instructions)
sudo apt-get install cmake xorg-dev libglu1-mesa-dev
git clone https://github.com/glfw/glfw
cd glfw
mkdir build
cd build
cmake ../ -DBUILD_SHARED_LIBS=true
make
sudo make install
sudo ldconfig
then, sudo apt-get install opencl-headers

Next, because i have an intel integrated graphics controller in my laptop i chose the "Intel CPU OpenCL" option from the instructions
i went to the link on the page, but it says that there is no standalone OpenCL SDK package anymore and that you have to download the "Intel Code Builder for OpenCL" so i downloaded and installed this: 

https://software.intel.com/en-us/articles/intel-code-builder-for-opencl-api

after that, (from my pybombs directory) i ran ./pybombs install gr-fosphor which returns an 'ok' message at the end of the install.
I now run osmocom get this for my output:

http://pastebin.com/SpWJKwBc



On Thu, Mar 19, 2015 at 2:45 PM, Tom McDermott <address@hidden> wrote:
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 <address@hidden> 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 <address@hidden> wrote:
On Wed, Mar 18, 2015 at 11:47 PM, ben Gee <address@hidden> 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
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

[Prev in Thread] Current Thread [Next in Thread]