Menu Content/Inhalt
Home arrow Forum

Articles

Poker Tips

Login






Lost Password?
No account yet? Register
PokerTH - Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Problem with boost (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Problem with boost
#533
Rob (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Problem with boost 1 Year, 5 Months ago Karma: 0  
I have installed boost (ver 1.33.1-r1 on gentoo 64bit). boost-dev is not available on gentoo, cause packages are always compiled from source. But when I compile pokerth, I get the following error during "make":

Code:

make g++ -o bin/pokerth obj/game.o obj/pokerth.o obj/session.o obj/playerdata.o obj/configfile.o obj/boardinterface.o obj/enginefactory.o obj/flopinterface.o obj/handinterface.o obj/playerinterface.o obj/preflopinterface.o obj/riverinterface.o obj/turninterface.o obj/guiinterface.o obj/thread.o obj/tinystr.o obj/tinyxml.o obj/tinyxmlerror.o obj/tinyxmlparser.o obj/cardsvalue.o obj/localboard.o obj/localenginefactory.o obj/localflop.o obj/localhand.o obj/localplayer.o obj/localpreflop.o obj/localriver.o obj/localturn.o obj/tools.o obj/clientboard.o obj/clientenginefactory.o obj/clientflop.o obj/clienthand.o obj/clientplayer.o obj/clientpreflop.o obj/clientriver.o obj/clientturn.o obj/connectdata.o obj/clientcallback.o obj/clientcontext.o obj/clientstate.o obj/clientthread.o obj/netpacket.o obj/resolverthread.o obj/senderthread.o obj/sendercallback.o obj/serverthread.o obj/servercontext.o obj/serverexception.o obj/serverrecvthread.o obj/serverrecvstate.o obj/servercallback.o obj/sessiondata.o obj/socket_startup_cmn.o obj/socket_helper_cmn.o obj/clientexception.o obj/netcontext.o obj/netexception.o obj/receiverhelper.o obj/sdlplayer.o obj/guiwrapper.o obj/mainwindowimpl.o obj/mycardspixmaplabel.o obj/mysetlabel.o obj/myrighttabwidget.o obj/mylefttabwidget.o obj/startsplash.o obj/log.o obj/chat.o obj/aboutpokerthimpl.o obj/connecttoserverdialogimpl.o obj/createnetworkgamedialogimpl.o obj/joinnetworkgamedialogimpl.o obj/newgamedialogimpl.o obj/settingsdialogimpl.o obj/myavatarbutton.o obj/myhpavatarbutton.o obj/selectavatardialogimpl.o obj/myavatarlistitem.o obj/startnetworkgamedialogimpl.o obj/waitforservertostartgamedialogimpl.o obj/changehumanplayernamedialogimpl.o obj/qttoolsinterface.o obj/qttoolswrapper.o obj/qthelper.o obj/serverguiwrapper.o obj/rand.o obj/socket_helper.o obj/socket_startup.o obj/moc_sdlplayer.o obj/moc_mainwindowimpl.o obj/moc_mycardspixmaplabel.o obj/moc_mysetlabel.o obj/moc_myrighttabwidget.o obj/moc_mylefttabwidget.o obj/moc_startsplash.o obj/moc_log.o obj/moc_chat.o obj/moc_aboutpokerthimpl.o obj/moc_connecttoserverdialogimpl.o obj/moc_createnetworkgamedialogimpl.o obj/moc_joinnetworkgamedialogimpl.o obj/moc_newgamedialogimpl.o obj/moc_settingsdialogimpl.o obj/moc_selectavatardialogimpl.o obj/moc_startnetworkgamedialogimpl.o obj/moc_waitforservertostartgamedialogimpl.o obj/moc_changehumanplayernamedialogimpl.o obj/qrc_resources.o -L/usr/lib64/qt4 -lboost_thread-mt -lcrypto -lSDL_mixer -lQtGui -L/usr/lib64 -L/usr/lib64/mysql -L/usr/lib64/qt4 -L/usr/lib -lpng -lSM -lICE -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -ldl -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lboost_thread-mt collect2: ld gab 1 als Ende-Status zurück make: *** [bin/pokerth] Fehler 1
Has anyone similar problems? Greeting Rob
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#534
heyn (User)
Gold Boarder
Posts: 266
graphgraph
User Offline Click here to see the profile of this user
Re:Problem with boost 1 Year, 5 Months ago Karma: 15  
Hi again,

Do you have a /usr/lib/libboost_thread.so ?
I had to make a symlink from /usr/lib/libboost_thread-mt.so to /usr/lib/libboost_thread.so
Can you post the output from
ls -la /usr/lib/libboost* ?

heyn
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#535
Rob (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Re:Problem with boost 1 Year, 5 Months ago Karma: 0  
I think the libboost_thread.so is missing on my system.

Here is the output:

Code:

ls -la /usr/lib/libboost* -rw-r--r-- 1 root root 140216 19. Jun 18:50 /usr/lib/libboost_date_time.a lrwxrwxrwx 1 root root 28 19. Jun 18:50 /usr/lib/libboost_date_time.so -> libboost_date_time.so.1.33.1 -rwxr-xr-x 1 root root 67512 19. Jun 18:50 /usr/lib/libboost_date_time.so.1.33.1 -rw-r--r-- 1 root root 136344 19. Jun 18:50 /usr/lib/libboost_filesystem.a lrwxrwxrwx 1 root root 29 19. Jun 18:50 /usr/lib/libboost_filesystem.so -> libboost_filesystem.so.1.33.1 -rwxr-xr-x 1 root root 70264 19. Jun 18:50 /usr/lib/libboost_filesystem.so.1.33.1 -rw-r--r-- 1 root root 62364 19. Jun 18:50 /usr/lib/libboost_iostreams.a lrwxrwxrwx 1 root root 28 19. Jun 18:50 /usr/lib/libboost_iostreams.so -> libboost_iostreams.so.1.33.1 -rwxr-xr-x 1 root root 38136 19. Jun 18:50 /usr/lib/libboost_iostreams.so.1.33.1 -rw-r--r-- 1 root root 53830 19. Jun 18:50 /usr/lib/libboost_prg_exec_monitor.a lrwxrwxrwx 1 root root 35 19. Jun 18:50 /usr/lib/libboost_prg_exec_monitor.so -> libboost_prg_exec_monitor.so.1.33.1 -rwxr-xr-x 1 root root 28464 19. Jun 18:50 /usr/lib/libboost_prg_exec_monitor.so.1.33.1 -rw-r--r-- 1 root root 552828 19. Jun 18:50 /usr/lib/libboost_program_options.a lrwxrwxrwx 1 root root 34 19. Jun 18:50 /usr/lib/libboost_program_options.so -> libboost_program_options.so.1.33.1 -rwxr-xr-x 1 root root 234408 19. Jun 18:50 /usr/lib/libboost_program_options.so.1.33.1 -rw-r--r-- 1 root root 605744 19. Jun 18:50 /usr/lib/libboost_python.a lrwxrwxrwx 1 root root 25 19. Jun 18:50 /usr/lib/libboost_python.so -> libboost_python.so.1.33.1 -rwxr-xr-x 1 root root 279280 19. Jun 18:50 /usr/lib/libboost_python.so.1.33.1 -rw-r--r-- 1 root root 1899316 19. Jun 18:50 /usr/lib/libboost_regex.a lrwxrwxrwx 1 root root 24 19. Jun 18:50 /usr/lib/libboost_regex.so -> libboost_regex.so.1.33.1 -rwxr-xr-x 1 root root 591352 19. Jun 18:50 /usr/lib/libboost_regex.so.1.33.1 -rw-r--r-- 1 root root 1213230 19. Jun 18:50 /usr/lib/libboost_serialization.a lrwxrwxrwx 1 root root 32 19. Jun 18:50 /usr/lib/libboost_serialization.so -> libboost_serialization.so.1.33.1 -rwxr-xr-x 1 root root 442776 19. Jun 18:50 /usr/lib/libboost_serialization.so.1.33.1 -rw-r--r-- 1 root root 153160 19. Jun 18:50 /usr/lib/libboost_signals.a lrwxrwxrwx 1 root root 26 19. Jun 18:50 /usr/lib/libboost_signals.so -> libboost_signals.so.1.33.1 -rwxr-xr-x 1 root root 71416 19. Jun 18:50 /usr/lib/libboost_signals.so.1.33.1 -rw-r--r-- 1 root root 590850 19. Jun 18:50 /usr/lib/libboost_test_exec_monitor.a lrwxrwxrwx 1 root root 36 19. Jun 18:50 /usr/lib/libboost_test_exec_monitor.so -> libboost_test_exec_monitor.so.1.33.1 -rwxr-xr-x 1 root root 219056 19. Jun 18:50 /usr/lib/libboost_test_exec_monitor.so.1.33.1 -rw-r--r-- 1 root root 566164 19. Jun 18:50 /usr/lib/libboost_unit_test_framework.a lrwxrwxrwx 1 root root 38 19. Jun 18:50 /usr/lib/libboost_unit_test_framework.so -> libboost_unit_test_framework.so.1.33.1 -rwxr-xr-x 1 root root 212568 19. Jun 18:50 /usr/lib/libboost_unit_test_framework.so.1.33.1 -rw-r--r-- 1 root root 2452470 19. Jun 18:50 /usr/lib/libboost_wave.a -rw-r--r-- 1 root root 992992 19. Jun 18:50 /usr/lib/libboost_wserialization.a lrwxrwxrwx 1 root root 33 19. Jun 18:50 /usr/lib/libboost_wserialization.so -> libboost_wserialization.so.1.33.1 -rwxr-xr-x 1 root root 369512 19. Jun 18:50 /usr/lib/libboost_wserialization.so.1.33.1
Greeting Rob
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#536
heyn (User)
Gold Boarder
Posts: 266
graphgraph
User Offline Click here to see the profile of this user
Re:Problem with boost 1 Year, 5 Months ago Karma: 15  
Okay.
I checked on the Gentoo forums, and found http://forums.gentoo.org/viewtopic-t-452903-highlight-libboost.html
Check the post at the bottom, apparently you need to install boost with the "threads" USE flag enabled.
heyn
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#537
Rob (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Re:Problem with boost 1 Year, 5 Months ago Karma: 0  
Heyn, you are a genius!!! Now it works.

Thanks for your great support!

Bye Rob
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#538
heyn (User)
Gold Boarder
Posts: 266
graphgraph
User Offline Click here to see the profile of this user
Re:Problem with boost 1 Year, 5 Months ago Karma: 15  
Hi,
Happy to help. Have fun playing!
heyn
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
designed by www.madeyourweb.com