Search the web
Sign In
New User? Sign Up
pokersource · Poker Source
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
A quick how to for windows...   Message List  
Reply | Forward Message #109 of 355 |

How To - Build libpoker using MS VC++ 7
======================================

Download:
poker-eval-src-121.tar.gz
poker-eval-124.0.tar.gz

Decompress version 121 and then 124 over the top of it, as the later
one is missing a few files.

Edit: include\pokereval_export.h
=====================================
@L43
- ifdef POKEREVAL_LIBRARY
+ // ifdef POKEREVAL_LIBRARY
@44
- // # define POKEREVAL_EXPORT __declspec(dllexport)
+ # define POKEREVAL_EXPORT __declspec(dllexport)
@45
- # define POKEREVAL_EXPORT
+ # define RANDOM rand
@47
- # else
- # define POKEREVAL_EXPORT "C"__declspec(dllimport)
- # define POKEREVAL_EXPORT "C"
- # endif /* POKEREVAL_LIBRARY */
@53
+ #define RANDOM random
====================================


Edit: include\enumerate.h
====================================
@L97
+ #include "pokereval_export.h"

@98
- #ifdef WIN32
+ /*#ifdef WIN32

@L100
- #endif
+ #endif*/
====================================

cd C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\
vcvars32.bat
cd \poker-eval\lib\
nmake -f makefile.dos

A dumpbin libpoker.dll /exports, should yield 64 ordinals for you to
begin writing your wrappers.






Sat Nov 13, 2004 12:14 am

nickw_home
Offline Offline
Send Email Send Email

Forward
Message #109 of 355 |
Expand Messages Author Sort by Date

How To - Build libpoker using MS VC++ 7 ====================================== Download: poker-eval-src-121.tar.gz poker-eval-124.0.tar.gz Decompress version...
nickw_home
Offline Send Email
Nov 13, 2004
12:15 am

One further addition that I forgot about: Edit: include\enumerate.h ====================================== @L762 - _c = random() % deck##_N_CARDS; \ +...
nickw_home
Offline Send Email
Nov 13, 2004
12:20 am

I followed your instructions, but I could not get it to work. Please help!!! Here is what I am getting: cl -O1 -nologo -DNDEBUG -MD -DMSDOS -I../include -c ...
nyjets22
Offline Send Email
Nov 21, 2004
1:51 am

There is a slight error in my pseudo-diff file. Do not delete the 'else' @ line 47 in pokereval_export.h The result *should* compile using the correct random...
Nick Wilton
nickw_home
Offline Send Email
Nov 21, 2004
10:41 pm

Now I get a different error: C:\pokereval\lib>nmake -f makefile.dos Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft...
nyjets22
Offline Send Email
Nov 22, 2004
1:21 am

Hi I've also followed these instructions and found the same thing errors. I have played with pokereval_export.h, trying combinations of ifs and elses pretty...
davidr1ch
Offline Send Email
Nov 22, 2004
9:18 pm

Hi Dave, Yours is a different issue. Looks like you are trying to compile the poker-eval-src-121 version. In Loic's 1.24 version, he decorates his code...
Nick Wilton
nickw_home
Offline Send Email
Nov 22, 2004
9:58 pm

Hi Thanks for you quick reply I have taken 1.21 an 1.24 from sourceforge an copied 124 over 121. Then, making the changes you have recommended (and trying to...
davidr1ch
Offline Send Email
Nov 23, 2004
12:15 am

No, I'm using those 2 versions from sourceforge also and don't worry about being a C# guy because I am one too ;) To me, it looks like you are either missing...
Nick Wilton
nickw_home
Offline Send Email
Nov 23, 2004
7:52 am

I do have both of the files mentioned and the code listed is already in the enumord.h file. I worked on it for about 6 hours today, but still have had no...
nyjets22
Offline Send Email
Nov 24, 2004
1:24 am

Hi people, I've not followed this thread because of the subject (I know nothing about windows) and because of the HTML formating (my mailer is not an HTML...
Loic Dachary
alebeon
Offline Send Email
Nov 24, 2004
8:44 am

Hey After the help here and some fiddling, managed to get it working. 124 is missing: lib/makefile.dos lib/md5.c include/makefile.dos include/md5.h I could get...
davidr1ch
Offline Send Email
Nov 24, 2004
12:38 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help