Mon 06 Jul 2009 03:06:57 AM UTC, original submission:
Currently, the macro MONTECARLO_N_CARDS_D is defined as
#define MONTECARLO_N_CARDS_D(c,n,d,nc,ni,a) \
DECK_MONTECARLO_N_CARDS_D(Deck, c, n, d, nc, ni, a)
This definition requires one more argument than specified in the base macro. To fix it, the variable 'n' should be removed.
After correcting this and attempting a compile with:
'gcc -o evaluator test.c -I/usr/local/include/poker-eval -L/usr/local/lib -lpoker-eval', the compiler complained that Deck_CardMask_SET was not defined.
To fix this
#define Deck_CardMask_SET CardMask_SET
Should be added to the end of deck.h
|