|
From: | Dave |
Subject: | Re: [Discuss-gnuradio] Installation of gr-fosphor via PyBombs |
Date: | Sat, 9 Jul 2016 10:49:33 -0700 |
Cinaed, Sylvain, Thanks again for all your help. It is clear I have a lot to learn but I appreciate your willingness to step in.
I checked and libglfw3-dev is installed.
This is what I get when I run pybombs install gr-fosphor:
address@hidden:~/pybombsprefix1/bin$ pybombs install gr-fosphor
PyBOMBS - INFO - PyBOMBS Version 2.1.1a
Install tree:
|
\- gr-fosphor
PyBOMBS.install_manager - INFO - Installing package: gr-fosphor
Cloning: (100%) [==================================================================================================]
Configuring: (100%) [==================================================================================================]
Building: (100%) [==================================================================================================]
Installing: (100%) [==================================================================================================]
PyBOMBS.install_manager - INFO - Installation successful.
I don't get the messages you mention below (in reference to Gnuradio enabled and disabled components).
I do see fosphor sink (GLFW), QT fosphor sink, and WX fosphor sink in gnuradio-companion however they don't seem to work. I get the following message:
X Error: BadValue (integer parameter out of range for operation) 2
Extension: 154 (Uknown extension)
Minor opcode: 3 (Unknown request)
Resource id: 0x0
gr::log :INFO: audio source - Audio sink arch: alsa
QGLContext::makeCurrent(): Cannot make invalid context current.
I also tried running osmocom_fft and I get the same error with or without the –F option. I had never tried osmocom_fft before so I don’t know if it had once worked before all the fosphor install activitiy.
address@hidden:~/pybombsprefix1/bin$ osmocom_fft
linux; GNU C++ version 5.3.1 20160413; Boost_105800; UHD_003.010.000.git-0-ef57ffcb
gr-osmosdr v0.1.4-72-g164a09fc (0.1.5git) gnuradio v3.7.10-1-ge55666b7
built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy redpitaya
-- USRP-B100 clock control: 10
-- r_counter: 2
-- a_counter: 0
-- b_counter: 20
-- prescaler: 8
-- vco_divider: 5
-- chan_divider: 5
-- vco_rate: 1600.000000MHz
-- chan_rate: 320.000000MHz
-- out_rate: 64.000000MHz
--
-- Using subdev spec 'A:0'.
The program 'osmocom_fft' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 496 error_code 2 request_code 154 minor_code 24)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
>>> Done (return code -11)
Thanks, Dave
-----Original Message-----
From: Cinaed Simson [mailto:address@hidden]
Sent: Saturday, July 09, 2016 8:38 AM
To: Dave; 'Sylvain Munaut'
Cc: 'GNURadio Discussion List'
Subject: Re: [Discuss-gnuradio] Installation of gr-fosphor via PyBombs
On 07/09/2016 01:52 AM, Dave wrote:
> It looks like libfreetype6-dev, ocl-icd-opencl-dev, and libqt4-opengl-dev are already installed. I can't find libghc-glfw-dev in my package manager.
Okay, try
apt-get install libglfw3-dev
If its not already installed, install it and blow away the build directory and build it again.
Note, when cmake finishes running, it should print out
-- ######################################################
-- # Gnuradio enabled components
-- ######################################################
-- * Python
-- * GLFW
-- * QT
-- * WX
There should be no components under
-- ######################################################
-- # Gnuradio disabled components
-- ######################################################
The GLFW component - or libglfw3-dev - is the OpenGL package.
If GLFW is disabled it will still successfully install but you wont have OpenGL support.
-- Cinaed
>
> Pybombs says the install of gr-fosphor was successful however I can't find an executable on my system. Where would it be located. It does not seem to be anywhere in my pybombs prefix directory or anywhere else on the system that I can find. I see the gr-fosphor folder in my src directory but I don't see any executables.
>
> Thanks, Dave
>
> -----Original Message-----
> From: Cinaed Simson [mailto:address@hidden]
> Sent: Saturday, July 09, 2016 1:24 AM
> To: Sylvain Munaut; Dave
> Cc: GNURadio Discussion List
> Subject: Re: [Discuss-gnuradio] Installation of gr-fosphor via PyBombs
>
> On 07/08/2016 10:55 PM, Sylvain Munaut wrote:
>> Hi,
>>
>>> Your suggestion helped. I got past the x11 error.
>>> Now it fails with this line:
>>> -- Could NOT find OpenCL (missing: OpenCL_LIBRARY
>>> OpenCL_INCLUDE_DIR) I don't see either one of those entries
>>> explicitly in the Ubuntu package manager so I'm not sure what I should load next.
>>
>> Try installing ocl-icd-opencl-dev package
>>
>>
>> Cheers,
>>
>> Sylvain
>> .
>>
>
> After Sylvain's suggestion - which should work - try
>
> apt-get install libqt4-opengl-dev libghc-glfw-dev
>
> If that works, blow away the build directory and then try building it again.
>
>
> -- Cinaed
>
>
> .
>
[Prev in Thread] | Current Thread | [Next in Thread] |