Solved Problem compiling under Slitaz
Sun, 2010-04-04 09:45
Like the other compile problem post my makefile goes to 99% and cancel with an other error.
Quote:
…
Compiling uConsts.pas
Fatal: Can't find unit GL used by uConsts
Fatal: Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)
Which packet i am missing? What schould contain GLunit / unit gl?
*edit*
TheXception> KdE: the dirty way is to copy the files from "/usr/lib/fpc/2.4.0/units/i386-linux/opengl/" to "......./hedgewars-src-0.9.13/hedgewars/"
This fixes the problem of not finding lua lib:
Smaxx> editiert mal /hedgewars/config.inc
Smaxx> cLuaLibrary auf 'lua' setzen
(Next problem is to get hardware acceleration for my laptop)
I have the same problem with Windows (it's exactly the same error)
What can I do to fix the problem?
I tried already to change cLuaLibrary to "lua" but that hasn't helped.
I found the problem
I have installed on older version of Free Pascal (2.2.4)
with that version it finally worked