From: Dave P. <dl...@br...> - 2004-11-17 05:21:31
|
Greetings: CVS as of November 16 dies here: g++ -DHAVE_CONFIG_H -I. -I. -I../src -I/usr/local/lib/wx/include/gtk2-ansi-release-2.5 -I/usr/local/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -Iinclude -g -O2 -I/usr/local/lib/wx/include/gtk2-ansi-release-2.5 -I/usr/local/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -MT xmlres.lo -MD -MP -MF .deps/xmlres.Tpo -c xmlres.cpp -fPIC -o .libs/xmlres.o xmlres.cpp:323: prototype for `void wxXmlResource::UpdateResources()' does not match any in class `wxXmlResource' /usr/local/include/wx-2.5/wx/xrc/xmlres.h:236: candidate is: bool wxXmlResource::UpdateResources() xmlres.cpp:323: `void wxXmlResource::UpdateResources()' and `bool wxXmlResource::UpdateResources()' cannot be overloaded xmlres.cpp:543: prototype for `wxObject* wxXmlResource::CreateResFromNode(wxXmlNode*, wxObject*, wxObject*)' does not match any in class `wxXmlResource' /usr/local/include/wx-2.5/wx/xrc/xmlres.h:248: candidate is: wxObject* wxXmlResource::CreateResFromNode(wxXmlNode*, wxObject*, wxObject* = 0, wxXmlResourceHandler* = 0) xmlres.cpp: In member function `wxObject* wxXmlResource::CreateResFromNode(wxXmlNode*, wxObject*, wxObject*)': xmlres.cpp:544: `CreateResFromNode2' undeclared (first use this function) xmlres.cpp:544: (Each undeclared identifier is reported only once for each function it appears in.) xmlres.cpp: At global scope: xmlres.cpp:550: no `wxObject* wxXmlResource::CreateResFromNode2(wxXmlNode*, wxObject*, wxObject*, wxXmlResourceHandler*)' member function declared in class `wxXmlResource' xmlres.cpp: In member function `wxObject* wxXmlResource::CreateResFromNode2(wxXmlNode*, wxObject*, wxObject*, wxXmlResourceHandler*)': xmlres.cpp:569: call of overloaded `CreateResFromNode(wxXmlNode*, wxObject*&, wxObject*&)' is ambiguous /usr/local/include/wx-2.5/wx/xrc/xmlres.h:248: candidates are: wxObject* wxXmlResource::CreateResFromNode(wxXmlNode*, wxObject*, wxObject* = 0, wxXmlResourceHandler* = 0) xmlres.cpp:543: wxObject* wxXmlResource::CreateResFromNode(wxXmlNode*, wxObject*, wxObject*) make[1]: *** [xmlres.lo] Error 1 make[1]: Leaving directory `/home/dlphilp/jazz/xrc' make: *** [all-recursive] Error 1 Btw, I had to add #include <wx/dialog.h> to xrc/xh_frame.cpp and xrc/xh_panel.cpp to get this far... Any suggestions ? Best regards, dp |
From: Dave F. <da...@da...> - 2004-11-17 05:28:24
|
On Tuesday 16 November 2004 11:27 pm, Dave Phillips wrote: Hey, I know you, you're the Linux Journal guy. > xmlres.cpp:323: prototype for `void wxXmlResource::UpdateResources()' > does not > match any in class `wxXmlResource' > /usr/local/include/wx-2.5/wx/xrc/xmlres.h:236: candidate is: bool > wxXmlResource::UpdateResources() > xmlres.cpp:323: `void wxXmlResource::UpdateResources()' and `bool > wxXmlResource::UpdateResources()' cannot be overloaded > xmlres.cpp:543: prototype for `wxObject* > wxXmlResource::CreateResFromNode(wxXmlNode*, wxObject*, wxObject*)' > does not It looks like the wxXRC stuff isn't properly installed. Check your wxWidgets build accordingly. Also, are you using the rebuild script at the top of the source tree? You *must* build with that, right now. > Btw, I had to add #include <wx/dialog.h> to xrc/xh_frame.cpp and > xrc/xh_panel.cpp to get this far... This shouldn't have happened, but could have I suppose. :) > Any suggestions ? What OS, etc are you using? I suppose I might be able to dig that info up off the Hydrogen list, but it would help if you just gave it to us here. :) The other thing is that you're using wx2.5 to build. Um, use 2.4, please. :) The application previously used a wxVersion that was pre-2.0, and we're working on porting it all the way up to 2.4. We're not even going to try 2.5, as far as I know. If we've got it working with 2.4, then when 2.6 comes out we'll probably update it for that. Anyway, there are large chunks of Jazz that aren't even built right now because they haven't been ported to wx2.4 yet. (Not many, but they are still there somewhere) Dave > Best regards, > > dp > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > jazzplusplus-devel mailing list > jaz...@li... > https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel -- Visit my website! http://www.davefancella.com/?event=em She liked him; he was a man of many qualities, even if most of them were bad. |