I got it, just need the destructor to be public.

Nada ABDELKADER <nada.abdelka...@etu.upmc.fr> a écrit :

Hi,

I've added a module 'sensing' with a "noblock" block 'sensing' but when I tried to make, I got this error:

Building CXX object swig/CMakeFiles/_sensing_swig.dir/sensing_swigPYTHON_wrap.cxx.o In file included from /home/utilisateur/Documents/Work_tx/gr-sensing/build/swig/sensing_swigPYTHON_wrap.cxx:4509:0: /usr/include/boost/checked_delete.hpp: In instantiation of ?void boost::checked_delete(T*) [with T = gr::sensing::sensing]?: /usr/include/boost/smart_ptr/detail/shared_count.hpp:95:13: required from ?boost::detail::shared_count::shared_count(Y*) [with Y = gr::sensing::sensing]? /usr/include/boost/smart_ptr/shared_ptr.hpp:183:50: required from ?boost::shared_ptr<T>::shared_ptr(Y*) [with Y = gr::sensing::sensing; T = gr::sensing::sensing]? /home/utilisateur/Documents/Work_tx/gr-sensing/build/swig/sensing_swigPYTHON_wrap.cxx:5484:111: required from here /home/utilisateur/Documents/Work_tx/gr-sensing/include/sensing/sensing.h:38:7: erreur: ?gr::sensing::sensing::~sensing()? is private
In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:30:0,
                 from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/gr_types.h:27,
from /home/utilisateur/Documents/Work_tx/gr-sensing/build/swig/sensing_swigPYTHON_wrap.cxx:3113:
/usr/include/boost/checked_delete.hpp:34:5: erreur: à l'intérieur du contexte
make[2]: *** [swig/CMakeFiles/_sensing_swig.dir/sensing_swigPYTHON_wrap.cxx.o] Erreur 1
make[1]: *** [swig/CMakeFiles/_sensing_swig.dir/all] Erreur 2
make: *** [all] Erreur 2


Help plz. Any Idea?

Regards,
Nada

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



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




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



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

Reply via email to