Recent

Author Topic: Can't compile unit INTERFACEBASE  (Read 7885 times)

Didier69

  • New member
  • *
  • Posts: 7
Can't compile unit INTERFACEBASE
« on: January 28, 2004, 10:17:21 am »
Hello,

I try to install lazarus on win2k, and when I try to compile a little example, I got this error :

Can't compile unit INTERFACEBASE,  no sources available.

I think I don't need to recompile this unit no ? Where do I disable this option of recompilation ?

Thanks.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Can't compile unit INTERFACEBASE
« Reply #1 on: January 28, 2004, 10:35:23 am »
Go to Run, Compiler Options,  Paths, LCL Widget Type.
Is widget set default or win32?

Didier69

  • New member
  • *
  • Posts: 7
Can't compile unit INTERFACEBASE
« Reply #2 on: January 28, 2004, 10:38:18 am »
Hi Vincent,

default (win32) or win32 gives me the same error

(sorry for PM :))

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Can't compile unit INTERFACEBASE
« Reply #3 on: January 28, 2004, 12:02:46 pm »
Just guessing....

Another possibilty could be, that the compiler you compiled lazarus (and the lcl) with, is not the same as the compiler you used to compile your sample program.

What compiler did you use to compile the LCL (or did you get a precompiled version)?

The compiler used to compile your example, can be set in the environment options.

HTH,
Vincent.

Didier69

  • New member
  • *
  • Posts: 7
Can't compile unit INTERFACEBASE
« Reply #4 on: January 28, 2004, 04:25:55 pm »
I resolved the problem : I didn't installed the FPC from lazarus. So I restarted from the beggining, and I installed FPC from lazarus installation and now it works !

 

TinyPortal © 2005-2018