Poker-AI.org Poker AI and Botting Discussion Forum 2015-12-03T21:02:36+00:00 http://poker-ai.org/phpbb/feed.php?f=22&t=2721 2015-12-03T21:02:36+00:00 2015-12-03T21:02:36+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2721&p=6877#p6877 <![CDATA[Re: Using Pokersource Java layer]]>
did anyone has some luck to compile the psim as a 64bit dll? Tried it for days now and getting nearly the same errors as Corphorr.

My Christmas wish for 2015: A C++ god will post a 64 bit dll ;)

thx

Statistics: Posted by winnie — Thu Dec 03, 2015 9:02 pm


]]>
2014-04-03T10:20:25+00:00 2014-04-03T10:20:25+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2721&p=5920#p5920 <![CDATA[Re: Using Pokersource Java layer]]> Statistics: Posted by spears — Thu Apr 03, 2014 10:20 am


]]>
2014-04-02T17:30:56+00:00 2014-04-02T17:30:56+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2721&p=5917#p5917 <![CDATA[Re: Using Pokersource Java layer]]> I have spent a few hours trying to figure out how to use this PSim library.

I tried using it with Java but got some error about using a 32-bit DLL on a 64-bit system, decided to just move to c++ because I have more experience using it.

I managed to do something with poker-eval-138 using cygwin then I compiled PSim as a static library (I think, I ended up with a .lib)

Now I used '#include "psim.hpp"' in my program and when trying to use the SimulateHand function as he gives in the examples, I get these errors:

Code:
1>psim.lib(psim.obj) : error LNK2001: unresolved external symbol _StdDeck_cardMasksTable
1>psim.lib(simulate.obj) : error LNK2001: unresolved external symbol _topFiveCardsTable
1>psim.lib(simulate.obj) : error LNK2001: unresolved external symbol _StdDeck_stringToCard
1>psim.lib(simulate.obj) : error LNK2001: unresolved external symbol _topCardTable
1>psim.lib(simulate.obj) : error LNK2001: unresolved external symbol _straightTable
1>psim.lib(simulate.obj) : error LNK2001: unresolved external symbol _nBitsTable
1>psim.lib(simulate.obj) : error LNK2001: unresolved external symbol "unsigned char * nBitsAndStrTable" (?nBitsAndStrTable@@3PAEA)


I think these belong to the poker-eval library, so I must have done something wrong.
I didn't end up with a .lib for poker-eval, I just did './configure make install' with cygwin and linked my Visual Studio to the 'include' and 'lib' directories for it.

I'm not sure why I am finding this whole library stuff so confusing.
Thanks for reading.

Statistics: Posted by Corphorr — Wed Apr 02, 2014 5:30 pm


]]>
2014-03-25T10:48:50+00:00 2014-03-25T10:48:50+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2721&p=5886#p5886 <![CDATA[Re: Using Pokersource Java layer]]> http://poker-ai.org/archive/www.pokerai ... ?f=3&t=353 ?
- Is SAIE = strength of range v range? If so, it should be possible to build that on top of any hand evaluator quite quickly http://poker-ai.org/phpbb/viewtopic.php?f=24&t=2390

Statistics: Posted by spears — Tue Mar 25, 2014 10:48 am


]]>
2014-03-25T09:28:06+00:00 2014-03-25T09:28:06+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2721&p=5884#p5884 <![CDATA[Re: Using Pokersource Java layer]]> Statistics: Posted by Corphorr — Tue Mar 25, 2014 9:28 am


]]>
2014-03-19T10:24:03+00:00 2014-03-19T10:24:03+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2721&p=5861#p5861 <![CDATA[Using Pokersource Java layer]]> I have less experience in Java compared to C++ and am having trouble using the library beyond the 'Deck' class.

My question is in more detail here on stackoverflow:
http://stackoverflow.com/questions/2247 ... ry-in-java

I hope it is okay to post such a question here.

Thank you.

Edit: I have tried compiling the C libraries myself and looking at different versions of the library to see if I could find some kind of file named 'poker' or 'pokerjni' but to no avail.
I would be very grateful if someone can help here as I am starting to feel completely hopeless, I have spent many hours now trying to figure out something that is probably very simple.

Statistics: Posted by Corphorr — Wed Mar 19, 2014 10:24 am


]]>