Lazarus

Programming => Databases => Topic started by: vdubeau on August 08, 2022, 03:13:50 pm

Title: [Solved] SQLite examples error compiling.
Post by: vdubeau on August 08, 2022, 03:13:50 pm
I would really like to use FPC and Lazarus. I tried compiling the DBLookup example and got the following error:

idewindowintf.pas(26,3) Fatal: Cannot find IDEOptionsIntf used by IDEWindowIntf, incompatible ppu=/Applications/Lazarus/components/buildintf/units/x86_64-darwin/ideoptionsintf.ppu, multiple packages: BuildIntf, IDEIntf

I am mainly interested in developing desktop apps which usually have a database component.

System config:

2013 Imac
OSX Catalina
3.4 GHz i5
24 GB memory

Thanks
Title: Re: SQLie examples error compiling.
Post by: Thaddy on August 08, 2022, 03:52:29 pm
Couple of remarks about Catalina:
1. Is 64 bit only, so you will need a 64 bit FPC and Lazarus
2. Does not support Carbon, so you can not use the Carbon widget set.
3. Catalina has only support for security updates.

What versions are you using for both FPC and Lazarus and which widget set?

That is really important information to help you.
Normally, running Sqlite is not a problem.
Title: Re: SQLie examples error compiling.
Post by: vdubeau on August 08, 2022, 11:36:26 pm
I'm using the latest 64-bit version of both FPC and Lazarus.
Title: Re: SQLite examples error compiling.
Post by: PierceNg on August 09, 2022, 04:03:02 am
Instead of trying to run Lazarus installed from the downloaded DMG, suggest you run from source (https://wiki.freepascal.org/Installing_Lazarus_on_macOS#Installing_non-release_versions_of_the_Lazarus_IDE). I have Lazarus running this way on Catalina.
Title: Re: SQLite examples error compiling.
Post by: vdubeau on August 09, 2022, 04:00:42 pm
I tried the instructions on the above but I get the following error from git:

fatal: repository 'https//github.com/fpc/Lazarus/branches/fixes_2_2' does not exist

Thanks
Title: Re: SQLite examples error compiling.
Post by: Zvoni on August 09, 2022, 04:08:48 pm
I tried the instructions on the above but I get the following error from git:

fatal: repository 'https//github.com/fpc/Lazarus/branches/fixes_2_2' does not exist

Thanks
i really, really doubt that this is the actual error-message.....(let's see who can spot it)
Title: Re: SQLite examples error compiling.
Post by: vdubeau on August 09, 2022, 07:30:48 pm
why doubt copy and paste?
Title: Re: SQLite examples error compiling.
Post by: dsiders on August 09, 2022, 07:42:07 pm
why doubt copy and paste?

Because, if that were truly a copy and paste, the colon would not be missing in the URL.
Title: Re: SQLite examples error compiling.
Post by: vdubeau on September 12, 2022, 07:09:05 pm
I tried doing it agin. Apparently everything worked right this time.  The SQLite example compiled and worked.

Thanks for the help guys.
Title: Re: SQLite examples error compiling.
Post by: Arioch on September 12, 2022, 08:00:26 pm
Because, if that were truly a copy and paste, the colon would not be missing in the URL.

But still would be 404, you moved from github to gitlab
TinyPortal © 2005-2018