Feedback on gnome-devel-demos/3.12/guitar-tuner.cpp.page



I might as well share this with you too.

So this is now fixed and I no longer get that error.



Instead, I get the following 51 new errors (see dump below).  And I have no ability to modify the goddam Makefile easily.  At least not with Anjuta.

Here's the build configuration.
'CFLAGS=-g -O0' 'CXXFLAGS=-g -O0 -I/usr/include/gstreamer-0.10 -I/usr/lib/gstreamermm-0.10/include -I-I/usr/lib/libxml++-2.6/include -I/usr/include/gstreamermm-0.10 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml++-2.6' 'JFLAGS=-g -O0' 'FFLAGS=-g -O0'

As seen in this widget.  (Think about it.)




I don't give up easily, but this is f*cking absurd.

Now for the dump, lest anyone doubts.  ;-)  I have gone from one last missing header after more than an hour of trying to get this to comple with Anjuta, which once found leads to...

make  all-recursive
make[1]: Entering directory `/home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/Debug'
Making all in src
make[2]: Entering directory `/home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/Debug/src'
  CXX      main.o
In file included from /usr/include/gstreamermm-0.10/gstreamermm/element.h:30:0,
                 from /usr/include/gstreamermm-0.10/gstreamermm/bin.h:29,
                 from /usr/include/gstreamermm-0.10/gstreamermm.h:65,
                 from /home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/src/main.cc:23:
/usr/include/gstreamermm-0.10/gstreamermm/object.h:398:28: error: ‘GstXmlNodePtr’ was not declared in this scope
   Glib::SignalProxy1< void,GstXmlNodePtr > signal_object_saved();
                            ^
/usr/include/gstreamermm-0.10/gstreamermm/object.h:398:42: error: template argument 2 is invalid
   Glib::SignalProxy1< void,GstXmlNodePtr > signal_object_saved();
                                          ^
/usr/include/gstreamermm-0.10/gstreamermm/object.h:441:32: error: ‘GstXmlNodePtr’ has not been declared
   virtual void on_object_saved(GstXmlNodePtr xml_node);
                                ^
In file included from /usr/include/gstreamermm-0.10/gstreamermm/event.h:30:0,
                 from /usr/include/gstreamermm-0.10/gstreamermm/element.h:34,
                 from /usr/include/gstreamermm-0.10/gstreamermm/bin.h:29,
                 from /usr/include/gstreamermm-0.10/gstreamermm.h:65,
                 from /home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/src/main.cc:23:
/usr/include/gstreamermm-0.10/gstreamermm/miniobject.h:46:11: error: ‘GstMiniObjectClass’ does not name a type
   typedef GstMiniObjectClass BaseClassType;
           ^
In file included from /usr/include/gstreamermm-0.10/gstreamermm/element.h:34:0,
                 from /usr/include/gstreamermm-0.10/gstreamermm/bin.h:29,
                 from /usr/include/gstreamermm-0.10/gstreamermm.h:65,
                 from /home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/src/main.cc:23:
/usr/include/gstreamermm-0.10/gstreamermm/event.h:55:22: error: ‘GST_EVENT_NEWSEGMENT’ was not declared in this scope
   EVENT_NEWSEGMENT = GST_EVENT_NEWSEGMENT,
                      ^
In file included from /usr/include/gstreamermm-0.10/gstreamermm/message.h:34:0,
                 from /usr/include/gstreamermm-0.10/gstreamermm/element.h:35,
                 from /usr/include/gstreamermm-0.10/gstreamermm/bin.h:29,
                 from /usr/include/gstreamermm-0.10/gstreamermm.h:65,
                 from /home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/src/main.cc:23:
/usr/include/gstreamermm-0.10/gstreamermm/query.h:136:11: error: ‘GstQueryTypeDefinition’ does not name a type
   typedef GstQueryTypeDefinition BaseObjectType;
           ^
/usr/include/gstreamermm-0.10/gstreamermm/query.h:150:38: error: ‘GstQueryTypeDefinition’ does not name a type
   explicit QueryTypeDefinition(const GstQueryTypeDefinition* castitem);
                                      ^
/usr/include/gstreamermm-0.10/gstreamermm/query.h:150:62: error: ISO C++ forbids declaration of ‘castitem’ with no type [-fpermissive]
   explicit QueryTypeDefinition(const GstQueryTypeDefinition* castitem);
                                                              ^
In file included from /usr/include/gstreamermm-0.10/gstreamermm.h:66:0,
                 from /home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/src/main.cc:23:
/usr/include/gstreamermm-0.10/gstreamermm/buffer.h:61:26: error: ‘GST_MINI_OBJECT_FLAG_READONLY’ was not declared in this scope
   BUFFER_FLAG_READONLY = GST_MINI_OBJECT_FLAG_READONLY,
                          ^
/usr/include/gstreamermm-0.10/gstreamermm/buffer.h:62:24: error: ‘GST_MINI_OBJECT_FLAG_RESERVED1’ was not declared in this scope
   BUFFER_FLAG_MEDIA4 = GST_MINI_OBJECT_FLAG_RESERVED1,
                        ^
In file included from /usr/include/gstreamermm-0.10/gstreamermm.h:67:0,
                 from /home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/src/main.cc:23:
/usr/include/gstreamermm-0.10/gstreamermm/bufferlist.h:243:11: error: ‘GstBufferListIterator’ does not name a type
   typedef GstBufferListIterator BaseObjectType;
           ^
/usr/include/gstreamermm-0.10/gstreamermm/bufferlist.h:258:52: error: expected ‘)’ before ‘*’ token
   explicit BufferListIterator(GstBufferListIterator* castitem,
                                                    ^
/usr/include/gstreamermm-0.10/gstreamermm/bufferlist.h:265:3: error: ‘GstBufferListIterator’ does not name a type
   GstBufferListIterator* gobj()
   ^
/usr/include/gstreamermm-0.10/gstreamermm/bufferlist.h:269:9: error: ‘GstBufferListIterator’ does not name a type
   const GstBufferListIterator* gobj() const
         ^
/usr/include/gstreamermm-0.10/gstreamermm/bufferlist.h:418:3: error: ‘GstBufferListIterator’ does not name a type
   GstBufferListIterator* gobject_;      // The C object.
   ^
/usr/include/gstreamermm-0.10/gstreamermm/bufferlist.h:423:20: error: ‘GstBufferListIterator’ has not been declared
   void set_gobject(GstBufferListIterator* castitem, bool take_ownership = true);
                    ^
In file included from /usr/include/gstreamermm-0.10/gstreamermm.h:99:0,
                 from /home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/src/main.cc:23:
/usr/include/gstreamermm-0.10/gstreamermm/tagsetter.h:69:11: error: ‘GstTagSetterIFace’ does not name a type
   typedef GstTagSetterIFace BaseClassType;
           ^
In file included from /usr/include/gstreamermm-0.10/gstreamermm/xml.h:29:0,
                 from /usr/include/gstreamermm-0.10/gstreamermm.h:106,
                 from /home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/src/main.cc:23:
/usr/include/gstreamer-0.10/gst/gstxml.h:58:3: error: ‘xmlNsPtr’ does not name a type
   xmlNsPtr ns;
   ^
/usr/include/gstreamer-0.10/gst/gstxml.h:68:66: error: ‘xmlNodePtr’ has not been declared
   void (*object_loaded)         (GstXML *xml, GstObject *object, xmlNodePtr self);
                                                                  ^
/usr/include/gstreamer-0.10/gst/gstxml.h:69:66: error: ‘xmlNodePtr’ has not been declared
   void (*object_saved)          (GstXML *xml, GstObject *object, xmlNodePtr self);
                                                                  ^
/usr/include/gstreamer-0.10/gst/gstxml.h:78:1: error: ‘xmlDocPtr’ does not name a type
 xmlDocPtr gst_xml_write  (GstElement *element);
 ^
/usr/include/gstreamer-0.10/gst/gstxml.h:85:42: error: ‘xmlDocPtr’ has not been declared
 gboolean gst_xml_parse_doc (GstXML *xml, xmlDocPtr doc, const guchar *root);
                                          ^
/usr/include/gstreamer-0.10/gst/gstxml.h:93:35: error: ‘xmlNodePtr’ was not declared in this scope
 GstElement* gst_xml_make_element (xmlNodePtr cur, GstObject *parent);
                                   ^
/usr/include/gstreamer-0.10/gst/gstxml.h:93:61: error: expected primary-_expression_ before ‘*’ token
 GstElement* gst_xml_make_element (xmlNodePtr cur, GstObject *parent);
                                                             ^
/usr/include/gstreamer-0.10/gst/gstxml.h:93:62: error: ‘parent’ was not declared in this scope
 GstElement* gst_xml_make_element (xmlNodePtr cur, GstObject *parent);
                                                              ^
/usr/include/gstreamer-0.10/gst/gstxml.h:93:68: error: _expression_ list treated as compound _expression_ in initializer [-fpermissive]
 GstElement* gst_xml_make_element (xmlNodePtr cur, GstObject *parent);
                                                                    ^
In file included from /usr/include/gstreamermm-0.10/gstreamermm.h:106:0,
                 from /home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/src/main.cc:23:
/usr/include/gstreamermm-0.10/gstreamermm/xml.h:122:10: error: ‘xmlDocPtr’ does not name a type
   static xmlDocPtr write(const Glib::RefPtr<const Gst::Element>& element);
          ^
/usr/include/gstreamermm-0.10/gstreamermm/xml.h:221:61: error: ‘xmlNodePtr’ was not declared in this scope
   Glib::SignalProxy2< void,const Glib::RefPtr<Gst::Object>&,xmlNodePtr > signal_object_loaded();
                                                             ^
/usr/include/gstreamermm-0.10/gstreamermm/xml.h:221:72: error: template argument 3 is invalid
   Glib::SignalProxy2< void,const Glib::RefPtr<Gst::Object>&,xmlNodePtr > signal_object_loaded();
                                                                        ^
/usr/include/gstreamermm-0.10/gstreamermm/xml.h:234:74: error: ‘xmlNodePtr’ has not been declared
   virtual void on_object_loaded(const Glib::RefPtr<Gst::Object>& object, xmlNodePtr xml_node);
                                                                          ^
In file included from /usr/include/gstreamer-0.10/gst/pbutils/pbutils.h:31:0,
                 from /usr/include/gstreamermm-0.10/gstreamermm/discoverer.h:31,
                 from /usr/include/gstreamermm-0.10/gstreamermm.h:122,
                 from /home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/src/main.cc:23:
/usr/include/gstreamer-0.10/gst/pbutils/gstdiscoverer.h:35:9: error: ‘GstMiniObjectClass’ does not name a type
 typedef GstMiniObjectClass GstDiscovererStreamInfoClass;
         ^
/usr/include/gstreamer-0.10/gst/pbutils/gstdiscoverer.h:83:9: error: ‘GstMiniObjectClass’ does not name a type
 typedef GstMiniObjectClass GstDiscovererContainerInfoClass;
         ^
/usr/include/gstreamer-0.10/gst/pbutils/gstdiscoverer.h:104:9: error: ‘GstMiniObjectClass’ does not name a type
 typedef GstMiniObjectClass GstDiscovererAudioInfoClass;
         ^
/usr/include/gstreamer-0.10/gst/pbutils/gstdiscoverer.h:129:9: error: ‘GstMiniObjectClass’ does not name a type
 typedef GstMiniObjectClass GstDiscovererVideoInfoClass;
         ^
/usr/include/gstreamer-0.10/gst/pbutils/gstdiscoverer.h:159:9: error: ‘GstMiniObjectClass’ does not name a type
 typedef GstMiniObjectClass GstDiscovererSubtitleInfoClass;
         ^
/usr/include/gstreamer-0.10/gst/pbutils/gstdiscoverer.h:202:9: error: ‘GstMiniObjectClass’ does not name a type
 typedef GstMiniObjectClass GstDiscovererInfoClass;
         ^
In file included from /usr/include/gstreamer-0.10/gst/pbutils/pbutils.h:32:0,
                 from /usr/include/gstreamermm-0.10/gstreamermm/discoverer.h:31,
                 from /usr/include/gstreamermm-0.10/gstreamermm.h:122,
                 from /home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/src/main.cc:23:
/usr/include/gstreamer-0.10/gst/pbutils/encoding-profile.h:47:9: error: ‘GstMiniObjectClass’ does not name a type
 typedef GstMiniObjectClass GstEncodingProfileClass;
         ^
/usr/include/gstreamer-0.10/gst/pbutils/encoding-profile.h:66:9: error: ‘GstEncodingProfileClass’ does not name a type
 typedef GstEncodingProfileClass GstEncodingContainerProfileClass;
         ^
/usr/include/gstreamer-0.10/gst/pbutils/encoding-profile.h:85:9: error: ‘GstEncodingProfileClass’ does not name a type
 typedef GstEncodingProfileClass GstEncodingVideoProfileClass;
         ^
/usr/include/gstreamer-0.10/gst/pbutils/encoding-profile.h:104:9: error: ‘GstEncodingProfileClass’ does not name a type
 typedef GstEncodingProfileClass GstEncodingAudioProfileClass;
         ^
In file included from /usr/include/gstreamer-0.10/gst/pbutils/pbutils.h:33:0,
                 from /usr/include/gstreamermm-0.10/gstreamermm/discoverer.h:31,
                 from /usr/include/gstreamermm-0.10/gstreamermm.h:122,
                 from /home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/src/main.cc:23:
/usr/include/gstreamer-0.10/gst/pbutils/encoding-target.h:92:9: error: ‘GstMiniObjectClass’ does not name a type
 typedef GstMiniObjectClass GstEncodingTargetClass;
         ^
In file included from /usr/include/gstreamermm-0.10/gstreamermm.h:123:0,
                 from /home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/src/main.cc:23:
/usr/include/gstreamermm-0.10/gstreamermm/discovererinfo.h:35:9: error: ‘GstMiniObjectClass’ does not name a type
 typedef GstMiniObjectClass GstDiscovererInfoClass;
         ^
/usr/include/gstreamermm-0.10/gstreamermm/discovererinfo.h:40:9: error: ‘GstMiniObjectClass’ does not name a type
 typedef GstMiniObjectClass GstDiscovererStreamInfoClass;
         ^
/usr/include/gstreamermm-0.10/gstreamermm/discovererinfo.h:45:9: error: ‘GstMiniObjectClass’ does not name a type
 typedef GstMiniObjectClass GstDiscovererContainerInfoClass;
         ^
/usr/include/gstreamermm-0.10/gstreamermm/discovererinfo.h:50:9: error: ‘GstMiniObjectClass’ does not name a type
 typedef GstMiniObjectClass GstDiscovererAudioInfoClass;
         ^
/usr/include/gstreamermm-0.10/gstreamermm/discovererinfo.h:55:9: error: ‘GstMiniObjectClass’ does not name a type
 typedef GstMiniObjectClass GstDiscovererVideoInfoClass;
         ^
/usr/include/gstreamermm-0.10/gstreamermm/discovererinfo.h:147:11: error: ‘GstDiscovererInfoClass’ does not name a type
   typedef GstDiscovererInfoClass BaseClassType;
           ^
In file included from /usr/include/gstreamermm-0.10/gstreamermm.h:123:0,
                 from /home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/src/main.cc:23:
/usr/include/gstreamermm-0.10/gstreamermm/discovererinfo.h:360:11: error: ‘GstDiscovererStreamInfoClass’ does not name a type
   typedef GstDiscovererStreamInfoClass BaseClassType;
           ^
/usr/include/gstreamermm-0.10/gstreamermm/discovererinfo.h:490:11: error: ‘GstDiscovererContainerInfoClass’ does not name a type
   typedef GstDiscovererContainerInfoClass BaseClassType;
           ^
/usr/include/gstreamermm-0.10/gstreamermm/discovererinfo.h:570:11: error: ‘GstDiscovererAudioInfoClass’ does not name a type
   typedef GstDiscovererAudioInfoClass BaseClassType;
           ^
/usr/include/gstreamermm-0.10/gstreamermm/discovererinfo.h:661:11: error: ‘GstDiscovererVideoInfoClass’ does not name a type
   typedef GstDiscovererVideoInfoClass BaseClassType;
           ^
make[2]: *** [main.o] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `/home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/Debug/src'
Making all in po
make[2]: Entering directory `/home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/Debug/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/Debug/po'
make[2]: Entering directory `/home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/Debug'
make[2]: Leaving directory `/home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/Debug'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tester/Desktop/tmp/gtk-anjuta/01a-guitar-tuner-cxx/Debug'
make: *** [all] Error 2


Need I say more.

Thanks for your time.



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