On Tue, May 13, 2014 at 9:24 AM, xianda <wangxianda920...@163.com> wrote:
> Hello > Thank you for your reply. > 1.Because i just know a little about the cmake.If i put my > document into another folder,maybe i should write the CMakeLists.txt.But if > i put my document into the uhd/host/examples,maybe i change a little of the > CMakeLists.txt.Is it right? > Yes, cribbing from an existing file is an easy way to get started. But this is really now a cmake issue, not a GNU Radio one. If modifying an existing cmake file doesn't work or you need more help, you'll have to study cmake a bit to work with it. > 2.Can you give me some advices about my new transmit > document,namely,mytx.cpp? > 3.What is the difference between gr-uhd and uhd?Gr-uhd is just a > part of UHD?Is it right? > Thank you very much. > gr-uhd is the wrapper around the library that allows it to fit into and be used by GNU Radio. UHD is the external driver for the OS to talk to USRP devices. Tom > Best regards > 在 2014-05-13 16:02:57,"Martin Braun" <martin.br...@ettus.com> 写道: > >On 13.05.2014 09:35, 王先达 wrote: > >> Hello all > >> I write a c++ document mytx.cpp and i place it into the > >> uhd/host/build/examples.And then what should i do to let it run?Should i > >> type the "make" command in the shell or do other things?Thank you. > >> Best regards, > >> Xianda > > > >You don't have to put it in examples, but you can use the CMakeLists.txt > >file in this directory to figure out how to set up a build environment. > > > >The usual flow of cmake, make will compile your program then. > > > >Martin > > > > > >_______________________________________________ > >Discuss-gnuradio mailing list > >Discuss-gnuradio@gnu.org > >https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio