glscene broken in 0.9.28.2 with "Internal error 2009071902" lazarus / 39-Graphics ---------------------------------------------------------------------- FangQ · 2010-03-23 18:17 I am using Lazarus 0.9.28.2 from Ubuntu 9.10. When I tried to compile glscene svn 2426 (the latest), I got an internal error at the line starting with FLightMapTexCoords (see below) in glvectorfileobjects.pas, I can only get around by commenting out the line. the error message reads like: Code: [Select]/usr/lib/lazarus/0.9.28.2/components/glscene/Source/glve ctorfileobjects.pas(3606,13) Fatal: Internal error 2009071902 Anyone know how to fix this? thanks Code: [Select]procedure TMeshObject.ReadFromFiler(reader : TVirtualReader); ...          for i := 0 to lOldLightMapTexCoords.Count - 1 do             FLightMapTexCoords.Add(lOldLightMapTexCoords[i].S, lOldLightMapTexCoords[i].T); ... ---------------------------------------------------------------------- Leledumbo · 2010-03-24 11:42 An internal error should always be reported as a bug. Please create it. ---------------------------------------------------------------------- Troodon · 2010-03-24 11:57 On Windows, GLScene generally compiles with the latest Lazarus/FPC snapshot (that is, for 32 bits; on 64 bit platforms it won't compile anyway because it contains 32 bit assembler code). On Linux, you need GLScene for Lazarus/FPC as per instructions at http://wiki.lazarus.freepascal.org/GLScene. ---------------------------------------------------------------------- Ocye · 2010-03-25 08:33 Workaround was to me: Code: [Select]var   t:(type of lOldLightMapTexCoords = "TexPoint something") for i := 0 to lOldLightMapTexCoords.Count - 1 do begin   t:=lOldLightMapTexCoords.Items[i];   FLightMapTexCoords.Add(t.S, t.T); end; At last I downgraded as GLMisc wasn't found too. PS: Strange thing that such a simple assignment can produce an internal error.