You are not logged in.
New registrations have been disabled due to massive spamming.
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
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
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
datag, thank you for responding so quickly. I will now try this.
Offline
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
You have to run this command in the build directory, like explained in http://wiki.holdingnuts.net/hacking#com … on_windows
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
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
Well done!
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
Okay, so what should I use? It does say that it requires that library.
Offline
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