Recent

Author Topic: compiler hangs  (Read 30893 times)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: compiler hangs
« Reply #30 on: July 07, 2010, 09:42:12 am »
would not compile, here are the errors:
ld: can't open out file for writing: /Users/rxrick/Documents/lithium, errno=21
An error occurred while linking
project1.lpr(13,4) Error: Error while linking
project1.lpr(13,4) Fatal: There were 1 errors compiling module, stopping
errno=21 means, that you probably have a directory named "lithium" or "Lithium" at /Users/rxrick/Documents/ directory.

RxRick

  • New Member
  • *
  • Posts: 23
Re: compiler hangs
« Reply #31 on: July 10, 2010, 02:44:39 am »
thanks again for all your help.

i had to step away for a couple of days, to let the frustration level settle.

yes, it worked, thanks so much.

i did have a problem with a component that i had downloaded, thtmlport, said it couldn't find the source, i put it here:
/Developer/lazarus/components/thtmlport

where is the correct place to put code for a new lcl component so lazarus can find it?

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: compiler hangs
« Reply #32 on: July 13, 2010, 09:02:50 am »
Do you have thtmlport package installed in Lazarus?

If yes, you need to add the dependency on the package.
Project -> Project Inspector -> "Required Packages"

RxRick

  • New Member
  • *
  • Posts: 23
Re: compiler hangs
« Reply #33 on: July 13, 2010, 06:22:26 pm »
it's working now, thanks again for all your help.

laguna

  • Sr. Member
  • ****
  • Posts: 323
Re: compiler hangs
« Reply #34 on: August 06, 2017, 01:17:53 pm »
Mac OSX Vers. 10.12.4
Lazarus 1.9.0
FPC 3.0.2

Path Lazarus
/Developer/Lazarus  etc
/Developer/fpc       etc

Solved with:

cd /usr/bin
sudo ln -s /Developer/fpc/utils/fpcres/bin/i386-darwin/fpcres

 

TinyPortal © 2005-2018