Eric <[EMAIL PROTECTED]> writes:

> Hi
> I managed to compile pokersource on windows.
> 

Hi sorry for the response delay.

> I went into the csharp directory and compiled the files using Mono's mcs on 
> windows, removing the Test.cs file from the Makefile.
> 
> This compiled ok, but if I tried to run a modified version of Test.cs linked 
> to PokerEval.Enum.Dll, I get the error:
> 
> Unhandled Exception: System.DllNotFoundException: Unable to load 
> DLL 'poker-eval'
> 
> I notice there is no poker-eval.dll file. There is a libpoker.dll and 
> libpoker.lib files
> 
> Do I need to replace the DllImport statements in API.cs?
> 

No, these are totally unrelated library, instead you need to get
poker-eval compiled for windows to produce poker-eval.dll:

Give poker-eval.sln a try (located in trunk/poker-eval directory) if
you own a copy of visual studio.

Or try autoconf/automake style compilation if you're a mingw/cygwin user.
autoreconf --install
./configure
make

I can be able to provide you a NSI installer including the compiled
library, if you need to.

Hope that helps.
-- 
bou ^

_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to