Recent

Author Topic: after installing on Catalina, i get this error: WRONG INTERFACES SOURCE  (Read 1179 times)

ENRICO

  • New Member
  • *
  • Posts: 17
hello, I've installed Lazarus on Catalina following the advice on this thread:

https://forum.lazarus.freepascal.org/index.php/topic,47011.0.html

after installing it, whenever I build a program, I get this error:

interfaces.pas(23,2) Error: User defined: wrong interfaces source


I clicked on tools/option and the Compiler executable is already on /usr/local/bin/ppc386 , but still it still doesn't work (check screen attached).

I don't know what to do and how to solve it.
Any suggestion?

Thank you

ENRICO

  • New Member
  • *
  • Posts: 17
Re: after installing on Catalina, i get this error: WRONG INTERFACES SOURCE
« Reply #1 on: December 28, 2019, 09:06:54 pm »
update:
I think one the problems is that I had a different version of Lazarus installed before, I think I might have some hidden files interfering with the new version and this could be a reason why I'm encountering this error.

I've decided to RESET my mac and I'll try to install everything all over again, just to have a clean machine to try on.

I'll post the update if I succeed (mods delete this thread if you think is not relevant) 

 





trev

  • Hero Member
  • *****
  • Posts: 822
  • Former Delphi 1-7 and 10.2 User
Re: after installing on Catalina, i get this error: WRONG INTERFACES SOURCE
« Reply #2 on: December 29, 2019, 01:19:31 am »
You do realise that Catalina has removed ALL support for 32 bit applications and so the 32 bit Carbon framework is no longer available?

You need to use the 64 bit compiler /usr/local/bin/ppcx64 and set the widgetset to Cocoa.

o Lazarus v2.1.0 r63598, FPC v3.3.1 r45778, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (Parallels VM)
o FPC 3.0.4, FreeBSD 12-STABLE r361007 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

ENRICO

  • New Member
  • *
  • Posts: 17
Re: after installing on Catalina, i get this error: WRONG INTERFACES SOURCE
« Reply #3 on: December 29, 2019, 03:09:06 pm »
[SOLVED]

Here's how i did it:

First i followed the classic guide from:

https://wiki.freepascal.org/Installing_Lazarus_on_MacOS_X

WITH THE HELP FROM THIS THREAD:
https://forum.lazarus.freepascal.org/index.php/topic,47011.30.html

With the files provided by the user AnthonyTekatch (THANK YOU SO MUCH)
HERE ARE THE FILES:
https://sourceforge.net/projects/lazarus/files/Lazarus%20macOS%20x86-64/

THANK YOU TO EVERYONE IN THIS FORUM  :)







 

TinyPortal © 2005-2018