Eric <[EMAIL PROTECTED]> writes:

> Hi Johan
> 
> On Thursday 30 August 2007 18:04, you wrote:
> > 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.
> 
> Visual Studio auto upgraded the .sln project file from 2003 to VS 2005. 
> It might have changed a few things.
> 
> I had to modify the Project Properties to produce the poker-eval.dll
> 
> If I copy that .dll into the csharp directory I now get the error:
> The application has failed to start because MSCVR80D.dll was not found.
> 

IIRC, you should be able to find the file MSCVR80D.dll in your Visual
Studio distribution. Did you try to search on your system for it ?
Once you've found it, copy it in C:\windows\system32 or in application
directory.

BTW, I found a blog post related to MSVCR80D.dll not found problem
with VisualStudio 2005:
http://blogs.msdn.com/seshadripv/archive/2005/10/30/486985.aspx#493327

Hope this help.

> >
> > 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.
> Do you mean a .msi? The reason I ask is because there is a poker-eval.nsi 
> file 
> in the pokersource distribution and my system doesn't recognize it.
> 
> If you can provide a .msi that would be great.
> 

poker-eval.nsi is meant to be used with NSIS (Nullsoft Scriptable
Install System) http://nsis.sourceforge.net, which is an opensource
alternative to .msi files to create Windows installers.

I will ping the list, once I've generated a new windows installer for
poker-eval.

Feel free to contribute the Visual Studio 2005 converted files, if you
manage to get a running configuration.

Please share your progress with the list by
Cc:[email protected] 'ing your upcoming mails.

Thanks in advance.
-- 
bou ^

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

Reply via email to