Recent

Author Topic: Anyone have Lazarus 1.2 with FPC 2.6.4 working with xcode 5.1 on macosx?  (Read 3270 times)

vonskie

  • Full Member
  • ***
  • Posts: 139
How did you get it working?

I have had no luck....

Give me some tips.

kamischi

  • Full Member
  • ***
  • Posts: 177
Since i had no chance to test it, i would be happy if you try the fink package of fpc and lazarus and report problems. At least lazarus-gtk2 should work. I suspect more problems with lazarus-aqua because of the usage of 32bit carbon.

MiSchi.
fpc 2.6.4, lazarus 1.4.0, Mac OS X, fink

JdeHaan

  • Jr. Member
  • **
  • Posts: 61
hi,

I got the new versions of the following Lazarus files:
- developer\lazarus\lcl\interfaces\carbon\carbonstrings.pp
- developer\lazarus\components\lazutils\lazlogger.pas
- developer\lazarus\lcl\include\customlistview.inc
- developer\lazarus\packager\registration\lazaruspackageintf.pas

from the site:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/?root=lazarus

then recompiled Lazarus with FPC 2.6.4 and it worked.

of course update Xcode to 5.1 and install command line tools.

good luck!

vonskie

  • Full Member
  • ***
  • Posts: 139
hi,

I got the new versions of the following Lazarus files:
- developer\lazarus\lcl\interfaces\carbon\carbonstrings.pp
- developer\lazarus\components\lazutils\lazlogger.pas
- developer\lazarus\lcl\include\customlistview.inc
- developer\lazarus\packager\registration\lazaruspackageintf.pas

from the site:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/?root=lazarus

then recompiled Lazarus with FPC 2.6.4 and it worked.

of course update Xcode to 5.1 and install command line tools.

good luck!

thank you I will try that I was getting a fatal error and it did not say why with lazaruspackageintf.pas

How did you figure the above out?

Where is the developer path I see Binary, Branches, Tags, trunk? Can you give me a more complete path?


« Last Edit: March 17, 2014, 10:47:08 pm by vonskie »

vonskie

  • Full Member
  • ***
  • Posts: 139
I finally got the older version of lazarus 1.0.14 with 2.6.2 working after installing gdb via the brew instructions and then signing the file and then setting the path. The gdb from the 4.6.3 Xcode did not work and caused compiling to fail.


JdeHaan

  • Jr. Member
  • **
  • Posts: 61
First of all, the mentioned paths are on your Mac. "your mac"\Macintosh HD\Developer\Lazarus\...\
I used the trial&error approach actually to replace the files with newer versions. I just checked what were the changed files since beginning of March (release date of 2.6.4) and copied them over into the respective Lazarus folders.
I read somewhere that the use of InsertItem was changed, and that this was causing the problems. In the 4 files the new behavior was coded.
Hope this helps.

 

TinyPortal © 2005-2018