There is a mono VMWare recording in the download section of the web site.
It includes sharpchess.exe that runs under mono, it also includes "ported"
source code.
typing make compiles to completion, no problem.
I did this useing the free vmwera player and the mono vmwear recording in a
suse 10.2 windows on my normal windows machine.
That might be a goo dplace to start, especally if you normaly use windows.
I assume the vmware player will also work on any version of linux
If you need info on the vmwear recordings, let me know.
The sharpchess.exe on the sharpchess web site shows no issues when examaned
by Moma, so it should run fine on Mono.
Dennis
Alessandro <[EMAIL PROTECTED]> wrote:
Hi Aatdark,
The source of my problems at this point is mono. I've installed mono and
monodevelop on this Debian box (running KDE), downloaded the SharpChess source
code, opened that project in MonoDevelop, and attempted to run it without
changing anything. I realize it's probably naive of me to think it might work
right out of the box like that, but I thought I'd give it a try. I receive the
following error which is quite beyond me, though it makes me wonder if perhaps
what I need to do is install some more libraries:
Building Solution SharpChess
Building Project: SharpChess (Debug|Any CPU)
Performing main compilation...
Compiling resource /home/eklypse/Desktop/SharpChess/Forms/frmAbout.resx with
resgen2
Compiling resource /home/eklypse/Desktop/SharpChess/Forms/frmDifficulty.resx
with resgen2
Compiling resource /home/eklypse/Desktop/SharpChess/Forms/frmMain.resx with
resgen2
Compiling resource /home/eklypse/Desktop/SharpChess/Forms/frmMoveAnalysis.resx
with resgen2
Compiling resource /home/eklypse/Desktop/SharpChess/Forms/frmPieceSelector.resx
with resgen2
Compiling resource /home/eklypse/Desktop/SharpChess/Forms/frmWinBoard.resx with
resgen2
Unhandled Exception: System.MissingFieldException: Field
'System.Reflection.Emit.OpCodes.Stelem_Any' not found.
at <0x00000> <unknown method>
at Mono.CSharp.ArrayAccess.EmitAssign (Mono.CSharp.EmitContext ec,
Mono.CSharp.Expression source, Boolean leave_copy, Boolean prepare_for_load)
[0x00000]
at Mono.CSharp.Assign.Emit (Mono.CSharp.EmitContext ec, Boolean is_statement)
[0x00000]
at Mono.CSharp.Assign.EmitStatement (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.StatementExpression.DoEmit (Mono.CSharp.EmitContext ec)
[0x00000]
at Mono.CSharp.Statement.Emit (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Block.DoEmit (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Block.Emit (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.For.DoEmit (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Statement.Emit (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Block.DoEmit (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Block.Emit (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Block.DoEmit (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Block.Emit (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.EmitContext.EmitResolvedTopBlock (Mono.CSharp.ToplevelBlock
block, Boolean unreachable) [0x00000]
at Mono.CSharp.Constructor.Emit () [0x00000]
at Mono.CSharp.TypeContainer.EmitType () [0x00000]
at Mono.CSharp.RootContext.EmitCode () [0x00000]
at Mono.CSharp.Driver.MainDriver (System.String[] args) [0x00000]
at Mono.CSharp.Driver.Main (System.String[] args) [0x00000]
Build complete -- 1 error, 0 warnings
---------------------- Done ----------------------
Build: 1 error, 0 warnings
For the record, on the advice of another member of this list, I attempted to
install mono* but could not, receiving the following error:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
batmon.app: Depends: gnustep-back0.11 (>= 0.11.0) but it is not going to be
installed
Depends: libgnustep-base1.13 (>= 1.13.0) but it is not going to
be installed
Depends: libgnustep-gui0.11 (>= 0.11.0) but it is not going to be
installed
cyrus-common-2.2: Conflicts: cyrus21-common
cyrus21-common: Conflicts: cyrus22-common
exim4-daemon-heavy: Conflicts: mail-transport-agent
exim4-daemon-light: Conflicts: mail-transport-agent
eximon: Depends: exim but it is not going to be installed
eximon4: Conflicts: eximon but 3.36-18.2 is to be installed
gtk-engines-redmond95: Depends: libglib1.2ldbl (>= 1.2.10-18) but it is not
going to be installed
kolab-cyrus-common: Conflicts: cyrus-common-2.2 but 2.2.13-13+b2 is to be
installed
Conflicts: cyrus21-common
libapache-mod-mono: Depends: mono-apache-server (< 1.2.2) but 1.2.5-1 is to
be installed or
mono-apache-server2 (< 1.2.2) but 1.2.5-1 is to
be installed
libbakery-common: Conflicts: libbakery-2.3-common but 2.3.11-2.1 is to be
installed
libdaemons-ruby1.8: Conflicts: libdaemonize-ruby1.8 but 0.1.2-2 is to be
installed
libgnome-vfs-common: Depends: libgconf11 (>= 1.0.7) but it is not going to be
installed
Depends: liboaf0 (>= 0.6.10) but it is not going to be
installed
Depends: oaf (>= 0.6.10) but it is not going to be
installed
libmono-cecil0.5-cil: Conflicts: libmono-cecil0.4-cil but 0.4.3-1 is to be
installed
lm-batmon: Depends: libglib1.2ldbl (>= 1.2.10-18) but it is not going to be
installed
monodoc-gtk2.0-manual: Conflicts: monodoc-gtk-manual but 1: 1.0.10-5 is to be
installed
mysql-gui-tools-common: Conflicts: mysql-query-browser-common but 1.2.5beta-3
is to be installed
Conflicts: mysql-admin-common but 1.2.5rc-2 is to be
installed
wmclockmon: Depends: libglib1.2ldbl (>= 1.2.10-18) but it is not going to be
installed
E: Broken packages
Note that this is after updating everything, in some cases, to an unstable
version. (Before, when I had updated everything to only the most recent stable
version, I was unable even to install monodevelop.)
An alternative solution I was thinking of was embedding a program like xboard
within a mono program that could send key presses to xboard and receive mouse
movements and clicks from the user. I'm not sure if that would be more or less
complicated.
Your help is much appreciated!
-Alessandro
On Dec 5, 2007 3:00 PM, aatdark <[EMAIL PROTECTED]> wrote:
Hi
is the source of your troubles mono or c#?
If it is c# you need to read a few c# .net tutorials.
If mono .. what is your current problem? IDE ? compiler ?
Aatdark
Am Montag, den 03.12.2007, 19:11 -0500 schrieb Alessandro:
> I need to develop an application that is very chess-like on either a
> Mac or Linux box and I thought I might start with SharpChess as a code
> base. Unfortunately, this is my first foray into Mono and I haven't
> programmed in .NET in years, so I'm having a little trouble to say the
> least. In fact, to be perfectly honest, I'm not even sure where to
> start. Any help would be greatly appreciated!!
> --
> Alessandro Gagliardi
> Integrative Neuroscience Program
> Rutgers University Mind Brain Analysis
> [EMAIL PROTECTED]
>
> _______________________________________________
> Mono-winforms-list maillist - [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
--
Alessandro Gagliardi
Integrative Neuroscience Program
Rutgers University Mind Brain Analysis
[EMAIL PROTECTED] _______________________________________________
Mono-winforms-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now._______________________________________________
Mono-winforms-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list