Thanks, Tim.
Yes - I had installed zeroc-ice after building.
Now, I removed CMakeCache.txt and redid cmake ../ -DENABLE_PERFORMANCE_COUNTERS=On
which cmaked correctly.
Now when I run make, I am getting a large number of compile errors, enough to scroll off the terminal screen.
Here's the tail end of the make error:
/usr/include/c++/4.8/bits/stl_tree.h:1127:23: required from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type) [with _Key = int; _Val = std::pair<const int, IceInternal::Handle<Ice::Object> >; _KeyOfValue = std::_Select1st<std::pair<const int, IceInternal::Handle<Ice::Object> > >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, IceInternal::Handle<Ice::Object> > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const int, IceInternal::Handle<Ice::Object> > >*]'
/usr/include/c++/4.8/bits/stl_tree.h:671:28: required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::~_Rb_tree() [with _Key = int; _Val = std::pair<const int, IceInternal::Handle<Ice::Object> >; _KeyOfValue = std::_Select1st<std::pair<const int, IceInternal::Handle<Ice::Object> > >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, IceInternal::Handle<Ice::Object> > >]'
/usr/include/c++/4.8/bits/stl_map.h:96:11: required from here
/usr/include/Ice/Handle.h:106:30: error: 'upCast' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
upCast(this->_ptr)->__decRef();
^
In file included from /usr/include/Ice/Ice.h:30:0,
from /home/tom/gnuradio/gnuradio-runtime/include/gnuradio/ice_application_base.h:33,
from /home/tom/gnuradio/gnuradio-runtime/lib/controlport/ice_application_base.cc:23:
/usr/include/Ice/Connection.h:92:29: note: 'Ice::LocalObject* IceInternal::upCast(Ice::UDPConnectionInfo*)' declared here, later in the translation unit
ICE_API ::Ice::LocalObject* upCast(::Ice::UDPConnectionInfo*);
^
make[2]: *** [gnuradio-runtime/lib/CMakeFiles/gnuradio-runtime.dir/controlport/ice_application_base.cc.o] Error 1
make[1]: *** [gnuradio-runtime/lib/CMakeFiles/gnuradio-runtime.dir/all] Error 2
make: *** [all] Error 2
From: Tim Newman <tim.newman@gmail.com>
To: Tom McDermott <tom.mcdermott4@yahoo.com>
Cc: "discuss-gnuradio@gnu.org" <discuss-gnuradio@gnu.org>
Sent: Saturday, February 8, 2014 5:46 AM
Subject: Re: [Discuss-gnuradio] Control Port, Perf Mon for GRC - errors
Yes - I had installed zeroc-ice after building.
Now, I removed CMakeCache.txt and redid cmake ../ -DENABLE_PERFORMANCE_COUNTERS=On
which cmaked correctly.
Now when I run make, I am getting a large number of compile errors, enough to scroll off the terminal screen.
Here's the tail end of the make error:
/usr/include/c++/4.8/bits/stl_tree.h:1127:23: required from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type) [with _Key = int; _Val = std::pair<const int, IceInternal::Handle<Ice::Object> >; _KeyOfValue = std::_Select1st<std::pair<const int, IceInternal::Handle<Ice::Object> > >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, IceInternal::Handle<Ice::Object> > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const int, IceInternal::Handle<Ice::Object> > >*]'
/usr/include/c++/4.8/bits/stl_tree.h:671:28: required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::~_Rb_tree() [with _Key = int; _Val = std::pair<const int, IceInternal::Handle<Ice::Object> >; _KeyOfValue = std::_Select1st<std::pair<const int, IceInternal::Handle<Ice::Object> > >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, IceInternal::Handle<Ice::Object> > >]'
/usr/include/c++/4.8/bits/stl_map.h:96:11: required from here
/usr/include/Ice/Handle.h:106:30: error: 'upCast' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
upCast(this->_ptr)->__decRef();
^
In file included from /usr/include/Ice/Ice.h:30:0,
from /home/tom/gnuradio/gnuradio-runtime/include/gnuradio/ice_application_base.h:33,
from /home/tom/gnuradio/gnuradio-runtime/lib/controlport/ice_application_base.cc:23:
/usr/include/Ice/Connection.h:92:29: note: 'Ice::LocalObject* IceInternal::upCast(Ice::UDPConnectionInfo*)' declared here, later in the translation unit
ICE_API ::Ice::LocalObject* upCast(::Ice::UDPConnectionInfo*);
^
make[2]: *** [gnuradio-runtime/lib/CMakeFiles/gnuradio-runtime.dir/controlport/ice_application_base.cc.o] Error 1
make[1]: *** [gnuradio-runtime/lib/CMakeFiles/gnuradio-runtime.dir/all] Error 2
make: *** [all] Error 2
From: Tim Newman <tim.newman@gmail.com>
To: Tom McDermott <tom.mcdermott4@yahoo.com>
Cc: "discuss-gnuradio@gnu.org" <discuss-gnuradio@gnu.org>
Sent: Saturday, February 8, 2014 5:46 AM
Subject: Re: [Discuss-gnuradio] Control Port, Perf Mon for GRC - errors
Are you installing Ice after you build gnuradio? If so, then gnuradio won't enable the controlport modules during the gnuradio build because it doesnt detect Ice.
Tim
On Fri, Feb 7, 2014 at 11:10 PM, Tom McDermott <tom.mcdermott4@yahoo.com> wrote:
Having some issues with Control Port and Perf Mon in GRC.
1. Built Latest Gnuradio 3.7.2 from git.enabled performance counters in the cmake command linecmake ../ -DENABLE_PERFORMANCE_COUNTERS=Onthen successful make, install, ldconfig, and gnuradio runs fine.2. Edited the gnuradio-runtime-conf file to enable PerfCounters andControlPort, Edges.3. Installed zeroc-ice (ver 3.4).If I add both a ControlPort Complex Probe and a CtrlPort Monitor, get thefollowing error:Traceback (most recent call last):
File "home/tom//mod_phasing_test.py", line 17, in <module>
from gnuradio.ctrlport.monitor import *
ImportError: No module named ctrlport.monitorIf I delete the CtrlPort Monitor, leaving only the probe, I get the following error:Traceback (most recent call last):
File "/home/tom/mod_phasing_test.py", line 231, in <module>
tb = mod_phasing_test()
File "/home/tom/mod_phasing_test.py", line 144, in __init__
self.blocks_ctrlport_probe_c_0 = blocks.ctrlport_probe_c("constellation", "Constellation Points")
AttributeError: 'module' object has no attribute 'ctrlport_probe_c'Are there other configuration steps needed? Does zeroc-ice need to be configured in some manner?-- Tom, N5EG
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment