Closed GoogleCodeExporter closed 8 years ago
I just fixed the source code so that it can be compiled under the new Ubuntu
8.10
today. See: http://code.google.com/p/hoxchess/source/detail?r=395
Here are a few notes for you to get started:
--------------------------------------------
(1) Do not use the Ubuntu built-in wxWidgets packages because they are UNICODE
release. The current HOXChess requires ANSI build instead.
(2) To install ANSI build for wxWidgets, follow the instructions from this page:
http://wiki.wxpython.org/InstallingOnUbuntuOrDebian
Basically, you need to add two lines:
deb http://apt.wxwidgets.org/ hardy-wx main
deb-src http://apt.wxwidgets.org/ hardy-wx main
to your /etc/apt/sources.list file.
... and then install libwxgtk2.8-ansi-dev package (and its dependent packages).
(3) Download the latest source code from http://code.google.com/p/hoxchess. You
will
need to have this revision:
http://code.google.com/p/hoxchess/source/detail?r=395
(4) Under ../hox_Project/hox_Client
$ make prepare
$ make
//////////////////////
Let me know if that helps.
Original comment by huypha...@gmail.com
on 9 Jan 2009 at 6:05
Original comment by huypha...@gmail.com
on 9 Jan 2009 at 6:08
Ok thank you, it works now.
But i also tried the last version (r408) :
there is mistakes :
hoxchess-read-only/CChess/hox_Project/hox_Client/MyApp.cpp:59: undefined
reference to
`hoxLog::hoxLog(wxLog*)'
collect2: ld returned 1 exit status
make: *** [hoxchess] Erreur 1
Original comment by littel...@gmail.com
on 14 Jan 2009 at 3:23
+ Sorry, I am in the middle of updating/cleaning up the source code...
+ For your problem, please manually added the entry "hoxLog.cpp" to the macro
"MAIN_SRC" under the Makefile.
NOTE: You have an option to run "svn update" again to get the latest source
code.
However, note that the latest code (as of now) requires the latest (trunk/HEAD)
build
of wxWidgets (version 2.9.0 or the future version of 3.0). I needed to switch
to use
this latest version of wxWidgets because I want to build HOXChess with Unicode
support (to display Asian languages like Chinese, Vietnamese,...) On Windows
version
of HOXChess can support such languages already.
Original comment by huypha...@gmail.com
on 15 Jan 2009 at 5:41
hoxUtil.cpp: In function ‘hoxPieceType hoxUtil::StringToType(wxString)’:
hoxUtil.cpp:332: error: request for member ‘GetValue’ in ‘*
type.wxString::operator
const wxChar*()’, which is of non-class type ‘const char’
make: *** [hoxUtil.o] Error 1
Original comment by tvpham...@gmail.com
on 14 Feb 2009 at 6:01
The error you see is likely to be the result of you using the older wxGTK 2.8.x.
The latest source of HOXChess (Google Code SVN server) depends on the new wxGTK
2.9.0
(provided as a daily build, not yet released by wxWidgets team).
The new 2.9.0 is required for HOXChess to be able to display Unicode characters
(Chinese, Vietnamese,etc)
I just created a new wiki page of instructions on how to build wxGTK 2.9.0 here:
http://code.google.com/p/hoxchess/wiki/wxWidgetsInHOXChess#Instructions_under_Li
nux
... and, today, just successfully made the build myself in my Ubuntu 8.10
laptop.
Please follow the wiki page above and let me know if you have any problem.
Original comment by huypha...@gmail.com
on 15 Feb 2009 at 4:56
Original issue reported on code.google.com by
littel...@gmail.com
on 25 Dec 2008 at 9:24Attachments: