-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Sara,
C++ is a compiled language; you can not execute a source code file. You have to recompile the file by rebuilding GNU Radio. additive_scrambler_bb_impl.cc contains the implementation of the additive_scrambler_bb block, it is not itself executable. You need to have a flowgraph containing that block to test your modified version. I think you should start with a basic C++ tutorial before you try to understand and modify GNU Radio's C++ codebase -- these are very basic concepts you are missing. Greetings, Marcus On 12.04.2014 16:18, Sara Chérif wrote: > I installed GNU RADIO from this link > http://blogs.bu.edu/mhirsch/2012/07/installing-gnu-radio-in-ubuntu-12-04-x64/comment-page-1/ > > I want to test some blocks & see their output to understand them more and > more. for example I opened additive_scrambler_bb c++ codes in > terminal to understand but I want to see how some parameters change > in code when running it . how to output these parameters in > terminal ? Can I write in code "cout" like any c++code? And do I > have to build gnuradio again even if I will erase all my > modifications in code (I don't want these modifications permanently > I want only to output all parameters to understand the block) > > I did the following: editing it using vim > ./additive_scrambler_bb_impl.cc running it to see the output on > terminal using ./additive_scrambler_bb_impl.cc > > but when I ran it in terminal I got this message: bash: > ./additive_scrambler_bb_impl.cc: Permission denied > > Thanks > > > > _______________________________________________ Discuss-gnuradio > mailing list [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTSVj7AAoJEBQ6EdjyzlHtlbIH/2x5VnHdYtdVwcVyo6eOQXwd G56c6M94Hv0IjCaGLegIBIzXvahSzU9Iy6YEg4SyY0OHMgvVMQOqILVIoEqpT6XW mo+iQRUNTeIvHth2jdH+mhV3S4F50+VJNJ6N7vTqwLIBbneutOlCh1ltUbCTXnCc P2BuwctfZssutb1AeYyTFQ1/pOimpIBVicrKrVh8Fe7H+6NEiP4c3YljRWJtbU+T td5qG4WJVsxU3+tpP4PaxZ15x3KS8dfqYAQUL5UzmrpRaob1GbIgkNYtdVgER/6y Pi3YeFwStPFnBzTO+X/wzr9YjC/wRqXF4bA2ZwKsTs/ws6nXfXPXsFo5V/iSeFs= =GESY -----END PGP SIGNATURE----- _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
