anastas / gr-cdma

a cdma physical layer for Gnuradio
85 stars 39 forks source link

Not open to build package using cmake. #32

Closed shrin18 closed 5 years ago

anastas commented 5 years ago

Do not use relative addresses in your configuration file. Use something like:

/home/yourdirectory/gr-cdma

Achilleas

On Tue, Sep 10, 2019 at 7:48 AM Shrinish Donde notifications@github.com wrote:

Hello,

I have cloned the repo in my home and the path is:

~/gr-cdma.

I have changed the path to ~/gr-cdma"

I get error as such while running make:

In file included from /usr/local/include/gnuradio/block.h:27:0, from /usr/local/include/gnuradio/sync_block.h:27, from /home/rslab/gr-cdma/include/cdma/packet_headerparser_b2.h:26, from /home/rslab/gr-cdma/lib/packet_headerparser_b2_impl.h:25, from /home/rslab/gr-cdma/lib/packet_headerparser_b2_impl.cc:28: /usr/local/include/gnuradio/basic_block.h:94:17: error: ‘rpcbasic_sptr’ was not declared in this scope std::vector d_rpc_vars; // container for all RPC variables ^~~~~ /usr/local/include/gnuradio/basic_block.h:94:17: note: suggested alternative: ‘top_block_sptr’ std::vector d_rpc_vars; // container for all RPC variables ^~~~~ top_block_sptr /usr/local/include/gnuradio/basic_block.h:94:30: error: template argument 1 is invalid std::vector d_rpc_vars; // container for all RPC variables ^ /usr/local/include/gnuradio/basic_block.h:94:30: error: template argument 2 is invalid lib/CMakeFiles/gnuradio-cdma.dir/build.make:86: recipe for target 'lib/CMakeFiles/gnuradio-cdma.dir/packet_headerparser_b2_impl.cc.o' failed make[2]: [lib/CMakeFiles/gnuradio-cdma.dir/packet_headerparser_b2_impl.cc.o] Error 1 CMakeFiles/Makefile2:174: recipe for target 'lib/CMakeFiles/gnuradio-cdma.dir/all' failed make[1]: [lib/CMakeFiles/gnuradio-cdma.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2

Could you suggest something ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/anastas/gr-cdma/issues/32?email_source=notifications&email_token=AACADWCX2EGQHUN3X5FTZBDQI6COVA5CNFSM4IVGTVWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HKNR7ZQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AACADWAIQBSFFOHJAUXWZBDQI6COVANCNFSM4IVGTVWA .