Проблемы при компиляции версии 0.9.19

4 replies [Last post]
S.D.
User offline. Last seen 3 years 42 weeks ago. Offline
Joined: 2013-04-11
Posts: 22

У меня при компиляции возникает ошибка:
Fatal: (10022) Can't find unit GL used by uConsts
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode (normal if you did not specify a source file to be compiled)
make[2]: *** [bin/hwengine] Ошибка 1
make[1]: *** [hedgewars/CMakeFiles/hwengine.dir/all] Ошибка 2
make: *** [all] Ошибка 2

fp-units-gfx у меня установлен. ОС - Ubuntu 12.10, amd64.
Что делать?

unC0Rr
unC0Rr's picture
User offline. Last seen 1 year 4 weeks ago. Offline
Joined: 2006-11-27
Posts: 576

Не gfx, а opengl нужен.

S.D.
User offline. Last seen 3 years 42 weeks ago. Offline
Joined: 2013-04-11
Posts: 22

Да есть у меня этот opengl (в /home/dan/fpc-2.6.0/lib/fpc/2.6.0/units/i386-linux/opengl есть gl.ppu, gl.o и др.). Только я уже просто из пакета установил игру.

sheepluva
sheepluva's picture
User offline. Last seen 5 days 2 hours ago. Offline
Joined: 2009-07-18
Posts: 563

If you want to make sure system fp opengl is installed, use:

Quote:
sudo apt-get install fpc fp-units-gfx

OR: if you insist in using your custom fpc for compiling+running, then try starting hedgewars from terminal like this:

Quote:
export LD_LIBRARY_PATH=$HOME/fpc-2.6.0/lib
$HOME/games/hedgewars/bin/hedgewars

(replace path with real path to your installed hedgewars bin)

also...
make sure you have $HOME/fpc-2.6.0/lib/fpc/2.6.0/units/x86_64-linux/opengl too!
(You said you're on amd64 - you need x86_64 libraries instead of i386 then)

  sheepluva <- me  my code stats -> 
a Hedgewars Developer


   <- where I'm from  what I speak -> 

- КруТ --FAKE
- КруТ --FAKE's picture
User offline. Last seen 8 years 8 weeks ago. Offline
Joined: 2014-06-07
Posts: 31

Hiding

User login

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