Try to start Lazarus from commandline. Normal here are more infos. You can also use the the commandline switch --debug-log for more infos.
Try to start Lazarus from commandline. Normal here are more infos. You can also use the the commandline switch --debug-log for more infos.
Hey dsiders,
I've had major issues with Anchor Docking and the generics implementation that comes with sparta.
On fpcupdeluxe I have this patch I apply for versions below 2.1:
Index: components/sparta/mdi/sparta_mdi.lpk =================================================================== --- components/sparta/mdi/sparta_mdi.lpk (revision 61673) +++ components/sparta/mdi/sparta_mdi.lpk (working copy) @@ -46,16 +46,13 @@ <UnitName Value="sparta_abstractresizer"/> </Item8> </Files> - <RequiredPkgs Count="3"> + <RequiredPkgs Count="2"> <Item1> - <PackageName Value="sparta_Generics"/> + <PackageName Value="LCL"/> </Item1> <Item2> - <PackageName Value="LCL"/> + <PackageName Value="FCL"/> </Item2> - <Item3> - <PackageName Value="FCL"/> - </Item3> </RequiredPkgs> <UsageOptions> <UnitPath Value="$(PkgOutDir)"/> Index: components/sparta/toolsapi/sparta_toolsapi.lpk =================================================================== --- components/sparta/toolsapi/sparta_toolsapi.lpk (revision 61673) +++ components/sparta/toolsapi/sparta_toolsapi.lpk (working copy) @@ -9,7 +9,7 @@ <PathDelim Value="\"/> <SearchPaths> <OtherUnitFiles Value="source"/> - <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)\"/> + <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> </SearchPaths> </CompilerOptions> <Files Count="3"> @@ -26,16 +26,13 @@ <UnitName Value="DesignMenus"/> </Item3> </Files> - <RequiredPkgs Count="3"> + <RequiredPkgs Count="2"> <Item1> - <PackageName Value="sparta_Generics"/> + <PackageName Value="IDEIntf"/> </Item1> <Item2> - <PackageName Value="IDEIntf"/> + <PackageName Value="FCL"/> </Item2> - <Item3> - <PackageName Value="FCL"/> - </Item3> </RequiredPkgs> <UsageOptions> <UnitPath Value="$(PkgOutDir)"/>
I'm not sure that this is your problem, or even if it will solve your problem, but I've had success and no more issues after I applied this patch.
Cheers,
Gus
I did an install of 2.0.12 (FPC 3.2.0) and applied Lazarus SVN trunk to it.Does it mean you copied trunk sources on top of 2.0.12 sources?
I did an install of 2.0.12 (FPC 3.2.0) and applied Lazarus SVN trunk to it.Does it mean you copied trunk sources on top of 2.0.12 sources?
It is not a good idea although I don't know if it causes this particular problem. You should download trunk sources to a dedicated directory and build it with an installed FPC. Just run "make" from console. It works also on Windows, "make" binary is provided by FPC.
Thanks for that... but I'm not using Sparta. The error is in the components/anchordocking package and its interaction with the IDE.
Hey dsiders,Thanks for that... but I'm not using Sparta. The error is in the components/anchordocking package and its interaction with the IDE.
Well it's not you that I'm worried about.
Anchor Docking uses Sparta for the form docking. At least if you install it with the default settings.
So, Lazarus, not you, is using one of Sparta's IDE components when Anchor Docking is installed and that's why I've mentioned the generics.
But I do have to say that my issues popped up while compiling, so maybe you got a source version where the Sparta component issue is already solved.
I dunno, I just thought it would be a nice thing to mention in case it could be the culprit.
Cheers,
Gus
It's not Sparta. I've deleted all of the source in components/sparta directories, and both the run-time and design-time packages in components/anchordocking still compile. They just don't work after installation. They have no dependency on Sparta.
It's hard to believe no one else has used 2.0.12 with Lazarus trunk.This sentence is nonsense for me. I can use Lazarus 2.0.12 with fpc 3.2.0 OR Lazarus Trunk with fpc 3.2.0. A described before, mixing of Lazarus is a no-go.
It's not Sparta. I've deleted all of the source in components/sparta directories, and both the run-time and design-time packages in components/anchordocking still compile. They just don't work after installation. They have no dependency on Sparta.
Hummm, that's news to me. Thanks for getting back with this. I was under the impression that Anchor Docking always depended on the Sparta stuff to anchor the form.
I need to re-evaluate my knowledge of this thanks to you!!
martin_fr made a new component without need of the sparta components and they now deprecated for newer Lazarus. You can get information about the new component her in forum and the greman forum too. I have this installed for a lot of weeks and no problem. There is a package for 'older' versions of Lazarus too.
Sparta is only required for the (old) Docked Form Editor. Anchor Docking itself never required it as it's way older.
It's Michl (https://forum.lazarus.freepascal.org/index.php/topic,53314.0.html), not martin_fr who made that.Sorry for my mistake. All honor have to go to Michl.
QuoteIt's hard to believe no one else has used 2.0.12 with Lazarus trunk.This sentence is nonsense for me. I can use Lazarus 2.0.12 with fpc 3.2.0 OR Lazarus Trunk with fpc 3.2.0. A described before, mixing of Lazarus is a no-go.
If you remove an old version of Lazarus dont forget to remove all the objectfiles too. Sometimes i have found, a 'make clean' did not found all old files and this make confusion. Normal, if i change the svn path, i remove ALL and build all from ground up. In times of OPM (and fpcupdeluxe) i am as fast as searching for problems in the installation.
With fpcupdeluxe + OPM i have always a running system and can test other combination without sideeffects.
I basically removed every directory except the fpc directory with the 64-bit compiler. Then I checked out trunk.This should indeed work. With the remove, you build it from ground up.
I basically removed every directory except the fpc directory with the 64-bit compiler. Then I checked out trunk.This should indeed work. With the remove, you build it from ground up.