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).
--
Damien Gerard
[EMAIL PROTECTED]
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives