Damien Gerard schreef:

On Nov 26, 2007, at 10:29 AM, Marc Weustink wrote:

Damien Gerard wrote:
I have just download fpc 2.2.1 and the lastest snapshot for OS X.
I launch Lazarus and it works fine (however gtk1 is ugly ^^) but I can not launch an empty application.
I've got the following message :
Unable to find wslclasses.pp, check in path Projects->Compiler Options->Search Paths -> Other Unit files

You got this when compiling ? How did you create your new project ?


It is the new new project when you first launch Lazarus. The same with Project/ New


In fact, in order to compile an empty project, I have to add by hand all needed paths into the fpc.cfg. I did not find such a thing in the wiki.
Where I am wrong ?

For compilation of your apps, you don't need to add paths to lazarus or LCl sources in your fpc.cfg. It only needs a path to the LCL unit dirs. (and that only if you compile form the commandline)



Consequently, if you just install fpc-src, fpc then lazarus you can not compile a default new project (in my case).


I think there is some fpc <-> lazarus version conflict.

Did you install both a new fpc and a new lazarus snapshot?
Is the compiler in the environment options the new fpc compiler?
Does the used fpc.cfg file point to the newly installed fpc unit directory?

Vincent

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to