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 ? |
From: Peter J. S. <dev...@to...> - 2008-03-19 17:47:53
|
RV = Robert Vogel RV> Hi Pete, RV> RV> I installed the 2.8.7 wx files, but I RV> installed it using the Debian package RV> from the wx website. Not by compiling. Due to the setup I'm using to compile Jazz++, you will need to build wxWidgets. The stock build uses different configuration options that will cause the complaints you are seeing. I'm planning on posting wxWidgets build instructions on the Jazz++ web site. These instructions should build a version of wxWidgets that is compatible with Jazz++. Unfortunately, that will not happen until tonight (I am current at my day job). Until then, this is how to go about it... 1. Create a directory under your home directory. I typically use "OutsideSource" and change directory to that location. cd mkdir OutsideSource cd OutsideSource 2. Checkout the 2.8 branch of wxWidgets using the following command. You must have a Subversion client loaded on your machine. The following text should all be on one line. svn checkout http://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH wxWidgets-2.8 3. Create a directory called "WxBuild" in parallel with the wxWidgets-2.8 directory and change directory to that location. mkdir WxBuild cd WxBuild 4. Run the wxWidgets supplied configure command with the following configure options. The following text should all be on one line. ../wxWidgets-2.8/configure --disable-no_exceptions --disable-no_rtti --disable-shared --disable-compat26 --disable-unicode --with-regex=builtin --enable-std_iostreams --enable-std_string --enable-stl --with-gtk 5. Run make using the following command. This will write a file called BuildLog that may be useful if you run into trouble. make 2>&1 | tee BuildLog 6. If all goes well with the build, try to install wxWidgets as root. su make install Eventually Jazz++ will be using tex2rtf to build a help file. I have a patch for tex2rtf that you will need to use to build it with the configure options listed above... but first things first ;-) Robert I really appreciate you attempt to build Jazz++ on a Debian box. Let me know how it's going, Pete |