Support

hedgewars-src-0.9.20: /usr/bin/ld: cannot find -lliblua.a

Hello,

I am trying to compile hedgewars-src-0.9.20 on slackware-14.0 (Linux 32 bits).

I do:
$ tar xvf hedgewars-src-0.9.20.5.tar.bz2
$ cd hedgewars-src-0.9.20
$ cmake . -DNOSERVER=1
[...]
-- Found Lua: /usr/lib/liblua.a
[...]
$ make
[...]
Scanning dependencies of target hwengine
[ 6%] Building Pascal object hedgewars/CMakeFiles/hwengine.dir/hwengine.o
uInputHandler.pas(112,27) Hint: Local variable "mod_" does not seem to be initialized
uInputHandler.pas(52,27) Hint: Unit "uMisc" not used in uInputHandler
uRenderUtils.pas(86,32) Hint: Mixing signed expressions and longwords gives a 64bit result
uRenderUtils.pas(264,32) Hint: Mixing signed expressions and longwords gives a 64bit result
uLandTexture.pas(126,83) Hint: Converting the operands to "Int64" before doing the add could prevent overflow errors.
uLandTexture.pas(132,74) Hint: Converting the operands to "Int64" before doing the add could prevent overflow errors.
uLandPainted.pas(30,67) Hint: Unit "uDebug" not used in uLandPainted
uLand.pas(198,13) Hint: Mixing signed expressions and longwords gives a 64bit result
Linking Pascal executable ../bin/hwengine
Linking /tmp/hedgewars-src-0.9.20/bin/hwengine
/usr/bin/ld: warning: /tmp/hedgewars-src-0.9.20/bin/link.res contains output sections; did you forget -T?
/usr/bin/ld: cannot find -lliblua.a
An error occurred while linking /tmp/hedgewars-src-0.9.20/bin/hwengine
make[2]: *** [bin/hwengine] Error 1
make[1]: *** [hedgewars/CMakeFiles/hwengine.dir/all] Error 2
make: *** [all] Error 2

So it does not compile correctly.
At the "cmake" step, I see "Found Lua: /usr/lib/liblua.a" whereas in the "make" step, I read "cannot find -lliblua.a".
Strange that this dependency is found in a first time but not in a second time.

Do you understand why I got this problem?

Thank you.

Game freezes at "in game" screen.

I just loaded hedgewars on an older laptop running Linux Mint.
The system runs stable and the load went without any errors. I start the game and can navigate between the screens, change preferences, go to the read about screen etc. When I try to start any sort of game it freezes on the in game screen. The star background stops moving and the keyboard commands stop working. I have to ctl-Q and stop the whole game to get out.
Any ideas?

cant login to hedgewars

I can't login to hedgewars game server mod please help

Nickname Suddenly Unregistered

Why my nick that i aways played for years, and that had been registered soon as it was requested, dont remember on what release... suddenly appears as unregistered?

My nick in game is other than in this forum, just to say...

Installation on Ubuntu 12.04

Dear all,

I downloaded hedgewars_0.9.20.5.orig.tar.bz2 from there:

https://launchpad.net/ubuntu/+source/hedgewars/0.9.20.5-1~ubuntu12.04.1

I installed all the needed packages and tried to configure with:

cmake .

However, it seems that during the installation LUA is not found. I tried with LUA5.1 and LUA5.2, the result is the same:

CMake Error at CMakeLists.txt:128 (message):
Missing Lua! Rerun cmake with -DLUA_SYSTEM=off to build the internal
version

I tried to remove any LUA package and to build it from inside with

cmake -DLUA_SYSTEM=off .

but then I get the following error:

-- LUA will be provided by the bundled sources
CMake Error at CMakeLists.txt:135 (add_subdirectory):
add_subdirectory given source "misc/liblua" which is not an existing directory.

And indeed there is no misc/liblua folder available. Could it be that it was forgotten..?

What can I do?

Many thanks,

Syndicate content

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]