Need help compiling LazPaint lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- circular · 2020-05-16 05:22 Hello, I don't have a MacOS, so I cannot build LazPaint for this system. Can someone help? I am looking for 32-bit and 64-bit binaries. Note that Retina display is not handled and maybe that can make the application slower. Regards ---------------------------------------------------------------------- Thaddy · 2020-05-16 09:16 Let's focus on the 64 bit version first (since Apple dropped 32 bit support) . My iMac mini has emphatically performed a Lazarus   from the dead, so I will try and test and report back. Retina not available in this house. Is that ok? ---------------------------------------------------------------------- circular · 2020-05-16 11:30 Cool. Well without Retina, it will work all the better. I know people say 32-bit support was dropped, but there are still old 32-bit Apple computers. So if that's ever possible why not. Though if you provide a 64 bit version I will be happy. ---------------------------------------------------------------------- marcov · 2020-05-16 12:19 Do you support old 64-bits Macs? I still have a G5 here :-) ---------------------------------------------------------------------- circular · 2020-05-16 14:44 Haha I don't think Lazarus can compile that, can it? ---------------------------------------------------------------------- marcov · 2020-05-16 14:58 Quote from: circular on May 16, 2020, 04:44:54 pmHaha I don't think Lazarus can compile that, can it? Well, it did actually, not so very long ago, and afaik PPC builds are still made. I don't know if the Cocoa port also works on PPC(64), but the rest does. This particular machine has been used to develop Lazarus even for one day, by Mattias :-) But I haven't booted it in a handful of years, so probably the battery will be the problem. ---------------------------------------------------------------------- circular · 2020-05-16 15:42 Hmm well until someone request such binary, I guess I will not include them in the release. Even for new Mac OS, there are very few users. I suppose they can afford to buy Photoshop. ---------------------------------------------------------------------- esvignolo · 2020-05-16 17:21 Hi circular! i try compile and make the bin, but te app auto close inmediatly. If i run it from the console, i see this error: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i 2020-05-16 14:18:38.425 lazpaint[55497:3210916] *** Assertion failure in -[TCocoaMenu insertItem:atIndex:], /BuildRoot/Library/Caches/com.apple .xbs/Sources/AppKit/AppKit-1894.30.142/Menus.subproj/NSMenu.m:7202020- 05-16 14:18:38.428 lazpaint[55497:3210916] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: index >= 0'*** First throw call stack:(        0   CoreFoundation                      0x00007fff388cc8ab __exceptionPreprocess + 250        1   libobjc.A.dylib                     0x00007fff6eb86805 objc_exception_throw + 48        2   CoreFoundation                    0x00007fff388f5d10 +[NSException raise:format:arguments:] + 88      3   Foundation                          0x00007fff3afee241 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 191      4   AppKit                              0x00007fff35a07e7e -[NSMenu insertItem:atIndex:] + 769        5   lazpaint                          0x000000010ba29321 COCOAWSMENUS$_$TCOCOAWSMENUITEM_$__$$_ATTACHMENU$TMENUITEM + 657      6   lazpaint                            0x000000010ba6e637 MENUS$_$TMENUITEM_$__$$_CREATEHANDLE + 167        7   lazpaint                          0x000000010ba6fce7 MENUS$_$TMENUITEM_$__$$_HANDLENEEDED + 39        8   lazpaint                          0x000000010ba713c3 MENUS$_$TMENUITEM_$__$$_SETVISIBLE$BOOLEAN + 147        9   lazpaint                          0x000000010b8e15f7 UMENU$_$TMAINFORMMENU_$__$ $_ADDMENUS$TMENUITEM$TACTIONLIST$ANSISTRING$LONGINT + 983        10  lazpaint                            0x000000010b7fbe87 FORMS$_$TCUSTOMFORM_$__$$_CMSHOWINGCHANGED$TLMESSAGE + 87        11  lazpaint                            0x000000010b7e8d49 SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal + 185        12  lazpaint                          0x000000010ba5191d CONTROLS$_$TWINCONTROL_$__$$_WNDPROC$TLMESSAGE + 845        13  lazpaint                            0x000000010b7fe10d FORMS$_$TCUSTOMFORM_$__$$_WNDPROC$TLMESSAGE + 653        14  lazpaint                          0x000000010ba5c766 CONTROLS$_$TCONTROL_$__$$_PERFORM$LONGWORD$WPARAM$LPARAM$$LRESULT + 86        15  lazpaint                            0x000000010ba4f624 CONTROLS$_$TWINCONTROL_$__$$_UPDATESHOWING + 500        16  lazpaint                          0x000000010ba4f55d CONTROLS$_$TWINCONTROL_$__$$_UPDATESHOWING + 301        17  lazpaint                          0x000000010b80185a FORMS$_$TCUSTOMFORM_$__$$_UPDATESHOWING + 138        18  lazpaint                          0x000000010ba4da05 CONTROLS$_$TWINCONTROL_$__$$_DOALLAUTOSIZE + 677        19  lazpaint                          0x000000010ba66251 CONTROLS$_$TCONTROL_$__$$_ENABLEAUTOSIZING + 241        20  lazpaint                          0x000000010ba639f8 CONTROLS$_$TCONTROL_$__$$_SETVISIBLE$BOOLEAN + 424        21  lazpaint                            0x000000010b7fb968 FORMS$_$TCUSTOMFORM_$__$$_SETVISIBLE$BOOLEAN + 120        22  lazpaint                            0x000000010b800a2a FORMS$_$TCUSTOMFORM_$__$$_SHOW + 186        23  lazpaint                          0x000000010b830eef LAZPAINTINSTANCE$_$TLAZPAINTINSTANCE_$__$$_SHOW + 31        24  ???                               0x0000000000000001 0x0 + 1)libc++abi.dylib: terminating with uncaught exception of type NSExceptionzsh: abort     Quote from: circular on May 16, 2020, 01:30:30 pmCool. Well without Retina, it will work all the better. I know people say 32-bit support was dropped, but there are still old 32-bit Apple computers. So if that's ever possible why not. Though if you provide a 64 bit version I will be happy. ---------------------------------------------------------------------- circular · 2020-05-16 19:30 Hmmm so that it is when the menu is created. Looks like a parameter sent by LCL that is not accepted by Cocoa.