How to get latest Lazarus Trunk and FPC 3 Trunk on OSX?? lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- Josh · 2016-09-12 21:12 Hi Hope someone can help; I have been trying to get the latest laz and FPC trunk without success; laz 1.6 has some issues that cause major headaches like not able to change widgetset to cocoa or carbon; as the dialog box that should appear does not and practically locks up the ide, Some of the fixes I have noted in trunk of fpc I would also like to try. I have found  few walk through that either do not work; or I end up with LAz 1.6; I have tried fcup but again can only get to 1.6 ( ok i may need to configure something ). Does such a guide exist; or even some shell scripts one for Laz 1.6 + fixes (laz and fpc) and another for Laz 1.7+latest fpc. It is highly likely that I have just missed something very obvious; and such thing may exist and be prominent enough to be easily found by searching or googling ---------------------------------------------------------------------- lainz · 2016-09-12 21:28 here: http://www.getlazarus.org/setup/?download#macintosh ---------------------------------------------------------------------- Josh · 2016-09-13 00:36 Hi Lainz, Thanks for the link. I have tried this one and have the following problems. I removed the Docking and Sparta. When you add packages; when it restarts the IDE is frozen; have to force quit it. Unable to pull up choices to change widgetset; found you needed to patch Code: [Select]class function TCarbonWSCustomForm.CreateHandle(const AWinControl: TWinControl;   const AParams: TCreateParams): TLCLIntfHandle; var   frm : TCustomForm; begin   if IsFormDesign(AWinControl) then     Result := TLCLIntfHandle(TCarbonDesignWindow.Create(AWinControl, AParams))   else     Result := TLCLIntfHandle(TCarbonWindow.Create(AWinControl, AParams));   (* frm:=TCustomForm(AWinControl);   if Assigned(frm) then   begin     if (AParams.WndParent<>0) and ((AParams.Style and WS_CHILD) = 0) then       SetWindowGroup(TCarbonWindow(Result).Window, GetWindowGroupOfClass(kHelpWindowClass));   end;  *) end;      Then rebuild the IDE; however I still cannot test cocoa; if I have an empty project and comile all ok with carbon; if i change widgetset to cocoa I get LCL 1.7 exit code 256 I have tried setting target to darwin and cpu to x8664 as well as i386 and get the same error. Is it just my bad luck and the current trunk is not working now with cocoa. ---------------------------------------------------------------------- Josh · 2016-09-14 18:08 Another issue; i suspect there may be a patch for this. The IDE LAyout is not saved on closing lazarus; I can re-arrnage the windows to how I like; but on exting and restarting the Layout is reset. So have to re-earrange layout each time.