Issue Building IDE lazarus / 9-Editor ---------------------------------------------------------------------- stuartbloom · 2015-09-18 11:25 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 · 2015-10-01 12:44 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 · 2015-10-01 13:21 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 · 2015-10-01 13:23 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 · 2015-10-01 13:25 No need to install 32-bit OS for that. Just get 64-bit version of FPC compiler from Ubuntu repository. ---------------------------------------------------------------------- stuartbloom · 2015-10-01 13:27 so, "apt-get install fp-compiler"?? ---------------------------------------------------------------------- Cyrax · 2015-10-01 13:30 No. "apt-get install fpc" is correct form. ---------------------------------------------------------------------- stuartbloom · 2015-10-01 13:44 Thanks Cyrax, I'll give that a try Stuart