All,
I've added basic sample rate awareness to gr-fosphor via constructor parameters and a set_rate() call. The GRC blocks now take a sample rate parameter as well. The sink also creates an appropriate legend (kHz, MHz, etc.) and applies it to the plot. I've tested it with WX, Qt, and GLFW versions of the sink.
Sylvain, if you'd like to pull it back, it's in a Github repo at git@github.com:bistromath/gr-fosphor.git. I've also added a CMake check for the Python OpenGL bindings, as I somehow managed to not have them installed on my new machine.
Best,
Nick
Nick
On Tue, Oct 29, 2013 at 8:18 PM, Louis Brown <rfengr@everestkc.net> wrote:
Thanks, that worked. It complied without GLFW but it errs at run time
with:
ImportError: libgnuradio-fosphor-3.7.0git.so.0.0.0: cannot open shared
object file: No such file or directory
I passed the GLFW directories to cmake, and edited line 26
of glfw_sink_c_impl.cc to remove the directory name preceding the header
file, the but then it errs at complile with:
/usr/local/src/gr-fosphor/lib/glfw_sink_c_impl.cc:51:48: error:
'glfwGetFramebufferSize' was not declared in this scope
glfwGetFramebufferSize(this->d_window, &w, &h);
Just strange that cmake is not picking up the libraries. My editing
probably messed something up.
> Try passing in the full path to libOpenCL.so to cmake:
>
> -DOPENCL_LIBRARY=/path/to/libOpenCL.so
>
> -josh
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment