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?
compiling on windows (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: compiling on windows
#1668
neonew (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
compiling on windows 10 Months ago Karma: 0  
QUOTE:
C:\pokerth-0.6-vc6.0\PokerTH-0.6\debug\../src/gui/qt/gamelobbydialog/gamelobbydialogimpl.h(22) : fatal error C1083: Cannot open include file: 'gamedata.h': No such file or directory


i get about 200 errors like this. gamedata.h exists, but not in the same directory as gamelobbydialogimpl.h.
the include direction is only in usual quotes (#include "bla.h" so obv the file is not found in that directory.

do i have to add every single directory of pokerth to my include-directories? would be ugly. any workaround?

i tried msvc2008 and msvc6.0, both the same.

neonew
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1669
lotodore (Admin)
Admin
Posts: 259
graphgraph
User Offline Click here to see the profile of this user
Re:compiling on windows 10 Months ago Karma: 13  
Use qmake to generate the project files, as described in the documentation (how to build for windows). This will solve all such problems. Other ways are not supported, you are on your own there.
 
Report to moderator   Logged Logged  
 
--
Use IPv6. http://www.sixxs.net/
  The administrator has disabled public write access.
#1670
neonew (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:compiling on windows 10 Months ago Karma: 0  
i did use qmake.

QUOTE:
qmake -tp vc -recursive

but this did not work for me (the help output came), so i tried

QUOTE:
qmake -project -tp vc -recursive
qmake -makefile -tp vc -recursive


that generated a visual studio project for me.

any suggestions?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1671
lotodore (Admin)
Admin
Posts: 259
graphgraph
User Offline Click here to see the profile of this user
Re:compiling on windows 10 Months ago Karma: 13  
Make sure QMAKESPEC is set correctly (to win32-msvc2005). Make sure *not* to use the precompiled mingw-version of Qt.

Clean up, and if the directory name is not "pokerth" you might have to add the filename of the .pro-file, i.e.

qmake -tp vc -recursive pokerth.pro
 
Report to moderator   Logged Logged  
 
--
Use IPv6. http://www.sixxs.net/
  The administrator has disabled public write access.
#1672
neonew (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:compiling on windows 10 Months ago Karma: 0  
wee, the workspace looks much better now. my directory name was PokerTH-0.6

but at first run of qmake it gave this output:
QUOTE:
C:\pokerth-0.6-vc6.0\PokerTH-0.6>qmake -tp vc -recursive pokerth.pro
Reading C:/pokerth-0.6-vc6.0/PokerTH-0.6/pokerth_lib.pro
Reading C:/pokerth-0.6-vc6.0/PokerTH-0.6/pokerth_game.pro
Reading C:/pokerth-0.6-vc6.0/PokerTH-0.6/pokerth_server.pro
WARNING: Ignored (not found) 'C:/pokerth-0.6-vc6.0/PokerTH-0.6\pokerth_lib.dsp'
WARNING: Ignored (not found) 'C:/pokerth-0.6-vc6.0/PokerTH-0.6\pokerth.dsp'
WARNING: Ignored (not found) 'C:/pokerth-0.6-vc6.0/PokerTH-0.6\pokerth_server.dsp'


i looked into my directory and found files named pokerth.dsp.pokerth_game, pokerth_lib.dsp.pokerth_lib and pokerth_server.dsp.pokerth_server.
i renamed them correctly, ran qmake again and then i got a working workspace.

maybe this point should be added to documentation.

i compiled all libs on my own. currently i am testing with visual c++ 6.0. is this version still supported by pokerth? because i already got some errors regarding stl.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1674
lotodore (Admin)
Admin
Posts: 259
graphgraph
User Offline Click here to see the profile of this user
Re:compiling on windows 10 Months ago Karma: 13  
The latest version of the "freely" available Microsoft Visual C++ is always supported, i.e. MSVC 2008 Express Edition currently (PokerTH also compiles with MSVC 2005, but this version is no longer actively used for development).

Additionally, the latest non-preview release of mingw g++ is supported.

Visual C++ 6.0 is not supported. If you have some simple patch to make it work, of course we would welcome it, but there will be no active work to support it. I know that there are several problems when using boost with Visual C++ 6.0, and quite some boost libs are not available for this compiler.

Renaming the project files is not needed if MSVC 2005/2008 is used (at least on my system). But I've updated the documentation concerning the "pokerth.pro" file. Thanks for the feedback.
 
Report to moderator   Logged Logged  
 
--
Use IPv6. http://www.sixxs.net/
  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