Recent

Author Topic: Issue Building IDE  (Read 3360 times)

stuartbloom

  • New member
  • *
  • Posts: 8
Issue Building IDE
« on: September 18, 2015, 01:25:57 pm »
OK, firstly, please accept my apologies, I have search Google to a page higher than I normally go; 20...

I have seen some posts here but doing what they suggest is not helping. so I am hoping some genius here will be gentle with me and point me in the right direction.

I am trying to install a component package; tvplanit.  it compiles ok, but when I compile the IDE, which I seem to have to, I get the following error in lazarus.pp (141, 1) Error: Can't call the resource compiler "/usr/bin/fpcres", switching to external mode.

Now, I do have fpcres in that folder, and my other sttings are:
Lazarus directory:
/usr/share/lazarus/1.2.6/

Compiler path:
usr/bin/fpc

FPC source directory:
/usr/share/fpcsrc/$(FPCVER)

Make path:
make

Directory for building test projects:
~/tmp/

I can call fpcres from the terminal and it states:
fpcres - resource file converter, version 2.0 [2014/04/20], FPC 2.6.4
Host platform: Linux - i386.

Can anyone help me?? please??

Thanks in advance

Stuart

stuartbloom

  • New member
  • *
  • Posts: 8
Re: Issue Building IDE
« Reply #1 on: October 01, 2015, 02:44:20 pm »
OK, I have built a new Ubuntu VM, have installed the latest fpc, fpc-src and lazarus.  Now when I rebuild the IDE I get a load of Panic statements and an exit code of 2; attached is end of the Messages window.

Can anyone please help??

Thanks in advance

Stuart

Cyrax

  • Hero Member
  • *****
  • Posts: 836
Re: Issue Building IDE
« Reply #2 on: October 01, 2015, 03:21:38 pm »
Are you sure that your VM/guest OS is 32-bit? I can see that IDE is trying to call 64-bit version of the FPC compiler.

stuartbloom

  • New member
  • *
  • Posts: 8
Re: Issue Building IDE
« Reply #3 on: October 01, 2015, 03:23:05 pm »
Cyrax.  no its not, its 64bit.  Can I only use a 32bit OS??  Thanks if thats the case, ubuntu 32bit downloading as we speak :)

Cyrax

  • Hero Member
  • *****
  • Posts: 836
Re: Issue Building IDE
« Reply #4 on: October 01, 2015, 03:25:53 pm »
No need to install 32-bit OS for that. Just get 64-bit version of FPC compiler from Ubuntu repository.

stuartbloom

  • New member
  • *
  • Posts: 8
Re: Issue Building IDE
« Reply #5 on: October 01, 2015, 03:27:54 pm »
so, "apt-get install fp-compiler"??

Cyrax

  • Hero Member
  • *****
  • Posts: 836
Re: Issue Building IDE
« Reply #6 on: October 01, 2015, 03:30:45 pm »
No. "apt-get install fpc" is correct form.

stuartbloom

  • New member
  • *
  • Posts: 8
Re: Issue Building IDE
« Reply #7 on: October 01, 2015, 03:44:25 pm »
Thanks Cyrax, I'll give that a try

Stuart

 

TinyPortal © 2005-2018