Re: [lazarus] Lazarus on OS X
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 ? 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) _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Lazarus on OS X
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 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 ? -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus on OS X
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
Re: [lazarus] Lazarus on OS X
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
Re: [lazarus] Lazarus on OS X
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 -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus on OS X
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 -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus on OS X
On Monday 26 November 2007 10:21:03 am 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 Gtk is known to be ugly, it would be nice for us if you would try the Qt version and give feedback to [EMAIL PROTECTED] You do not need X11 for this. not launch an empty application. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus on OS X
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
Re: [lazarus] Lazarus on OS X
On Nov 26, 2007, at 6:33 PM, Den Jean wrote: On Monday 26 November 2007 10:21:03 am 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 Gtk is known to be ugly, it would be nice for us if you would try the Qt version and give feedback to [EMAIL PROTECTED] You do not need X11 for this. not launch an empty application. Oki let's continue on the qt ml :) However I would prefer the Carbon widgetset because of the QT licence. -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus on OS X
On Nov 26, 2007, at 7:48 PM, Damien Gerard wrote: On Nov 26, 2007, at 6:33 PM, Den Jean wrote: On Monday 26 November 2007 10:21:03 am 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 Gtk is known to be ugly, it would be nice for us if you would try the Qt version and give feedback to [EMAIL PROTECTED] You do not need X11 for this. not launch an empty application. Oki let's continue on the qt ml :) However I would prefer the Carbon widgetset because of the QT licence. Before QT, I tried GTK2 and I have got the following error: (gdb) r Starting program: /usr/local/bin/lazarus Reading symbols for shared libraries + + done TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32 NOTE: codetools config file not found - using defaults Reading symbols for shared libraries . done NOTE: help options config file not found - using defaults TMainIDE.DoNewProject A TMainIDE.DoNewEditorFile A NewFilename= (lazarus:42287): Pango-WARNING **: Error loading GDEF table 85 (lazarus:42287): Pango-WARNING **: Error loading GSUB table 85 (lazarus:42287): Pango-WARNING **: Error loading GPOS table 85 [TCustomFormEditor.CreateComponent] Class='TForm' TMainIDE.DoNewEditorFile end unit1.pas The program 'lazarus' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 12882 error_code 8 request_code 152 minor_code 4) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Program exited with code 01. (gdb) In fact Lazarus quit right after all forms are displayed Let's try QT ! :) -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives