C++ / error LNK2019 - XpokerEval library

Posted by user1068115 on Stack Overflow See other posts from Stack Overflow or by user1068115
Published on 2011-11-27T17:40:21Z Indexed on 2011/11/27 17:50 UTC
Read the original article Hit count: 575

Filed under:
|
|

I have been struggling all the afternoon with the XPokerEval Library I downloaded here:

http://www.codingthewheel.com/archives/poker-hand-evaluator-roundup#xpokereval

I am trying to make the XPokerEval.PokerSim work, using Visual C++ 2010 express but i get the following errors:

1>psim_test.obj : error LNK2019: unresolved external symbol "void __cdecl SimulateHand(char const *,struct SimResults *,float,float,unsigned int)" (?SimulateHand@@YAXPBDPAUSimResults@@MMI@Z) referenced in function _wmain

1>psim_test.obj : error LNK2019: unresolved external symbol "unsigned int __cdecl RankHand(int const *)" (?RankHand@@YAIPBH@Z) referenced in function _wmain

Do you think this can be due to a missing link to a library or a incompatibility with my IDE? The script uses the Pokersource Poker-Eval library which is also included in the zip file, I added to the project directories but it still does not work! I cannot figure out why and I am getting mad!

Thanks in advance for any tips on this!

© Stack Overflow or respective owner

Related posts about c++

Related posts about visual-c++