[Top][All Lists]

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

Re: [Discuss-gnuradio] problem building gr-howto-write-a-block-cmake

From: Josh Blum
Subject: Re: [Discuss-gnuradio] problem building gr-howto-write-a-block-cmake
Date: Tue, 20 Mar 2012 15:05:48 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

On 03/20/2012 03:02 PM, Achilleas Anastasopoulos wrote:
> Success!
> Everything works fine as long as I make the following change on the top
> CMakeLists.txt file in gr-howto-write-a-block-cmake
> from
> project(gr-howto-write-a-block CXX)
> to
> project(gr-howto-write-a-block CXX C)
> Cmake is now finding the PythonLibs at:
> /usr/lib64/libpython2.7.so
> I have no idea why this works......

Hah, I thought of this to myself and said no way... Good find.

The check for python libs (in the version you have) may be using one of
the macros that uses a C compiler. The call: enable_language(C) would
also be an equivalent to this.


reply via email to

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