On Tue, Sep 03, 2013 at 10:35:56AM -0400, Tom Rondeau wrote:
> > matt@matt-Inspiron-1525:~/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: pgp4Px9LYemYs.pgp
Description: PGP signature

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to