Re: [Discuss-gnuradio] Link libraries to a OOT block

2013-12-11 Thread James Austin
Thanks for the tips, I did get this to work after digging further into the CMake files. I made the static archive work, but it was ugly (recompile with -fPIC, linking with --whole-archive). Changing the build for the the library to produce both an archive and shared library and using the shared li

Re: [Discuss-gnuradio] Link libraries to a OOT block

2013-12-09 Thread Tom Rondeau
On Mon, Dec 9, 2013 at 9:53 AM, James Austin wrote: > Hi Martin, > > I did look through the CMake documentation and was trying different things > with the target_link_libraries tag, with no success. > > What I am trying to do is (and this may be a solved problem already) build a > gnuradio block f

Re: [Discuss-gnuradio] Link libraries to a OOT block

2013-12-09 Thread James Austin
Hi Martin, I did look through the CMake documentation and was trying different things with the target_link_libraries tag, with no success. What I am trying to do is (and this may be a solved problem already) build a gnuradio block for the RFSpaces SDR-IQ receiver. This is mostly for me to become

Re: [Discuss-gnuradio] Link libraries to a OOT block

2013-12-08 Thread Martin Braun (CEL)
On Sat, Dec 07, 2013 at 08:40:45PM -0500, James Austin wrote: > I'm a long time Windows programmer trying to write a gnuradio module to > improve > my Linux development skills. > > I created a gnuradio module following the tutorial that just sends dummy data > back to gnuradio. That works fine, I

[Discuss-gnuradio] Link libraries to a OOT block

2013-12-07 Thread James Austin
Hello, I'm a long time Windows programmer trying to write a gnuradio module to improve my Linux development skills. I created a gnuradio module following the tutorial that just sends dummy data back to gnuradio. That works fine, I can plot the dummy data in my flowgraph and it works and displays