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 <address@hidden>
To: Tom McDermott <address@hidden>
Cc: "address@hidden" <address@hidden>
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