Hi Luis - You'll note in the install instructions < https://wiki.gnuradio.org/index.php/OutOfTreeModules#Using_CMake > that you don't issue the "cmake" command from directly in the top-level OOT directory. Instead you do the following from the top-level OOT directory:{{{ mkdir build cd build cmake [options] .. }}} And, then all of the cmake build files will be located in the "build" directory. Please note the addition of the ".." to the cmake command, as well as the making of, and moving into, the "build" directory. Hope this is useful! - MLD On Tue, Jun 12, 2018, at 11:05 AM, Luis Felipe Albarracin Sanchez wrote:> Hello all, > > I have installed GNURAdio through Pybombs in Ubuntu 16.04, > > I am trying to build some OOT modules, and so i run the line: > > *$cmake -DCMAKE_INSTALL_PREFIX=/home/felipe/prefix/lib/python2.7/dist- > packages/*> > as it is shown in: > > https://wiki.gnuradio.org/index.php/OutOfTreeModules > > I must point out that i did it in the folder of the OOT, for this > example (gr-mer).> > Once i have done this, the following output is shown in the terminal:> > > > felipe@felipe-desktop:~/WLAN/gr-mer$ cmake > -DCMAKE_INSTALL_PREFIX=/home/felipe/prefix/lib/python2.7/dist- > packages/> -- The CXX compiler identification is GNU 5.4.0 > -- The C compiler identification is GNU 5.4.0 > [snip] > -- Configuring done > -- Generating done > *-- Build files have been written to: /home/felipe/WLAN/gr-mer* > > > The issue i haver, is that the buld files are bieng created outside > the build folder. I have tried to run the command:> > *$cmake -DCMAKE_INSTALL_PREFIX=/home/felipe/prefix/lib/python2.7/dist- > packages/*> > Insde the build folder, gut it does not work, it shows a message: > > *CMake Error: The source directory "/home/felipe/WLAN/gr-mer/build" > does not appear to contain CMakeLists.txt. Specify --help for usage, > or press the help button on the CMake GUI.*> > Can someone please help me, how should i place de -DCMAKE INSTALL > PREFIX right?, i am asking this, because i can keep on building (do > the "make") outside the build folder, but it does not work, once i > open GNUradio the OOT Boxes for the Flowgraph are not recognized.>
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
