Hi

I am using Code::Blocks GNUCC compiler on an XP machine. 
When linking I get the error

undefined reference to `StdDeck'

I have made a really simple example for myself to get started.
Would somebody have some idea if the linking order is wrong, or if I am missing 
some includes, or possibly something else...

#include <iostream>
#include "poker_defs.h"
#include "inlines\eval.h"

int gNCards;
CardMask gCards;
int gLow=0;
int gHighLow=0;

static void parse() {
    int c;
    Deck_stringToCard("4d", &c) ;
    std::cout << "Card value: " << c << std::endl;
}

int main()
{
    HandVal handval;
    LowHandVal low;

    gNCards = 0;
    CardMask_RESET(gCards);

    return 0;
}


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

Reply via email to