From: Robert V. <vo...@ct...> - 2008-03-19 15:29:35
|
Hi Pete, I installed the 2.8.7 wx files, but I installed it using the Debian package from the wx website. Not by compiling. It creates a config file... When I run 'make' it says: ... yes (version 2.8.7) configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating conf/Makefile config.status: creating src/config.h config.status: executing depfiles commands vdeb:/home/vogelrl/jazzplusplus/trunk/jazz# make Making all in src make[1]: Entering directory `/home/vogelrl/jazzplusplus/trunk/jazz/src' make all-am make[2]: Entering directory `/home/vogelrl/jazzplusplus/trunk/jazz/src' if g++ -DHAVE_CONFIG_H -I. -I. -I. -DJAZZ_DATADIR= \"/usr/local/share/Jazz++\" -Wall -Wno-unknown-pragmas -I../Bitmaps -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -g -O2 -MT AboutDialog.o -MD -MP -MF ".deps/AboutDialog.Tpo" -c -o AboutDialog.o AboutDialog.cpp; \ then mv -f ".deps/AboutDialog.Tpo" ".deps/AboutDialog.Po"; else rm -f ".deps/AboutDialog.Tpo"; exit 1; fi /usr/include/wx-2.8/wx/hashmap.h: In member function 'wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) const': /usr/include/wx-2.8/wx/hashmap.h:714: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.8/wx/clntdata.h: In member function 'wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const': /usr/include/wx-2.8/wx/clntdata.h:20: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.8/wx/clntdata.h: In member function 'wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const': /usr/include/wx-2.8/wx/clntdata.h:25: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.8/wx/gdicmn.h: In member function 'wxStringToColourHashMap_wxImplementation_HashTable::Node** wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const': /usr/include/wx-2.8/wx/gdicmn.h:544: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.8/wx/image.h: In member function 'wxImageHistogramBase_wxImplementation_HashTable::Node** wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long unsigned int&) const': /usr/include/wx-2.8/wx/image.h:136: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.8/wx/filesys.h: In member function 'wxFSHandlerHash_wxImplementation_HashTable::Node** wxFSHandlerHash_wxImplementation_HashTable::GetNodePtr(const void* const&) const': /usr/include/wx-2.8/wx/filesys.h:176: warning: dereferencing type-punned pointer will break strict-aliasing rules AboutDialog.cpp: In constructor 'JZAboutDialog::JZAboutDialog(wxWindow*)': AboutDialog.cpp:54: error: call of overloaded 'wxString(const char [13])' is ambiguous /usr/include/wx-2.8/wx/string.h:722: note: candidates are: wxString::wxString(const wxWCharBuffer&) <near match> /usr/include/wx-2.8/wx/string.h:692: note: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.8/wx/string.h:690: note: wxString::wxString(const wxString&) <near match> /usr/include/wx-2.8/wx/string.h:682: note: wxString::wxString(int) <near match> AboutDialog.cpp:75: error: conversion from 'const char [13]' to 'wxString' is ambiguous /usr/include/wx-2.8/wx/string.h:692: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.8/wx/string.h:682: note: wxString::wxString(int) <near match> AboutDialog.cpp:77: error: ambiguous overload for 'operator+=' in 'InformationString += "<br>"' /usr/include/wx-2.8/wx/string.h:1012: note: candidates are: void wxString::operator+=(const wxWCharBuffer&) <near match> /usr/include/wx-2.8/wx/string.h:1407: note: wxString& wxString::operator+=(const wxString&) <near match> /usr/include/wx-2.8/wx/string.h:1413: note: wxString& wxString::operator+=(wxChar) <near match> AboutDialog.cpp:80: error: ambiguous overload for 'operator+=' in 'InformationString += "Program build date: Mar 17 2008<br>"' /usr/include/wx-2.8/wx/string.h:1012: note: candidates are: void wxString::operator+=(const wxWCharBuffer&) <near match> /usr/include/wx-2.8/wx/string.h:1407: note: wxString& wxString::operator+=(const wxString&) <near match> /usr/include/wx-2.8/wx/string.h:1413: note: wxString& wxString::operator+=(wxChar) <near match> AboutDialog.cpp:82: error: conversion from 'const char [28]' to 'wxString' is ambiguous /usr/include/wx-2.8/wx/string.h:692: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.8/wx/string.h:682: note: wxString::wxString(int) <near match> AboutDialog.cpp:89: error: ambiguous overload for 'operator+' in '"<html><head><META http-equiv=\"Content-Type\" content=\"text/html; charset=" + LocaleString' /usr/include/wx-2.8/wx/string.h:1620: note: candidates are: wxString operator+(const wxWCharBuffer&, const wxString&) <near match> /usr/include/wx-2.8/wx/string.h:1424: note: wxString operator+(const wxString&, const wxChar*) <near match> /usr/include/wx-2.8/wx/string.h:1423: note: wxString operator+(wxChar, const wxString&) <near match> /usr/include/wx-2.8/wx/string.h:1422: note: wxString operator+(const wxString&, wxChar) <near match> /usr/include/wx-2.8/wx/string.h:1421: note: wxString operator+(const wxString&, const wxString&) <near match>AboutDialog.cpp:168: error: conversion from 'const char [3]' to 'const wxString' is ambiguous /usr/include/wx-2.8/wx/string.h:692: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.8/wx/string.h:682: note: wxString::wxString(int) <near match> AboutDialog.cpp:169: error: conversion from 'const char [5]' to 'const wxString' is ambiguous /usr/include/wx-2.8/wx/string.h:692: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.8/wx/string.h:682: note: wxString::wxString(int) <near match> make[2]: *** [AboutDialog.o] Error 1 make[2]: Leaving directory `/home/vogelrl/jazzplusplus/trunk/jazz/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/vogelrl/jazzplusplus/trunk/jazz/src' make: *** [all-recursive] Error 1 vdeb:/home/vogelrl/jazzplusplus/trunk/jazz# Any advice ? |