[SOLVED] HedgeWars 0.9.18 compile error on Ubuntu 12.04!

2 replies [Last post]
plyer01
plyer01's picture
User offline. Last seen 11 years 9 weeks ago. Offline
Joined: 2012-12-19
Posts: 2
Hello users and developers! Here is my problem: When I try to compile from sources this game using comands from "INSTALL" file I have next: [quote]~/games/hedgewars_src $ cmake . -- Building Release flavour -- Found GHC: /usr/bin/ghc -- LibLua 5.1 found at /usr/lib/i386-linux-gnu/liblua5.1.so -- Found LUA: liblua5.1.so -- Mix_Init() is present -- IMG_Init() is present -- Found Freepascal: /usr/bin/fpc (version 2.4) -- Found Qt4: /usr/bin/qmake (found version "4.8.1") -- Found Qt4: /usr/bin/qmake (found suitable version "4.8.1", required is "4.5.0") -- Found FFMPEG/LibAV: /usr/lib/i386-linux-gnu/libavcodec.so;/usr/lib/i386-linux-gnu/libavformat.so;/usr/lib/i386-linux-gnu/libavutil.so, /usr/include -- Configuring done -- Generating done -- Build files have been written to: /home/player/games/hedgewars_src[/quote] Then when I use "[i]make[/i]" command I have: [quote]~/games/hedgewars_src $ make [ 1%] Generating ../bin/hedgewars-server Store.hs:23:18: Could not find module `Data.Vector.Mutable' Use -v to see a list of the files searched for. make[2]: *** [bin/hedgewars-server] Error 1 make[1]: *** [gameServer/CMakeFiles/hedgewars-server.dir/all] Error 2 make: *** [all] Error 2[/quote] What I did wrong? Can someone help me? btw I checked all library dependecies, all are installed. Maybe it is a version error? My OS version - Ubuntu 12.04 x32 GNOME 3.4.2 (Mint 13 x32 Cinnamon). Thanks in advance for all answers and help!
nemo
nemo's picture
User offline. Last seen 18 hours 8 min ago. Offline
Joined: 2009-01-28
Posts: 1861
http://code.google.com/p/hedgewars/wiki/BuildingOnLinux That's a haskell server dependency. Use the cmake line for no server, or copy and paste the server dependency apt-get line.
-- Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
plyer01
plyer01's picture
User offline. Last seen 11 years 9 weeks ago. Offline
Joined: 2012-12-19
Posts: 2
Hi, [b]nemo[/b]! Thanks for your answer! I compiled as you said, "Use the cmake line for no server": [quote]cmake -DCMAKE_BUILD_TYPE="DEBUG" -DCMAKE_INSTALL_PREFIX="$HOME/games/hedgewars" -DDATA_INSTALL_DIR="$HOME/games/hedgewars" -DNOSERVER=1[/quote] I used different destination folder (it is better for me Wink Smiley ) and aftet [i]cmake[/i], I used [i]make[/i] and then I build a deb package for easier installation/uninstallation by using command [i]sudo checkinstall[/i]. Thanks for your assistance! This topic can be marked as SOLVED!
Copyright © 2004-2023 Hedgewars Project. All rights reserved. [ contact ]