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?
Re:Trouble compiling svn 270 (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Trouble compiling svn 270
#40
juhani (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Trouble compiling svn 270 1 Year, 9 Months ago Karma: 0  
Should I be able to compile svn 270? I really haven't played around a lot with svn and I'm certainly not sure I have installed all the libraries I need. All i do is 'qmake' and 'make' and end up with

Code:

/usr/bin/uic-qt4 src/gui/qt/aboutpokerth.ui -o uics/ui_aboutpokerth.h /usr/bin/uic-qt4 src/gui/qt/connecttoserverdialog.ui -o uics/ui_connecttoserverdialog.h /usr/bin/uic-qt4 src/gui/qt/createnetworkgamedialog.ui -o uics/ui_createnetworkgamedialog.h /usr/bin/uic-qt4 src/gui/qt/joinnetworkgamedialog.ui -o uics/ui_joinnetworkgamedialog.h /usr/bin/uic-qt4 src/gui/qt/newgamedialog.ui -o uics/ui_newgamedialog.h /usr/bin/uic-qt4 src/gui/qt/settingsdialog.ui -o uics/ui_settingsdialog.h /usr/bin/uic-qt4 src/gui/qt/startnetworkgamedialog.ui -o uics/ui_startnetworkgamedialog.h /usr/bin/uic-qt4 src/gui/qt/waitforservertostartgamedialog.ui -o uics/ui_waitforservertostartgamedialog.h /usr/bin/uic-qt4 src/gui/qt/mainwindow.ui -o uics/ui_mainwindow.h g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Isrc -Isrc/engine -Isrc/gui -Isrc/net -Isrc/engine/local_engine -Isrc/config -Isrc/core/tinyxml -Isrc/gui/qt -Isrc/gui/qt/log -Isrc/gui/qt/connecttoserverdialog -Isrc/core -Isrc/gui/qt/aboutpokerth -Isrc/gui/qt/createnetworkgamedialog -Isrc/gui/qt/joinnetworkgamedialog -Isrc/gui/qt/newlocalgamedialog -Isrc/gui/qt/settingsdialog -Isrc/gui/qt/startnetworkgamedialog -Isrc/gui/qt/waitforservertostartgamedialog -Isrc/gui/qt/mainwindow -Isrc/gui/qt/mainwindow/startsplash -Imocs -Iuics -o obj/game.o src/game.cpp src/core/tinyxml/tinyxml.h:130: warning: unused parameter ‘doc’ src/core/tinyxml/tinyxml.h:132: warning: unused parameter ‘doc’ src/core/tinyxml/tinyxml.h:135: warning: unused parameter ‘element’ src/core/tinyxml/tinyxml.h:135: warning: unused parameter ‘firstAttribute’ src/core/tinyxml/tinyxml.h:137: warning: unused parameter ‘element’ src/core/tinyxml/tinyxml.h:140: warning: unused parameter ‘declaration’ src/core/tinyxml/tinyxml.h:142: warning: unused parameter ‘text’ src/core/tinyxml/tinyxml.h:144: warning: unused parameter ‘comment’ src/core/tinyxml/tinyxml.h:146: warning: unused parameter ‘unknown’ g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Isrc -Isrc/engine -Isrc/gui -Isrc/net -Isrc/engine/local_engine -Isrc/config -Isrc/core/tinyxml -Isrc/gui/qt -Isrc/gui/qt/log -Isrc/gui/qt/connecttoserverdialog -Isrc/core -Isrc/gui/qt/aboutpokerth -Isrc/gui/qt/createnetworkgamedialog -Isrc/gui/qt/joinnetworkgamedialog -Isrc/gui/qt/newlocalgamedialog -Isrc/gui/qt/settingsdialog -Isrc/gui/qt/startnetworkgamedialog -Isrc/gui/qt/waitforservertostartgamedialog -Isrc/gui/qt/mainwindow -Isrc/gui/qt/mainwindow/startsplash -Imocs -Iuics -o obj/pokerth.o src/pokerth.cpp src/core/tinyxml/tinyxml.h:130: warning: unused parameter ‘doc’ src/core/tinyxml/tinyxml.h:132: warning: unused parameter ‘doc’ src/core/tinyxml/tinyxml.h:135: warning: unused parameter ‘element’ src/core/tinyxml/tinyxml.h:135: warning: unused parameter ‘firstAttribute’ src/core/tinyxml/tinyxml.h:137: warning: unused parameter ‘element’ src/core/tinyxml/tinyxml.h:140: warning: unused parameter ‘declaration’ src/core/tinyxml/tinyxml.h:142: warning: unused parameter ‘text’ src/core/tinyxml/tinyxml.h:144: warning: unused parameter ‘comment’ src/core/tinyxml/tinyxml.h:146: warning: unused parameter ‘unknown’ g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Isrc -Isrc/engine -Isrc/gui -Isrc/net -Isrc/engine/local_engine -Isrc/config -Isrc/core/tinyxml -Isrc/gui/qt -Isrc/gui/qt/log -Isrc/gui/qt/connecttoserverdialog -Isrc/core -Isrc/gui/qt/aboutpokerth -Isrc/gui/qt/createnetworkgamedialog -Isrc/gui/qt/joinnetworkgamedialog -Isrc/gui/qt/newlocalgamedialog -Isrc/gui/qt/settingsdialog -Isrc/gui/qt/startnetworkgamedialog -Isrc/gui/qt/waitforservertostartgamedialog -Isrc/gui/qt/mainwindow -Isrc/gui/qt/mainwindow/startsplash -Imocs -Iuics -o obj/session.o src/session.cpp In file included from src/net/clientthread.h:24, from src/session.cpp:24: src/core/thread.h:24:28: error: boost/thread.hpp: No such file or directory src/core/thread.h:25:36: error: boost/thread/barrier.hpp: No such file or directory src/core/thread.h:26:32: error: boost/shared_ptr.hpp: No such file or directory src/core/tinyxml/tinyxml.h:130: warning: unused parameter ‘doc’ src/core/tinyxml/tinyxml.h:132: warning: unused parameter ‘doc’ src/core/tinyxml/tinyxml.h:135: warning: unused parameter ‘element’ src/core/tinyxml/tinyxml.h:135: warning: unused parameter ‘firstAttribute’ src/core/tinyxml/tinyxml.h:137: warning: unused parameter ‘element’ src/core/tinyxml/tinyxml.h:140: warning: unused parameter ‘declaration’ src/core/tinyxml/tinyxml.h:142: warning: unused parameter ‘text’ src/core/tinyxml/tinyxml.h:144: warning: unused parameter ‘comment’ src/core/tinyxml/tinyxml.h:146: warning: unused parameter ‘unknown’ src/core/thread.h:71: error: ‘boost’ has not been declared src/core/thread.h:71: error: ISO C++ forbids declaration of ‘timed_mutex’ with no type src/core/thread.h:71: error: expected ‘;’ before ‘m_isTerminatedMutex’ src/core/thread.h:74: error: ‘boost’ has not been declared src/core/thread.h:74: error: ISO C++ forbids declaration of ‘timed_mutex’ with no type src/core/thread.h:74: error: expected ‘;’ before ‘m_shouldTerminateMutex’ src/core/thread.h:75: error: ‘boost’ has not been declared src/core/thread.h:75: error: ISO C++ forbids declaration of ‘scoped_try_lock’ with no type src/core/thread.h:75: error: expected ‘;’ before ‘m_userReqTerminateLock’ src/core/thread.h:78: error: ‘boost’ has not been declared src/core/thread.h:78: error: ISO C++ forbids declaration of ‘shared_ptr’ with no type src/core/thread.h:78: error: expected ‘;’ before ‘<’ token src/core/thread.h:79: error: ‘boost’ has not been declared src/core/thread.h:79: error: ISO C++ forbids declaration of ‘mutex’ with no type src/core/thread.h:79: error: expected ‘;’ before ‘m_threadObjMutex’ src/core/thread.h:81: error: ‘boost’ has not been declared src/core/thread.h:81: error: ISO C++ forbids declaration of ‘barrier’ with no type src/core/thread.h:81: error: expected ‘;’ before ‘m_threadStartBarrier’ make: *** [obj/session.o] Error 1
Is this expected or am I just missing something obvious?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#41
lotodore (Admin)
Admin
Posts: 275
graphgraph
User Offline Click here to see the profile of this user
Re:Trouble compiling svn 270 1 Year, 9 Months ago Karma: 15  
It seems like your version of boost is not complete or not current.

Please make sure that you use the current version of boost. You can download it at
http://www.boost.org/

Best of luck to you,

Lotodore
 
Report to moderator   Logged Logged  
 
--
Use IPv6. http://www.sixxs.net/
  The administrator has disabled public write access.
#42
juhani (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Trouble compiling svn 270 1 Year, 9 Months ago Karma: 0  
lotodore wrote:
QUOTE:
It seems like your version of boost is not complete or not current.


Yup, that was it.

In case someone else is having same problem, I fixed it like this:


  • download boost from sourceforge for example

  • extract it to your home dir

  • make a symlink from ~/boost_1_33_1/boost to ~/pokerth/src/core



Naturally replace directories with what you use yourself.

(Well, okay, I'm still compiling it but it at least doesn't fail with same error again )

Edit: Well, it wasn't so simple - I'm still fighting with boost. At least I now know with what to fight with..

Edit #2: I really shouldn't play around with these in nighttime.. In ubuntu edgy, installing libboost-dev libboost-thread-dev and libboost-thread1.33.1 really makes things a lot easier <br /><br />Post edited by: juhani, at: 2007/03/17 13:27
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#50
grim (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Trouble compiling svn 270 1 Year, 9 Months ago Karma: 0  
Another Edgy build tip - I had to uninstall qt3 to get pokerth to build (even with qt4 installed.)
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#51
juhani (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Trouble compiling svn 270 1 Year, 9 Months ago Karma: 0  
Actually that isn't necessary. Ubuntu installs qt dev packages in not a straightforward way.

/usr/bin/qmake is a symlink to /etc/alternatives/qmake which is symlink to either /usr/bin/qmake-qt3 or /usr/bin/qmake-qt4. It seems qmake-qt3 overrides qmake-qt4 - or maybe it's just about which one was installed last.

Anyway, qmake should run fine if you say
$ qmake-qt4 pokerth.pro
instead of
$ qmake pokerth.pro
whether you have qt3-dev-tools installed or not.
 
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