Recent

Author Topic: [SOLVED] Cocoa installer  (Read 4231 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
[SOLVED] Cocoa installer
« on: March 15, 2018, 12:01:17 pm »
Hi guys, can anyone tell me where I find the lazarus installer to get compiled in cocoa widget? I tried to install it with fpcupdeluxe, but it does not install anything.

Tips?
« Last Edit: March 16, 2018, 11:26:21 am by xinyiman »
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Cocoa installer
« Reply #1 on: March 15, 2018, 02:53:33 pm »
Hi guys, can anyone tell me where I find the lazarus installer to get compiled in cocoa widget? I tried to install it with fpcupdeluxe, but it does not install anything.

https://macpgmr.github.io/MacXPlatform/UsingCocoaFromTrunk.html

mischi

  • Full Member
  • ***
  • Posts: 170
Re: Cocoa installer
« Reply #2 on: March 15, 2018, 03:24:12 pm »
Hi guys, can anyone tell me where I find the lazarus installer to get compiled in cocoa widget? I tried to install it with fpcupdeluxe, but it does not install anything.
First, you do not lazarus-cocoa to compile your project with the cocoa-lcl. You can set the widgetset and the processor in the settings of your project.

Second, if you want to use lazarus-cocoa, fink the debian like package manager has corresponding package description. After the installation of fink (http://finkproject.org) you only need the command "fink install lazarus-cocoa" to get version 1.8.2, but no version from svn-trunk.

MiSchi.

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Re: Cocoa installer
« Reply #3 on: March 16, 2018, 09:20:20 am »
Hi guys, can anyone tell me where I find the lazarus installer to get compiled in cocoa widget? I tried to install it with fpcupdeluxe, but it does not install anything.
First, you do not lazarus-cocoa to compile your project with the cocoa-lcl. You can set the widgetset and the processor in the settings of your project.

Second, if you want to use lazarus-cocoa, fink the debian like package manager has corresponding package description. After the installation of fink (http://finkproject.org) you only need the command "fink install lazarus-cocoa" to get version 1.8.2, but no version from svn-trunk.

MiSchi.

Hello, yes, I was wrong with the wording. It is about cocoa-lcl. Anyway I tried with fink, but the result is:

$ fink install lazarus-cocoa
Information about 11268 packages read in 1 seconds.
Failed: no package found for specification 'lazarus-cocoa'!
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

rvk

  • Hero Member
  • *****
  • Posts: 6162
Re: Cocoa installer
« Reply #4 on: March 16, 2018, 10:35:14 am »
After the installation of fink (http://finkproject.org) you only need the command "fink install lazarus-cocoa" to get version 1.8.2, but no version from svn-trunk.
Isn't Lazarus 1.8.2 really really Alpha. I installed it (in VM) with fpcupdeluxe and the component-icons weren't even fully visible. Somewhere it says it was in Alpha-stage.

Trunk is a bit better.

I tried to install it with fpcupdeluxe, but it does not install anything.
What do you mean, it didn't install anything? What did it do? Error? Anything?

I tried it in a VM and needed to open the package and run the installer in one of the sub-folder (Contents/MacOS) manually because just running the .app didn't work for me either. In such an early alpha/beta stage of Lazarus cocoa you really want the development version and update it regularly.

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Re: Cocoa installer
« Reply #5 on: March 16, 2018, 11:26:07 am »
Hi guys, can anyone tell me where I find the lazarus installer to get compiled in cocoa widget? I tried to install it with fpcupdeluxe, but it does not install anything.

https://macpgmr.github.io/MacXPlatform/UsingCocoaFromTrunk.html

This worked, I can compile for cocoa-lcl from the command line. It's a start for testing. Thank you
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

mischi

  • Full Member
  • ***
  • Posts: 170
Re: Cocoa installer
« Reply #6 on: March 16, 2018, 11:51:49 am »
Hello, yes, I was wrong with the wording. It is about cocoa-lcl. Anyway I tried with fink, but the result is:

$ fink install lazarus-cocoa
Information about 11268 packages read in 1 seconds.
Failed: no package found for specification 'lazarus-cocoa'!
Stupid me. You are right. lazarus-cocoa 1.8.2 has still an issue, which is only fixed in trunk and i did not enable the package description, but I have forgotten about it. Anyways I am glad to see, that you managed to use the lcl-cocoa for your project.

Mischi.

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Re: Cocoa installer
« Reply #7 on: March 16, 2018, 12:22:55 pm »
Hello, yes, I was wrong with the wording. It is about cocoa-lcl. Anyway I tried with fink, but the result is:

$ fink install lazarus-cocoa
Information about 11268 packages read in 1 seconds.
Failed: no package found for specification 'lazarus-cocoa'!
Stupid me. You are right. lazarus-cocoa 1.8.2 has still an issue, which is only fixed in trunk and i did not enable the package description, but I have forgotten about it. Anyways I am glad to see, that you managed to use the lcl-cocoa for your project.

Mischi.

Yes, but now i have a problem with my project.

http://forum.lazarus-ide.org/index.php/topic,40503.msg279805/topicseen.html#new
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

 

TinyPortal © 2005-2018