discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Gnuradio locking up


From: Philip Balister
Subject: Re: [Discuss-gnuradio] Gnuradio locking up
Date: Tue, 22 Nov 2011 13:28:44 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

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.



reply via email to

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