discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Adding Accessor Methods in GR 3.7


From: Ed Criscuolo
Subject: Re: [Discuss-gnuradio] Adding Accessor Methods in GR 3.7
Date: Fri, 6 Jun 2014 15:37:22 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5

On 6/6/14 3:20 PM, Tom Rondeau wrote:
On Fri, Jun 6, 2014 at 3:02 PM, Ed Criscuolo
<address@hidden <mailto:address@hidden>> wrote:

    On 6/6/14 2:30 PM, Ed Criscuolo wrote:

        On 6/6/14 1:50 PM, Martin Braun wrote:


            You also need to add the accessor in the include/*.h file as
            a virtual
            member function.


        Thanks Martin.  That did it, although I had to rerun cmake to get it
        to propagate into the swig files.


    Guess I spoke too soon. :(  Although it worked fine on my OSX platform,
    as soon as I moved it to an Ubuntu 12.04LTS platform and tried to
    build it in a fresh build directory, the cmake ran ok but the make
    failed somewhere in the swig stuff, on a cryptically named xml file
    "_8__acq__test__1__cc_8h.xml"  with the error

    " 'NoneType' object has no attribute 'compounddef' "

    Prior to this change, I had been moving this OOT module
    back and forth successfully between the two systems.

    @(+.+)@ Ed



Can you post more of the output so we can see where this is being
generated (maybe post the build log to pastebin or something)? Off the
top of my head, that doesn't look familiar.

Tom


It's not real long, so I'll post it here

================================================
address@hidden:~/Gnu-Radio/gr-tdrss/build$ make
Scanning dependencies of target gnuradio-tdrss
[ 5%] Building CXX object lib/CMakeFiles/gnuradio-tdrss.dir/acq_test_1_cc_impl.cc.o
Linking CXX shared library libgnuradio-tdrss.so
[ 10%] Built target gnuradio-tdrss
Linking CXX executable test-tdrss
[ 21%] Built target test-tdrss
[ 26%] Built target _tdrss_swig_swig_tag
[ 31%] Built target _tdrss_swig_doc_tag
[ 36%] Generating tdrss_swig_doc.i
Error in xml in file /home/edwardc/Gnu-Radio/gr-tdrss/build/swig/tdrss_swig_doc_swig_docs/xml/_8__acq__test__1__cc_8h.xml
Traceback (most recent call last):
File "/home/edwardc/Gnu-Radio/gr-tdrss/docs/doxygen/swig_doc.py", line 255, in <module> make_swig_interface_file(di, swigdocfilename, custom_output=custom_output) File "/home/edwardc/Gnu-Radio/gr-tdrss/docs/doxygen/swig_doc.py", line 198, in make_swig_interface_file
    blocks = di.in_category(Block)
File "/home/edwardc/Gnu-Radio/gr-tdrss/docs/doxygen/doxyxml/base.py", line 140, in in_category
    self.confirm_no_error()
File "/home/edwardc/Gnu-Radio/gr-tdrss/docs/doxygen/doxyxml/base.py", line 206, in confirm_no_error
    self.check_parsed()
File "/home/edwardc/Gnu-Radio/gr-tdrss/docs/doxygen/doxyxml/base.py", line 203, in check_parsed
    self._parse()
File "/home/edwardc/Gnu-Radio/gr-tdrss/docs/doxygen/doxyxml/doxyindex.py", line 51, in _parse
    self._members += converted.members()
File "/home/edwardc/Gnu-Radio/gr-tdrss/docs/doxygen/doxyxml/base.py", line 174, in members
    self.confirm_no_error()
File "/home/edwardc/Gnu-Radio/gr-tdrss/docs/doxygen/doxyxml/base.py", line 206, in confirm_no_error
    self.check_parsed()
File "/home/edwardc/Gnu-Radio/gr-tdrss/docs/doxygen/doxyxml/base.py", line 203, in check_parsed
    self._parse()
File "/home/edwardc/Gnu-Radio/gr-tdrss/docs/doxygen/doxyxml/doxyindex.py", line 163, in _parse
    self.set_descriptions(self._retrieved_data.compounddef)
AttributeError: 'NoneType' object has no attribute 'compounddef'
make[2]: *** [swig/tdrss_swig_doc.i] Error 1
make[1]: *** [swig/CMakeFiles/_tdrss_swig.dir/all] Error 2
make: *** [all] Error 2
address@hidden:~/Gnu-Radio/gr-tdrss/build$


================================================



reply via email to

[Prev in Thread] Current Thread [Next in Thread]