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...
Want to share photos of your group with the world? Add a group photo to Flickr.

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 #113 of 355 |
Re: A quick how to for windows...


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 Corporation. All rights reserved.

cl -O1 -nologo -DNDEBUG -MD -DMSDOS -I../include -c
mktab_basic.c
mktab_basic.c
c:\pokereval\include\pokereval_export.h(47) : fatal error C1022:
expected #endif

NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.


Here is my pokereval_export.h code:

/*
* Copyright (C) 2004 Mekensleep
*
* Mekensleep
* 24 rue vieille du temple
* 75004 Paris
* licensing@...
*
* This program is free software; you can redistribute it and/or
modify
* it under the terms of the GNU General Public License as published
by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-
1307, USA.
*
* Authors:
* Loic Dachary <loic@...>
*
*/

#ifndef LIBPOKEREVAL_EXPORT
#define LIBPOKEREVAL_EXPORT 1


#if defined(_MSC_VER)
#pragma warning( disable : 4244 )
#pragma warning( disable : 4251 )
#pragma warning( disable : 4267 )
#pragma warning( disable : 4275 )
#pragma warning( disable : 4290 )
#pragma warning( disable : 4786 )
#pragma warning( disable : 4305 )
#endif

#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__)
|| defined( __BCPLUSPLUS__) || defined( __MWERKS__)
// # ifdef POKEREVAL_LIBRARY
# define POKEREVAL_EXPORT __declspec(dllexport)
# define RANDOM rand
# else
#else
# define POKEREVAL_EXPORT
#endif
#define RANDOM random

#endif






Mon Nov 22, 2004 1:21 am

nyjets22
Offline Offline
Send Email Send Email

Forward
Message #113 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