Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-11-01 Thread Mattias Gaertner via lazarus
On Thu, 31 Oct 2019 10:30:03 -0500 Dan Star via lazarus wrote: >[...] > > I upgraded from Mojave to Catalina > > > > executed "xcode-select --install" > > > > And then to find the crt1.10.5 I changed in /etc/fpc.cfg the -Fl > > behind "#ifdef cpux86_64" from > >

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-31 Thread Anthony Tekatch via lazarus
On Tue, 15 Oct 2019 02:09:29 +0200, Martin Frb wrote: > You are aware that the IDE now supports LLDB too? > https://forum.lazarus.freepascal.org/index.php/topic,42869.0.html Thank you. LLDB did work and helped me find some problems in my program on to get it to work on Mac OSX Catalina. --

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-27 Thread Dan Star via lazarus
On 10/26/19 5:30 AM, Mattias Gaertner via lazarus wrote: On Fri, 25 Oct 2019 10:23:29 -0500 Dan Star via lazarus wrote: [...] Same error now: Build IDE: Exit code 2, Errors: 3 Error: ld: framework not found Cocoa make[2]: *** [lazarus] Error 1 make[1]: *** [idepkg] Error 2 Error: make: ***

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-26 Thread Mattias Gaertner via lazarus
On Fri, 25 Oct 2019 10:23:29 -0500 Dan Star via lazarus wrote: >[...] > Same error now: > > Build IDE: Exit code 2, Errors: 3 > Error: ld: framework not found Cocoa > make[2]: *** [lazarus] Error 1 > make[1]: *** [idepkg] Error 2 > Error: make: *** [idepkg] Error 2 > Linking ../lazarus > An

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-26 Thread Mattias Gaertner via lazarus
On Fri, 25 Oct 2019 10:12:21 -0500 Dan Star via lazarus wrote: > On 10/25/19 10:06 AM, Martin Frb via lazarus wrote: > > On 25/10/2019 16:54, Dan Star via lazarus wrote: > >> > >> If I remove those 2 packages and try to build vanilla Laz MacOS 64 > >> I get the same errors so looks like a

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-25 Thread Dan Star via lazarus
On 10/25/19 10:16 AM, Dmitry Boyarintsev via lazarus wrote: On Fri, Oct 25, 2019 at 11:12 AM Dan Star via lazarus mailto:lazarus@lists.lazarus-ide.org>> wrote: /Compiler "/Users/Dan/Development/FreePascal/fpc/bin/x86-64-darwin/fpc.sh" does not support target x86-64-macos./

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-25 Thread Dmitry Boyarintsev via lazarus
On Fri, Oct 25, 2019 at 11:12 AM Dan Star via lazarus < lazarus@lists.lazarus-ide.org> wrote: > /Compiler > "/Users/Dan/Development/FreePascal/fpc/bin/x86-64-darwin/fpc.sh" does > not support target x86-64-macos./ > "macos" platform target refers to Classic MacOS (MacOS 9), rather than MacOSX

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-25 Thread Dan Star via lazarus
On 10/25/19 10:06 AM, Martin Frb via lazarus wrote: On 25/10/2019 16:54, Dan Star via lazarus wrote: If I remove those 2 packages and try to build vanilla Laz MacOS 64 I get the same errors so looks like a configuration problem caused by having had Laz 32 installed previously. Maybe go to

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-25 Thread Dmitry Boyarintsev via lazarus
On Fri, Oct 25, 2019 at 10:54 AM Dan Star via lazarus < lazarus@lists.lazarus-ide.org> wrote: > The 'Build Lazarus" Information window appears OK for Cocoa but just > guessing; there is no way to copy this information to the clipboard nor > can I find a config file with it. > Try to build IDE

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-25 Thread Martin Frb via lazarus
On 25/10/2019 16:54, Dan Star via lazarus wrote: If I remove those 2 packages and try to build vanilla Laz MacOS 64 I get the same errors so looks like a configuration problem caused by having had Laz 32 installed previously. Maybe go to "configure build lazarus" and choose target cpu (and

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-25 Thread Dan Star via lazarus
On 10/25/19 8:34 AM, Martin Frb via lazarus wrote: On 25/10/2019 15:25, Dan Star via lazarus wrote: On my other Catalina Mac I cannot install LLDB FPDebug.  I get the following error when I rebuild the IDE with fpdebug and laz...fplldb packages:    Build IDE: Exit code 2, Errors: 3    Error:

[Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-25 Thread Dan Star via lazarus
On my other Catalina Mac I cannot install LLDB FPDebug.  I get the following error when I rebuild the IDE with fpdebug and laz...fplldb packages: Build IDE: Exit code 2, Errors: 3 Error: ld: framework not found Cocoa make[2]: *** [lazarus] Error 1 make[1]: *** [idepkg] Error 2

[Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-24 Thread Dan Star via lazarus
On my other Catalina Mac I cannot install LLDB FPDebug.  I get the following error when I rebuild the IDE with fpdebug and laz...fplldb packages: Build IDE: Exit code 2, Errors: 3 Error: ld: framework not found Cocoa make[2]: *** [lazarus] Error 1 make[1]: *** [idepkg] Error 2

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-23 Thread Martin Frb via lazarus
On 23/10/19 18:25, Dan Star via lazarus wrote: On 23/10/19 15:37, Dan Star via lazarus wrote: /> Had to install MacPorts manually on my Catalina Mac.  Used LLVM />/> Lazarus 2.1 installed and runs OK.   Note that GDB Debugger I cannot />/> get to work with Cocoa. />>//>/> Dan /> You do not

[Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-23 Thread Dan Star via lazarus
On 23/10/19 15:37, Dan Star via lazarus wrote: /> Had to install MacPorts manually on my Catalina Mac.  Used LLVM />/> Lazarus 2.1 installed and runs OK.   Note that GDB Debugger I cannot />/> get to work with Cocoa. />>//>/> Dan /> You do not need the gdb debugger. just switch to "lldb (with

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-23 Thread Martin Frb via lazarus
On 23/10/19 15:37, Dan Star via lazarus wrote: Had to install MacPorts manually on my Catalina Mac.  Used LLVM Lazarus 2.1 installed and runs OK.   Note that GDB Debugger I cannot get to work with Cocoa. Dan You do not need the gdb debugger. just switch to "lldb (with fpdebug)" search the

[Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-23 Thread Dan Star via lazarus
Had to install MacPorts manually on my Catalina Mac.  Used LLVM Lazarus 2.1 installed and runs OK.   Note that GDB Debugger I cannot get to work with Cocoa. Dan -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org

[Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-18 Thread Dan Star via lazarus
*** Just tried to actually compile a new project and got Error: ld: framework not found Cocoa along with various lines like Error: :77532:10: warning: section "__datacoal_nt" is deprecated Do we need to set some additional

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-15 Thread Anthony Walter via lazarus
I have to search my backup drives for some of this code, but I believe I also added a few extra classes to simplify some of the weirdness of Apple's classes. For example I greatly simplified the steps needed to work with CGContext and CGBitmapContextCreate such that it was completely transparent.

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-15 Thread Dmitry Boyarintsev via lazarus
I see. Thanks for the insight On Tuesday, October 15, 2019, Anthony Walter via lazarus < lazarus@lists.lazarus-ide.org> wrote: > What I've done is created a reference counted class hierarchy to match > part of the Cocoa framework. > -- ___ lazarus

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-15 Thread Anthony Walter via lazarus
Dimitry, What I've done is created a reference counted class hierarchy to match part of the Cocoa framework. It's only partially done, but it allows Pascal code to be written to simplify interaction with native OSX frameworks and APIs like AppKit in the following ways: Using NSWindow class as an

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-15 Thread Dmitry Boyarintsev via lazarus
On Tue, Oct 15, 2019 at 11:50 AM Anthony Walter via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Personally I've implemented some OSX core classes in a manner that is much > more elegant manner that what's currently used in the Cocoa widgetset and > if time permits I may propose some of my

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-15 Thread Anthony Walter via lazarus
Note to all, the install source I posted comes from a random clone of svn trunk fpc and trunk lazarus put together from whatever was in the svn repository on Saturday. As such it might contain any number of potential bugs. That said, the reason trunk sources should be used is that the Cocoa

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-15 Thread Anthony Tekatch via lazarus
I'll test the debugger options later. I tried installing online package manager and got these errors after trying to rebuild: Compile package laz.virtualtreeview_package 5.5.3.1: Exit code 1, Errors: 1 laz.virtualtrees.pas(68,3) Fatal: Cannot find laz.FakeActiveX used by laz.VirtualTrees of

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-15 Thread Martin Frb via lazarus
On 15/10/2019 12:14, Martin Frb via lazarus wrote: On 15/10/2019 04:23, Anthony Walter via lazarus wrote: Here is a short video where I demonstrate how to switch between the gdb and lldb inside Lazarus. https://cache.getlazarus.org/videos/lazarus-lldb.mp4 You can add a 2nd configuration via

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-15 Thread Martin Frb via lazarus
On 15/10/2019 04:23, Anthony Walter via lazarus wrote: Here is a short video where I demonstrate how to switch between the gdb and lldb inside Lazarus. https://cache.getlazarus.org/videos/lazarus-lldb.mp4 You can add a 2nd configuration via the toolbar. Then use the toolbar to toggle. That

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-14 Thread Anthony Walter via lazarus
Here is a short video where I demonstrate how to switch between the gdb and lldb inside Lazarus. I also demonstrate how to move docked windows. There is no audio, but anyone should be able to follow along. Interestingly the Cocoa widgetset throws an exception when a docked window is undocked or

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-14 Thread Anthony Walter via lazarus
Ryan, To answer your question, I just haven't taken the time to try out lldb yet. I guess it can be switched to lldb in the Lazarus interface. About that crash, it probably comes from somewhere in the Cocoa widgetset, which is currently still in development. It's far along enough to enable the

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-14 Thread Ryan Joseph via lazarus
> On Oct 14, 2019, at 7:10 PM, Anthony Walter via lazarus > wrote: > > Testers need. > > I created a new installer for OSX that includes a 64-bit only Cocoa version > of FPC and Lazarus. I don't have Catalina installed, so I am looking for > testers and any variety of OSX. It worked for

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-14 Thread Anthony Walter via lazarus
Also, about code signing gdb, my setup script will install it for you using either Homebrew or Macports, you get to choose. You may want to try these alternate steps and skip the debugger install steps (the script already installed it), and proceed with the code signing steps:

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-14 Thread Martin Frb via lazarus
On 15/10/2019 02:35, Anthony Walter wrote: Martin, Yes I read the message requesting lldb testing the other day. I haven't taken the time to test it yet, but as I understand it's a great project that will hopefully allow for better debugging (such as inspecting and changing properties at

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-14 Thread Anthony Walter via lazarus
Martin, Yes I read the message requesting lldb testing the other day. I haven't taken the time to test it yet, but as I understand it's a great project that will hopefully allow for better debugging (such as inspecting and changing properties at runtime) but is still missing some important

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-14 Thread Martin Frb via lazarus
On 15/10/2019 02:07, Anthony Tekatch via lazarus wrote: I am having some difficulty with the gdb code signing: You are aware that the IDE now supports LLDB too? https://forum.lazarus.freepascal.org/index.php/topic,42869.0.html -- ___ lazarus mailing

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-14 Thread Anthony Tekatch via lazarus
On Mon, 14 Oct 2019 19:10:14 -0400, Anthony Walter via lazarus wrote: > Testers need. > ... > https://www.getlazarus.org/download/?platform=macintosh Thank you for making this. The script itself installed all parts without problems. I am having some difficulty with the gdb code signing:

[Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-14 Thread Anthony Walter via lazarus
Testers need. I created a new installer for OSX that includes a 64-bit only Cocoa version of FPC and Lazarus. I don't have Catalina installed, so I am looking for testers and any variety of OSX. The installer is a shells script that will walk you through Xcode, Homebrew or Macports, as well as