On Nov 26, 2007 6:19 PM, Damien Gerard <[EMAIL PROTECTED]> wrote: > > On Nov 26, 2007, at 1:16 PM, Damien Gerard wrote: > > > > > On Nov 26, 2007, at 12:47 PM, Vincent Snijders wrote: > > > >> 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? > >> > > > > It comes from a clean install since I recently reinstall my OS X > > with Leopard. > > But there is may be a conflict somewhere. > > > > With my friend locate I will try remove all files and try another > > shoot :) > > > >> Vincent > > > > > I compltely remove all files associated to fpc/fpcsrc/lazarus and the > error is a bit different. > > "The launching application Bundle "/tmp/project1.app" does not exists > or it is not executable". > The target is GTK :) > But it works >
You have to uncheck Use Application Bundle for running and debugging in Project Options. Tom _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives