discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] trying to do a debug build


From: Martin Braun (CEL)
Subject: Re: [Discuss-gnuradio] trying to do a debug build
Date: Tue, 3 Sep 2013 16:43:47 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Sep 03, 2013 at 10:35:56AM -0400, Tom Rondeau wrote:
> > address@hidden:~/src/gnuradio/build$ cmake ../
> > -DCMAKE_BUILD_TYPE=Debug
> >
> > now i get:
> >
> > CMake Error at CMakeLists.txt:22 (message):
> >   Prevented in-tree build.  This is bad practice.
> > -- Configuring incomplete, errors occurred!
> >
> > i am still missing something here.
> 
> Ok, so it looks like you've copied the source into your build
> directory or something. At least, there's something wrong with your
> directories, the location of the source code, or where you're building
> from.

This can also happen when you called cmake directly from the source dir
at one point. If this is the case, you will have some files in your
source dir (src/gnuradio) which shouldn't be there. If you haven't
touched anything, the easiest way to get rid of these is

$ git clean -xdf

If you don't want to do that, clear out anything from the source dir
related to cmake *except* for the directory cmake/ and the file
CMakeLists.txt.

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: pgp328bfg5Je2.pgp
Description: PGP signature


reply via email to

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