discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] cmake build gnuradio on FreeBSD


From: Andrew Davis
Subject: Re: [Discuss-gnuradio] cmake build gnuradio on FreeBSD
Date: Fri, 13 Jan 2012 09:23:38 -0500

I did that and is works, I was just saying that's the only thing that is keeping it from being a simple "./configure  && make install".

On Thu, Jan 12, 2012 at 8:56 PM, Tom Rondeau <address@hidden> wrote:
On Wed, Jan 11, 2012 at 9:27 PM, Andrew Davis <address@hidden> wrote:
It worked for me other than the qwt so I think so.

Just a quick explanation here. Qwt has a very simple, kind of non-standard installation that's hard to generalize. They don't use standard tools for auto-discovery of the lib or include paths, so we search the "common" locations for it.

You should be able to pass this information to the configure scripts. I don't know what these parameters are off the top of my head, though.

Tom


 
On Wed, Jan 11, 2012 at 12:40 PM, Josh Blum <address@hidden> wrote:


On 01/11/2012 06:55 AM, LRK wrote:
>
>   I do not find anything in the README about qt4 or qwt but they seem
> to be required for gr-qtgui.
>
>   I used portinstall to install py27-qt4 and several hours and 57 packages
> later, cmake could find qt4.
>
>   Then I installed py27-pyqwt and it also installed qwt-5.2.2. Cmake
> still would not find qwt. (QWT_FOUND = FALSE).
>
>   I finally tried adding the QWT_INCLUDE_DIRS line below and cmake now
> finds qwt and shows gr-qtgui to be built. Trying that next.
>
>     cmake \
>       -DCMAKE_INSTALL_PREFIX=$GR_PREFIX \
>       -DQWT_INCLUDE_DIRS=/usr/local/include/qwt \
>       ../
>
>

On this branch, I have 2 patches.
http://gnuradio.org/cgit/jblum.git/commit/?h=freebsd_tweaks&id=ca3868256079060993ebb643e34b39c558052ce0

1) make qwt find script better. Its fixes the need to manually specify
-DQWT_INCLUDE_DIRS

2) Use CLOCK_GETTIME and not MACH_ABSOLUTE_TIME. Question: Did gr-qtgui
compile for you without this change? In other words, does your OS have
mach kernel headers?

-Josh

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


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




reply via email to

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