Can not start game

11 replies [Last post]
kevin00
User offline. Last seen 1 year 31 weeks ago. Offline
Joined: 11/30/2010
Posts: 4

I installed the game from these packages: hedgewars-data_0.9.14.1-1_all.deb and hedgewars_0.9.14.1-1_amd64.deb. When you start the game can not start the match. The screen will flash either, and I just returned to the menu or get an error message similar to the picture. Could someone advise me how to correct the problem? Thank.

kevin00
User offline. Last seen 1 year 31 weeks ago. Offline
Joined: 11/30/2010
Posts: 4

Add:

- Play HP 550
- Linux Mint 10 x64
- Hedgewars 0.9.14.1

nemo
User offline. Last seen 8 hours 59 min ago. Offline
Joined: 01/28/2009
Posts: 992

http://code.google.com/p/hedgewars/issues/detail?id=102

I suppose, although I can't think of what could be causing it.

I suspect a bad package - try building your own.

http://hedgewars.org/node/2215#comment-15049

For copy and paste build instructions.

To build 0.9.14.1 add:

hg update 0.9.14.1

just before the cmake line.

BTW, in the linked issue the person said installing off of playdeb worked for them.

kevin00
User offline. Last seen 1 year 31 weeks ago. Offline
Joined: 11/30/2010
Posts: 4

I proceeded according to the instructions and enter

Quote:
cmake -DCMAKE_CXX_FLAGS="-g" -DCMAKE_INSTALL_PREFIX="$HOME/games" -DDATA_INSTALL_DIR="$HOME/games" -DWITH_SERVER=0

I get this error terminal

Quote:
-- The C compiler identification is GNU
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Building revision 4427:94c948a92759
-- Building Release
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at cmake_modules/FindLua.cmake:14 (MESSAGE):
Couldn't find Lua 5.1 library!
Call Stack (most recent call first):
hedgewars/CMakeLists.txt:6 (find_package)

-- Configuring incomplete, errors occurred!

nemo
User offline. Last seen 8 hours 59 min ago. Offline
Joined: 01/28/2009
Posts: 992

That would be the:
liblua5.1-dev

Part of the sudo apt-get install

Either you didn't install it or your distro is missing this for some reason...

kevin00
User offline. Last seen 1 year 31 weeks ago. Offline
Joined: 11/30/2010
Posts: 4

I installed the library liblua5.1-0-dev and now I get this error message:

Quote:
-- The CXX compiler identification is unknown
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Building revision 4427:94c948a92759
-- Building Release
CMake Error at hedgewars/CMakeLists.txt:146 (message):
No Pascal compiler found!

-- Configuring incomplete, errors occurred!

szczur
szczur's picture
User offline. Last seen 5 hours 27 min ago. Offline
Joined: 06/13/2008
Posts: 181

sudo apt-get install fpc

You forgot to install pascal compiler.

Press any key to continue, or any other key to cancel.

nemo
User offline. Last seen 8 hours 59 min ago. Offline
Joined: 01/28/2009
Posts: 992

I'm questioning whether he copied and pasted the entire sudo apt-get line or just typed what he saw without scrolling Smile

He's the only person I've linked to that post who has ever had problems w/ this btw. Wink Smiley

Koda
Koda's picture
User offline. Last seen 15 hours 6 min ago. Offline
Joined: 11/10/2008
Posts: 194

he's missing g++

nemo
User offline. Last seen 8 hours 59 min ago. Offline
Joined: 01/28/2009
Posts: 992

Hm. It should have been pulled in by the other stuff...

szczur
szczur's picture
User offline. Last seen 5 hours 27 min ago. Offline
Joined: 06/13/2008
Posts: 181

sudo apt-get install build-essential then

Press any key to continue, or any other key to cancel.

nemo
User offline. Last seen 8 hours 59 min ago. Offline
Joined: 01/28/2009
Posts: 992

http://bugs.launchpad.net/ubuntu/+source/hedgewars/+bug/685421

Reason for the package error.

This suggests the bug can be fixed by fixing the PNGs.

Let me know if you want me to whip up a one-liner to correct the files in your local install.

Also, I don't think we've gotten any complaints from people using PlayDeb - you might want to use that repository instead.

Copyright © 2004-2013 Hedgewars Project. All rights reserved.