discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Prevented in-tree build. This is bad practice. ??


From: Martin Braun (CEL)
Subject: Re: [Discuss-gnuradio] Prevented in-tree build. This is bad practice. ???
Date: Wed, 4 Dec 2013 11:03:59 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Dec 04, 2013 at 11:12:01AM +0200, Stefan Gofferje wrote:
> On 12/04/2013 10:53 AM, Martin Braun (CEL) wrote:
> > On Wed, Dec 04, 2013 at 10:37:58AM +0200, Stefan Gofferje wrote:
> >> what is THAT??? Occurred with the 3.7.2 download package...
> >>
> >> enterprise:/usr/src/gr-build # cmake ../gnuradio-3.7.2
> >> CMake Error at CMakeLists.txt:22 (message):
> >>   Prevented in-tree build.  This is bad practice.
> > 
> > It looks like you tried an in-tree build, which cmake prevented you from
> > doing, because it's bad practice :)
> > 
> > You'll need to clean the repo (if nothing's changed, git clean -xdf will
> > do) and then rebuild *outside* your tree. Follow the build instructions,
> > and make sure you call cmake in a separate build folder.
> 
> Did you actually read what I posted?
> I was calling "cmake ../gnuradio-3.7.2" while being in the directory
> "/usr/src/gr-build".

Yes, Stefan, I read what you posted. Did you read what I just posted?
About making sure you're helping people help you solve your problems?
Also remember, this thread isn't only for your benefit, but for others
with similar problems who might read this now or find it in the archives
later.

Now, the most common cause for your problem is leftover cmake files.
As I said, clean out the source dir before continuing.

> And I didn't use git but the download package from the gnuradio website.

I'm assuming you're able to ignore my suggestion in that case and clean
the directory using other methods.

MB

-- 
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

Attachment: pgpfmYL6t3xGM.pgp
Description: PGP signature


reply via email to

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