On 09/03/2013 10:43 AM, Martin Braun (CEL) wrote:
> 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
> 
Hi,
the only other file in src/gnuradio is CMakeCache.txt so i deleted it.
then ran

cmake ../-DCMAKE_BUILD_TYPE=Debug

in build directory.  it is building now. So is all well?





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

Reply via email to