Recent

Author Topic: Error Compiling in OSX Snow Leopard  (Read 21559 times)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Error Compiling in OSX Snow Leopard
« Reply #15 on: November 08, 2009, 03:02:45 am »
Here is the terminal output

Last login: Sat Nov  7 21:21:58 on ttys000
cecil-sylvesters-imac-3:~ Cecil$ cd /developer/lazarus
cecil-sylvesters-imac-3:lazarus Cecil$ open lazarus.app
cecil-sylvesters-imac-3:lazarus Cecil$
try to launch lazarus in the following way:
cecil-sylvesters-imac-3:~ Cecil$ cd /developer/lazarus
cecil-sylvesters-imac-3:lazarus Cecil$ ./lazarus.app/Contents/MacOS/lazarus

earlcenac

  • New Member
  • *
  • Posts: 14
Re: Error Compiling in OSX Snow Leopard
« Reply #16 on: November 08, 2009, 03:58:15 am »
here is the terminal output.

cecil-sylvesters-imac-3:lazarus Cecil$ ./lazarus.app/contents/MacOS/lazarus
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath="/Users/Cecil/.lazarus"
  SecondaryConfigPath="/etc/lazarus"
TMainIDE.DoNewProject A
TCustomFormEditor.CreateComponent Form1:TForm1 True
TMainIDE.DoNewEditorFile END unit1.pas

earlcenac

  • New Member
  • *
  • Posts: 14
Re: Error Compiling in OSX Snow Leopard
« Reply #17 on: November 08, 2009, 04:35:16 am »
The last post was the terminal output before I hit Save. This is the full output before and after hitting save.

Last login: Sat Nov  7 21:36:14 on ttys000
cecil-sylvesters-imac-3:~ Cecil$ cd /developer/lazarus
cecil-sylvesters-imac-3:lazarus Cecil$ ./lazarus.app/Contents/MacOS/lazarus
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath="/Users/Cecil/.lazarus"
  SecondaryConfigPath="/etc/lazarus"
TMainIDE.DoNewProject A
TCustomFormEditor.CreateComponent Form1:TForm1 True
TMainIDE.DoNewEditorFile END unit1.pas
2009-11-07 23:29:28.494 lazarus[6087:903] Exception raised!: *** -[NSCFString substringToIndex:]: Range or index out of bounds
TApplication.HandleException Access violation
  Stack trace:
lazarus.pp - unhandled exception
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
cecil-sylvesters-imac-3:lazarus Cecil$

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Error Compiling in OSX Snow Leopard
« Reply #18 on: November 08, 2009, 04:59:28 pm »
is stack trace empty?

earlcenac

  • New Member
  • *
  • Posts: 14
Re: Error Compiling in OSX Snow Leopard
« Reply #19 on: November 09, 2009, 12:19:41 am »
I do not know how to find out. Could you tell me?

earlcenac

  • New Member
  • *
  • Posts: 14
Re: Error Compiling in OSX Snow Leopard
« Reply #20 on: November 09, 2009, 04:48:23 am »
Finally,

I started Lazarus using open startlazarus
then I hit the SaveAs menu Item

and got the attached output in Terminal

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Error Compiling in OSX Snow Leopard
« Reply #21 on: November 09, 2009, 09:11:53 am »
Could you rebuild Lazarus and reproduce the bug again as well as post the Terminal output here.

Lazarus can be rebuilt in the following way:
- Run Lazarus
- Select menu Tools -> Configure Build -> "Advanced Build Options"
- Select building IDE only (as shown in the screenshot)
- Click "Build"
Wait for building process to complete. It should end successfully and IDE will restart itself.

earlcenac

  • New Member
  • *
  • Posts: 14
Re: Error Compiling in OSX Snow Leopard
« Reply #22 on: November 09, 2009, 12:30:39 pm »
here is the new terminal output, after doing what you asked.

earlcenac

  • New Member
  • *
  • Posts: 14
Re: Error Compiling in OSX Snow Leopard
« Reply #23 on: November 24, 2009, 12:51:19 am »
I have been out for a while and unable to access my computer. Can someone tell me what is the status of my problem? has it been resolved?
I would like to know.

I hope that these questions have not been rude or out of place.



 

TinyPortal © 2005-2018