*SOLVED* LAMW instal problem (Error: (5000) Identifier not found "dsError" ) lazarus / 43-Android ---------------------------------------------------------------------- commanderz · 2022-04-22 10:57 При установке LAMW (trunc/trunc on windows x64) я столкнулся с ошибкой:  Error: (5000) Identifier not found "dsError" при компиляции файла gdbmiserverdebuggerlamw затем я добавил ему в uses LazDebuggerIntfBaseTypes и подсунул его измененную версию в момент установки, удалив перед этим cодержимое папки c:\fpcupdeluxe\ccr\lamw\ide_tools\lib и все прошло отлично. Но есть еще одна проблема: Если запустить lazarus и создать новый проект, появится форма темного цвета, все как и должно быть, и проект даже откомпилируется и запустится на устройстве. Но если зайти в редактирование формы, и ничего не меняя - затем вернуться то по F12 она не сможет подгрузится с диска, так же как и если закрыть и затем открыть проект: Выдает ошибки [Window Title] Read error [Content] Stream=TAndroidModule1: Root=:TAndroidModule1 Error reading TAndroidModule1.ActivityMode: Unknown property: "ActivityMode" Stream position: 1725 [Continue loading] [Cancel loading this resource] [Stop all loading] И форма уже не темного цвета, а белая, и у нее нету прежних свойств, и событий. Есть только два свойства: Name Tag и два события: OnCreate OnDestroy Но программа компилируется и на устройстве запускается. Но все свойства и события из unit1.lfm исчезли: object AndroidModule1: TAndroidModule1   Left = 323   Top = 129    end Даже не знаю связано ли это с первой ошибкой и моим методом ее преодоления, или это новая ошибка. ---------------------------------------------------------------------- commanderz · 2022-04-22 13:15 Еще выдает ошибку: Quote[Error] Unable to find the component class "jForm". It is not registered via RegisterClass and no lfm was found. It is needed by unit: C:\fpcupdeluxe\projects\_TestProj\proj2\jni\unit1.pas [Cancel loading this component] [Ignore, use TForm as ancestor] но unit1.lfm там есть: Quoteobject AndroidModule2: TAndroidModule2   MarginLeft = 0   MarginTop = 0   MarginRight = 0   MarginBottom = 0   Enabled = True   Left = 346   Top = 90   Width = 768   Height = 1181   Text = 'AndroidModule2'   ActivityMode = actRecyclable   BackgroundColor = colbrDefault   ActionBarTitle = abtDefault   AnimationDurationIn = 1500   AnimationDurationOut = 1500   AnimationMode = animNone end ---------------------------------------------------------------------- Martin_fr · 2022-04-22 13:18 Quote from: commanderz on April 22, 2022, 12:57:21 pm Error: (5000) Identifier not found "dsError" Quotegdbmiserverdebuggerlamw I could not read/understand the rest of your message. Where is "gdbmiserverdebuggerlamw" ? Who maintains this? In Lazarus (git main) the debugger files have changed. gdbmiserverdebuggerlamw will need to be updated (or maybe it was, and you did not update your copy...) ---------------------------------------------------------------------- jmpessoa · 2022-04-22 21:57 @commanderz What about installing "stable/stable"  (not trunc/trunc ...) ? or you can try "LAMW Manager"  installs: https://github.com/dosza/LAMWManager-win https://github.com/dosza/LAMWManager-linux @ Martin_fr I have now notified the  @Leopreo  who maintains  gdbmiserverdebuggerlamw Thanks to All! ---------------------------------------------------------------------- commanderz · 2022-04-23 10:17 @jmpessoa thanks for the answer I found what was the problem and fixed the file: c:\fpcupdeluxe\lazarus\ide\sourcefilemanager.pas because it seemed to me that the problem was somewhere in his methods of reading .lfm files. so i returned a call to TryRegisteredClasses in two places. I will attach a file with my corrections, see if it will give you the right idea. ---------------------------------------------------------------------- jmpessoa · 2022-04-25 21:13 QuoteIdentifier not found "dsError" Hi, Martin_fr! "dsError"   was  removed from  "DbgIntfDebuggerBase.pas"? ---------------------------------------------------------------------- bytebites · 2023-06-16 11:09 Quote from: jmpessoa on April 25, 2022, 11:13:58 pmQuoteIdentifier not found "dsError" Hi, Martin_fr! "dsError"   was  removed from  "DbgIntfDebuggerBase.pas"? Moved to LazDebuggerIntfBaseTypes