Solved Problem compiling under Slitaz

2 replies [Last post]
K.d.E.
User offline. Last seen 14 years 1 week ago. Offline
Joined: 2009-09-16
Posts: 4

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)

ChrisIgel
User offline. Last seen 7 years 17 weeks ago. Offline
Joined: 2010-04-23
Posts: 5

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.

ChrisIgel
User offline. Last seen 7 years 17 weeks ago. Offline
Joined: 2010-04-23
Posts: 5

I found the problem
I have installed on older version of Free Pascal (2.2.4)
with that version it finally worked

User login

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