Holding Nuts - open source poker game client and server texas hold em

Forum

You are not logged in.

Announcement

New registrations have been disabled due to massive spamming.

  • Index
  •  » Support
  •  » A problem I am having compiling the source

#1 2011-05-04 10:53:34

gataraid
Member
Registered: 2011-05-03
Posts: 6

A problem I am having compiling the source

I ran into a problem trying to compile the source provided on www.holdingnuts.net; holdingnuts-0.0.5.tar.bz2.  I am using QT SDK for Windows provided by http://qt.nokia.com/downloads/.  I have also downloaded the things outlined in http://wiki.holdingnuts.net/hacking also, SQLite and SDL.  I put SQLite in c:/windows/system32 like a guide said online and I placed the libraries that were outlined in http://wiki.holdingnuts.net/hacking in the proper folders once I installed QT SDK.  I installed it to C:\QT.  I installed CMake.

Then I go to try and compile it using MinGW and the native compilers.

I set the qmake executable and SDL includes and I get :

Configuring done
Generating done

I don't see a binary at all.  What am I missing?

Thank you for your help.

Offline

 

#2 2011-05-04 10:55:09

gataraid
Member
Registered: 2011-05-03
Posts: 6

Re: A problem I am having compiling the source

I was also wondering if it would be to much of a trouble for someone, could they convert this project so I can import it as a project into Visual Studio 2010?

Thanks in advance.

Offline

 

#3 2011-05-05 17:47:45

datag
Developer
From: Germany/Bavaria
Registered: 2009-03-22
Posts: 119
Website

Re: A problem I am having compiling the source

Hi gataraid,

this is the output of cmake, which generates the Makefile(s). Did you run "mingw32-make" afterwards? This is the actual build-process.

About Visual Studio: In a very early version I ported the sources to build with VS, however, I did not keep support for it. I doubt it's running out of the box, there may be some tweaks needed. Best is to compile with MinGW.

Offline

 

#4 2011-05-05 19:50:06

gataraid
Member
Registered: 2011-05-03
Posts: 6

Re: A problem I am having compiling the source

datag, thank you for responding so quickly.  I will now try this.

Offline

 

#5 2011-05-05 20:06:47

gataraid
Member
Registered: 2011-05-03
Posts: 6

Re: A problem I am having compiling the source

when I run :

C:/mingw32-make Makefile.conf

I get :

mingw32-make: *** No rule to make target `Makefile.conf'.  Stop.

I am in a Windows 7 Ultimate x64 environment if that matters at all.  Is this something to do with the OS I am on?

If so, how could I solve this?  Should I install a VM or boot a livedisk?

Thanks,

gataraid

Offline

 

#6 2011-05-05 21:07:01

datag
Developer
From: Germany/Bavaria
Registered: 2009-03-22
Posts: 119
Website

Re: A problem I am having compiling the source

You have to run this command in the build directory, like explained in http://wiki.holdingnuts.net/hacking#com … on_windows

Code:

C:\>cd holdingnuts\trunk

; If you're building with MinGW, run this (take notice of the . at the end)
C:\holdingnuts\trunk>cmake -G "MinGW Makefiles" .
C:\holdingnuts\trunk>mingw32-make

Edit: Your version of Windows doesn't matter. Easiest building is on Linux. However, you'd end up with a linux build which doesn't run on a Windows system.

Last edited by datag (2011-05-05 21:08:59)

Offline

 

#7 2011-05-09 14:40:44

gataraid
Member
Registered: 2011-05-03
Posts: 6

Re: A problem I am having compiling the source

I have sucessfully compiled the client and server from the source now thanks to your help.  I ran into another problem though when trying to run the client.  I am using your packaged client as a resource and I was using QtCore4.dll also inside the package.  I try to run it and when I do it tells me :

" The procedure entry point _ZN9QListData11detach_growEPii could not be located in the dynamic link library QtCore4.dll. "

Should I be using the library supplied by QT SDK instead?

Offline

 

#8 2011-05-09 21:33:20

datag
Developer
From: Germany/Bavaria
Registered: 2009-03-22
Posts: 119
Website

Re: A problem I am having compiling the source

Well done! smile

gataraid wrote:

" The procedure entry point _ZN9QListData11detach_growEPii could not be located in the dynamic link library QtCore4.dll. "

Should I be using the library supplied by QT SDK instead?

Definitely, yes. Your binary is compiled against a particular version of the Qt library and it's very likely that it won't run at all (as in your case) or may run with strange side effects. If you have successfully compiled the source yourself then there is no need to use any file from the pre-compiled package.

Offline

 

#9 2011-05-10 11:32:21

gataraid
Member
Registered: 2011-05-03
Posts: 6

Re: A problem I am having compiling the source

Okay, so what should I use?  It does say that it requires that library.

Offline

 

#10 2011-05-10 22:10:54

datag
Developer
From: Germany/Bavaria
Registered: 2009-03-22
Posts: 119
Website

Re: A problem I am having compiling the source

There should be DLL-files compiled or provided by your used Qt SDK. I'm not sure in which directory... I'm not on a Windows platform right now. Could you please try searching for DLLs in your SDK?

You need to either set the directory to your execute-path or copy these DLLs into the directory where holdingnuts.exe resides.

Offline

 
  • Index
  •  » Support
  •  » A problem I am having compiling the source

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB

Valid XHTML 1.0 Transitional