On 11/22/2011 11:31 AM, Rachel Kroll wrote: >> How do you compile this? I put it in a file and made a couple fo quick >> stabs at it.
I can duplicate the hang. Also it looks like it does not hang using the single threaded scheduler. (Which I guess we expect) You can use the single threaded scheduler by setting an environment variable: export GR_SCHEDULER=STS and running your program. Philip > > My Makefile is just: > > grlock: grlock.cc > g++ -g -Wall -I/usr/local/include/gnuradio -o grlock grlock.cc \ > -lgnuradio-core -Xlinker -rpath /usr/local/lib64 > > You probably won't need the -Xlinker -rpath stuff unless your machine has > some weird library path issues. > >> This raises a question, the standard search paths find this file, but >> the gnuradio headers have lines like: >> >> #include <gr_core_api.h> > > I'm not a fan of that include scheme either, but I work with what I have. > > The least I can do is not propagate it into my own code, which is why I have > the leading "gnuradio/" on those paths. _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
