Can not start game

11 replies [Last post]
kevin00
User offline. Last seen 13 years 6 weeks ago. Offline
Joined: 2010-11-30
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 13 years 6 weeks ago. Offline
Joined: 2010-11-30
Posts: 4

Add:

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

nemo
nemo's picture
User offline. Last seen 19 weeks 5 days ago. Offline
Joined: 2009-01-28
Posts: 1861

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.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

kevin00
User offline. Last seen 13 years 6 weeks ago. Offline
Joined: 2010-11-30
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
nemo's picture
User offline. Last seen 19 weeks 5 days ago. Offline
Joined: 2009-01-28
Posts: 1861

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...

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

kevin00
User offline. Last seen 13 years 6 weeks ago. Offline
Joined: 2010-11-30
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 3 years 5 weeks ago. Offline
Joined: 2008-06-13
Posts: 182

sudo apt-get install fpc

You forgot to install pascal compiler.

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

nemo
nemo's picture
User offline. Last seen 19 weeks 5 days ago. Offline
Joined: 2009-01-28
Posts: 1861

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

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Koda
Koda's picture
User offline. Last seen 40 weeks 6 days ago. Offline
Joined: 2008-11-10
Posts: 215

he's missing g++

nemo
nemo's picture
User offline. Last seen 19 weeks 5 days ago. Offline
Joined: 2009-01-28
Posts: 1861

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

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

szczur
szczur's picture
User offline. Last seen 3 years 5 weeks ago. Offline
Joined: 2008-06-13
Posts: 182

sudo apt-get install build-essential then

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

nemo
nemo's picture
User offline. Last seen 19 weeks 5 days ago. Offline
Joined: 2009-01-28
Posts: 1861

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.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

User login

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