On 02/20/2012 01:18 PM, Ben Hilburn wrote:
> Stefan -
> 
> The command listed in that FAQ relies on the use of a CMake toolchain file,
> which is distributed with GNU Radio.
> 
> A recent update (to CMake, possibly), seems to have broken use of the
> toolchain file -- all of the flags inside of it will get ignored.
> 
> Instead of passing the -DCMAKE_TOOLCHAIN_FILE flag, I would recommend
> copying the flags out of the toolchain file, and put them on the CMake line
> manually.  Depending on what version of CMake you have, this might be
> unnecessary - but it is easy to workaround, and this way, you can be sure.

OK, it looks like cmake requires clubbing with a blunt instrument when
trying to use FLAGS in a toolchain file.

Can the people having issues try this fix and let me know if it works:

https://github.com/balister/GNU-Radio/commit/895d2373c2adcc4a0ce949f320d9d92ee672178a

It worked for me, but I did this against a repo on my desktop, so I hope
I avoided a typo :)

Philip

> 
> Cheers,
> Ben
> 
> On Mon, Feb 20, 2012 at 9:04 AM, Stefan Ott <o...@iam.unibe.ch> wrote:
> 
>> On Mon, Feb 20, 2012 at 17:55, Tom Rondeau <t...@trondeau.com> wrote:
>>>
>>> Try to use cmake instead of configure to build GNU Radio. Check out the
>> "How
>>> do I install GNU Radio from source?" section
>>> on: http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ.
>>
>> Ok, thank you, I'll try that.
>>
>> cheers
>> --
>> Stefan Ott
>> Communication and Distributed Systems
>> Institute of Computer Science and Applied Mathematics
>> University of Bern
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
> 
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to