UIKit0 / hoxchess

Automatically exported from code.google.com/p/hoxchess
0 stars 0 forks source link

build problem #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  in plugins ./run.sh
2.  make in hox_Client
3.

What is the expected output? What do you see instead?

hoxTypes.h: In member function ‘const wxString hoxMove::ToString() const’:

hoxTypes.h:180: error: no matching function for call to
‘wxString::Printf(const char [9], const char&, const char&, const char&,
const char&)’                        
/usr/include/wx-2.8/wx/string.h:1203: note: candidates are: int
wxString::Printf(const wxChar*, ...)                                      

hoxTypes.h: At global scope:                                              

hoxTypes.h:222: error: default argument for parameter of type ‘const
wxString&’ has type ‘const char [1]’                                      

hoxTypes.h: In member function ‘void hoxNetworkTableInfo::Clear()’:       

hoxTypes.h:230: error: ambiguous overload for ‘operator=’ in
‘((hoxNetworkTableInfo*)this)->hoxNetworkTableInfo::id = ""’              

/usr/include/wx-2.8/wx/string.h:676: note: candidates are: wxString&
wxString::operator=(int) <near match>                                     

/usr/include/wx-2.8/wx/string.h:956: note:                 wxString&
wxString::operator=(wxChar) <near match>                                  

/usr/include/wx-2.8/wx/string.h:970: note:                 wxString&
wxString::operator=(const wxWCharBuffer&) <near match>                    
...                      

Please provide any additional information below.

Original issue reported on code.google.com by liushiy...@gmail.com on 25 Oct 2009 at 2:51

GoogleCodeExporter commented 9 years ago
liushiyong,

Thank you taking the time to report a problem.

What OS (Windows, Mac, or Linux) are you using?
Also, what version of wxWidgets Libraries is involved?

Original comment by huypha...@gmail.com on 25 Oct 2009 at 3:22

GoogleCodeExporter commented 9 years ago
Linux protein 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:48:52 UTC 2009 
x86_64
GNU/Linux

Package Name:

wx2.8-i18n

Group:

System

Details:

wxWidgets (formerly known as wxWindows) is a class library for C++ providing GUI
components and other facilities on several popular platforms (and some 
unpopular ones
as well). For more information see http://wxwidgets.org
This package provides the i18n message catalogs for wxWidgets.

Size:

791.9 KiB

Package Name:

wx2.8-headers

Group:

Development

Details:

wxWidgets (formerly known as wxWindows) is a class library for C++ providing GUI
components and other facilities on several popular platforms (and some 
unpopular ones
as well). For more information see http://wxwidgets.org
This package provides the common header files required to build applications 
using
the wxWidgets toolkit.

Size:

1.0 MiB

Original comment by liushiy...@gmail.com on 25 Oct 2009 at 4:05

GoogleCodeExporter commented 9 years ago
HOXChess requires the new (not-yet-released) wxWidgets 2.9.0
Please see my Wiki page on how to compile wxWidgets 2.9.0 under Linux.
http://code.google.com/p/hoxchess/wiki/wxWidgetsInHOXChess

Original comment by huypha...@gmail.com on 25 Oct 2009 at 6:39

GoogleCodeExporter commented 9 years ago
Close this Issue as FIXED based on my last comment.

Original comment by huypha...@gmail.com on 1 Dec 2009 at 5:28