Re: [lazarus] Error: Invalid Free Pascal Source Directory

2008-02-09 Thread Chris Kirkpatrick
Source files will be in /usr/share/fpc ... or somewhere close to that (you may have to dig around a little!) In general, Lazarus will be in the directory in which it is installed, fpc compiler will be in /usr/bin (or there will be a symbolic link from /usr/bin/ppc386 to

Re: [lazarus] Error: Invalid Free Pascal Source Directory

2008-02-09 Thread Mattias Gaertner
On Sat, 9 Feb 2008 18:04:28 +1100 Peter Williams [EMAIL PROTECTED] wrote: Hi Vincent All, On 08/02/2008, Vincent Snijders [EMAIL PROTECTED] wrote: Luk Vandelaer schreef: The correct path for you would be /usr/lib/fpc/2.0.4 Lazarus knows his way from there. No that is the path

Re: [lazarus] Win32 compilation error : Import library not found for libz

2008-02-09 Thread Dominique Louis
Hi all, Anyone have any ideas? Dominique Dominique Louis wrote: My uses clause is as follows uses Zlib, // To avoid linking to objects Sysutils, Classes; This works fine on Mac OS X, but on Win32 I get the error mentioned. Yes I'm using the zlib that ships with FPC. Dominique.

Re: [lazarus] Win32 compilation error : Import library not found for libz

2008-02-09 Thread Vincent Snijders
Dominique Louis schreef: Hi all, Anyone have any ideas? Yes, drop zlib and use paszlib. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

[lazarus] LoadCursor replacement

2008-02-09 Thread user1
I found this in Delphi Win32 code: Screen.Cursors[crCrossSmall] := LoadCursor(hInstance, 'CURSOR_CROSSSMALL'); What is the replacement in Linux? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe

Re: [lazarus] LoadCursor replacement

2008-02-09 Thread Paul Ishenin
[EMAIL PROTECTED] wrote: I found this in Delphi Win32 code: Screen.Cursors[crCrossSmall] := LoadCursor(hInstance, 'CURSOR_CROSSSMALL'); What is the replacement in Linux? In LCL you should use this: LoadCursorFromLazarusResource('CURSOR_CROSSSMALL') and place cursor in .lrs resource.

Re: [lazarus] Win32 compilation error : Import library not found for libz

2008-02-09 Thread Dominique Louis
Marco van de Voort wrote: I've just been trying to compile some code that makes use of Zlib and when I try to compile it from within Lazarus I get the following error Error: Import library not found for libz at the linking stage. It's the only thing stopping it from linking. Is this a bug

Re: [lazarus] Win32 compilation error : Import library not found for libz

2008-02-09 Thread Dominique Louis
Ok, but shouldn't it work with both? Vincent Snijders wrote: Dominique Louis schreef: Hi all, Anyone have any ideas? Yes, drop zlib and use paszlib. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with

[lazarus] FW: [FPC 0010433]: Can't compile IDE to add package

2008-02-09 Thread Hess, Philip J
From time to time I receive blank bug reports like the one below. Today I received several so I logged into Mantis and saw that a couple weeks ago there was a message to me from Vincent related to this bug - I never saw the message, probably because it came to me as a blank e-mail. Is there a

Re[2]: [lazarus] Win32 compilation error : Import library not found for libz

2008-02-09 Thread JoshyFun
Hello Dominique, Saturday, February 9, 2008, 8:42:46 PM, you wrote: DL Marco van de Voort wrote: I've just been trying to compile some code that makes use of Zlib and when I try to compile it from within Lazarus I get the following error DL Ok, but shouldn't it work with both? DL Are there

Re: [lazarus] FW: [FPC 0010433]: Can't compile IDE to add package

2008-02-09 Thread Vincent Snijders
Hess, Philip J schreef: From time to time I receive blank bug reports like the one below. Today I received several so I logged into Mantis and saw that a couple weeks ago there was a message to me from Vincent related to this bug - I never saw the message, probably because it came to me as a

Re: [lazarus] Win32 compilation error : Import library not found for libz

2008-02-09 Thread Vincent Snijders
Dominique Louis schreef: Ok, but shouldn't it work with both? If you have a compatible zlib dll. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

[lazarus] ColorToRGB in console app

2008-02-09 Thread Hess, Philip J
I need to call ColorToRGB in a console app. Adding Graphics to uses allows lazbuild to compile the console app okay, but I get an AV when running it, presumably because the widgetset that actually implements ColorToRGB isn't getting linked into the app, as evidenced by otool -L (on Mac):

Re: [lazarus] ColorToRGB in console app

2008-02-09 Thread Mattias Gaertner
On Sat, 9 Feb 2008 15:42:22 -0500 Hess, Philip J [EMAIL PROTECTED] wrote: I need to call ColorToRGB in a console app. Adding Graphics to uses allows lazbuild to compile the console app okay, but I get an AV when running it, presumably because the widgetset that actually implements

RE: [lazarus] ColorToRGB in console app

2008-02-09 Thread Hess, Philip J
Excellent, that's what I was forgetting. Of course, now the app has the same issues as any Mac GUI app compiled with GTK, in that even though it's a console app (sort of), it will only run under X11. And no way to compile for Carbon with lazbuild unless the framework carbon stuff already set

Re: [lazarus] ColorToRGB in console app

2008-02-09 Thread Vincent Snijders
Hess, Philip J schreef: Of course, now the app has the same issues as any Mac GUI app compiled with GTK, in that even though it's a console app (sort of), it will only run under X11. And no way to compile for Carbon with lazbuild unless the framework carbon stuff already set in the .lpi.