How to downoad and install svn version?
Tue, 2010-03-23 07:49
Hello.
I tried to install and test hedgewars from the svn. So, i tried this :
svn checkout svn://svn.fireforge.net/svnroot/hedgewars/trunk/hedgewars
But then, compilation fails.
So, am I wrong in the repository, is there a correct adress to try?
Remove the trailing "hedgewars". Right now you check out engine sources only (missing other files outside that sub directory).
And how can I build from these sources. cmake . is enough?
Use cmake to create makefiles for your prefered toolchain (e.g. gcc or mingw). You're then able to use "make" or "make install" as usual. See the FAQ for more details.
Thank you for details. I already have tried like this, but download was very long, and compiling didn't work as for the archive, but I suppose I tried this when svn was broken.
It works fine today
.
Just a problem at compilation :
Maybe svn broken, or new dependencies? I'll try later.
Thank you again!
thuban, removeDuplicates was added in Qt 4.5. Looks like Smaxx broke Qt 4.4 compatibility a month ago when adding chat features.
Either update to 4.5/4.6, or else you will have to write custom code for older Qt.
Most likely the FAQ requirements will have to be updated for the next release.
... update. Smaxx has removed that code, so 4.4 should work again.
Update and give it another shot.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
Thanks for explanation. I hope hedgewars will use Qt4.4 a little time, because I can't upgrade to Qt4.5 before the update of debian from squeeze to lenny. So I wouldn't be able to play.
.
Moreover, hedgewars would have few chances to have a place in stable repositories.
Well, I suppose coders will give their best anyway
I try again to try last hedgewars version.
When I want to compile source of hedgewars SVN, I get this:
http://pastebin.com/2j8RET0B
Thanks(and excuse for my bad english).
Phyro, you're missing the lua 5.1 dev packages. Look for 'em in your distro's package manager and install.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
Mmm i don't know a lot of this, but I have installed Lua 5.1 dev packages. I use Gentoo Linux:
dev-lang/lua
Available versions: 5.1.4 ~5.1.4-r1 ~5.1.4-r2 ~5.1.4-r3 5.1.4-r4 {deprecated emacs readline static}
Installed versions: 5.1.4-r4(15:25:56 13/02/10)(deprecated readline -emacs -static)
Homepage: http://www.lua.org/
Description: A powerful light-weight programming language designed for extending applications
http://packages.gentoo.org/package/lua
But doesn't work.
Thanks!
thuban: update your SVN copy and recompile - should work now.
phyro: Try to find out how the library is named, then call
cmake -DLUA_LIBRARY:STRING=liblua.so .
and replace liblua.so with the real lib name which might differ from system to system.
Yeah, when you said "still doesn't work" I assume you mean "I got a completely different linker error from the thing I pastebinned but I didn't bother to tell you"
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
¡Thanks!
http://pastebin.com/AwJVQ80Q
http://pastebin.com/Scr2eNdJ
But, when I try to play the game, still doesn't work. Seems hwengine doesn't work, because the other window of the game doesn't appear.
I mean that I don't get any difference :P , even when I recompiled lua package(with "emerge --oneshot lua").
That's clearly not true. The errors must have been completely different since the first set was missing headers and you must then have gotten a linker error for the recommendation of smaxx to have worked (which it did showing the problem had changed).
But anyway. Moving on...
If you run hwengine on its own, does it work?
Try: ./hwengine /path/to/hedgewars/Data koda.30.hwd
http://m8y.org/tmp/koda.30.hwd
Also. What graphics card are you using, and what driver? Do other opengl things work, like glxgears?
Also, try turning off sound and music in frontend preferences and retesting.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
Ok, thanks for that.
When I try to run that file, I get this:
Glxgears and Hedgewars 0.9.12 works great.
About driver, I don't know exactly how to find that, but in glxinfo appear:
And in xorg.conf:
I turn off sound and music, and doesn't work.
Thanks for all, and excuse my bad english
.
Syntax should be:
For example on my PC it looks like this:
Press any key to continue, or any other key to cancel.
Thanks. I get this:
Appear "loading picture" of the hedgehog, and disappear(in one second).
Thanks again :P !
Delete the weapons.ini file from ~/.hedgewars folder (remember about backing it up if you created some new weaponsets)
Press any key to continue, or any other key to cancel.
I rename "/home/phyro/.hedgewars/weapons.ini" to "/home/phyro/.hedgewars/weapons.ini.backup", but I get the same error:
The hedgewars SVN files are in /home/phyro/Juegos/hedgewars/trunk/
Previous demo is outdated. Try this newly created
http://dl.dropbox.com/u/5155821/test.30.hwd
Press any key to continue, or any other key to cancel.
Now works!(and Hedgewars 0.9.13 seems fantastic, great job!).
I get this in a terminal:
http://pastebin.com/7DeEXH0K
But in the game, still doesn't work :'( . But, if you're busy, I can wait to the final version of Hedgewars 0.9.13
.
Thanks a lot!
I see you're launching the game from a non-standard location, it's likely you're running into path problems.
Rerun cmake like this:
cmake -DCMAKE_INSTALL_PREFIX="/home/phyro/Juegos/hedgewars/trunk/" -DDATA_INSTALL_DIR="/home/phyro/Juegos/hedgewars/trunk/share/" -DLUA_LIBRARY=lua.so .
(the lua part might not be needed with latest HEAD)
I've tried again to compile svn, but I hae this error :
Is it a Qt problem?
Run "make clean" and verify all SVN files are unchanged. There's something wrong with your hwconsts.cpp file.
Thank you, but I still have a problem :
I'm sorry for disturbance...
THAAAAANKS!. Now Hedgewars 0.9.13-dev works fine
. Thanks a lot!.
thuban:
What's in line 24 of /QTfrontend/hwconsts.cpp?
Here is line 24 :
Okay, your SVN somehow returns more than just the revision number ... trying to fix that.
Update your SVN copy and run cmake again. See if that helps. In any case, please post line 24 again.
I updated the svn, compiling works great now, but not the last step :
But I have lua installed :
it is not a comment please tell about the following! ! I:\hedgewars-src-0.9.12.tar.bz2: Cannot open I:\hedgewars-src-0.9.12.tar.bz2
i was downloaded a hedgewars ziped folder. is "hedgewars-src-0.9.12.tar" it ws extracted but not be installed. Why it is happened.
tell me fastly please........................................
its my request. I liked to play this game
What operating system are you running on?
You should open your own thread - noone is shot for creating threads when in trouble.
The tar-file is something like an archive containing all files. It's common unix/linux practice to first pack all files into one archive (.tar) and then zipping up that file (.tar.bz2).
If your system got some kind of package manager, look there for a precompiled version of Hedgewars. If you're running Windows or MacOS you'll find precompiled downloads/installers on the download page (see links above).
no one know what can I do with tis lua or ld problem?
thuban:
Oh didn't notice your posting above - that's very odd.
Could you open "/hedgewars/config.inc" and post the line with "cLuaLibrary=..."?
Of course
remove /CMakeCache.txt and run cmake again
YEEES! Thanks a lot! it works fine now! I don't know how you found where the problem was, but you were true!
It was just outdated and didn't update properly due to being set wrong before (when it was bugged).