Re: [lazarus] Robot2 for MacOSX
On Jan 24, 2008, at 12:47 AM, Albert Zeyer wrote: Hi, Just packed it together. Here it is (but only for IntelMac): http://www.az2000.de/downloads/Robot1.7.Mac.zip You have just to click on the robot-Application (robot.app) inside. In a OS X app, all ressources should be inside the package. -- Damien Gerard [EMAIL PROTECTED] Le temps n'a pas d'importance. Seul le code est important -- (f00ty) _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Exception for codehelp
On Jan 21, 2008, at 10:09 AM, Vincent Snijders wrote: Mattias Gaertner schreef: On Mon, 21 Jan 2008 09:27:27 +0100 Damien Gerard [EMAIL PROTECTED] wrote: On Jan 21, 2008, at 9:22 AM, Vincent Snijders wrote: Damien Gerard schreef: I have got this when using Lazarus : TApplication.HandleException In Stream (line 2955 pos 63): Unmatching element end tag (expected /seealso) docs/xml/lcl/forms.xml On first look the line looks ok. Fixed: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/docs/xml/lcl/forms.xml?root=lazarusr1=13820r2=13819pathrev=13820 I have not been able to reproduce the error. I think it is fixed. -- Damien Gerard [EMAIL PROTECTED] Le temps n'a pas d'importance. Seul le code est important -- (f00ty) _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Exception when exiting Lazarus
When I work on my big project, I have the followinf exception when I quit Lazarus (Ubuntu/GTK2) : TApplication.HandleException Stack trace: $B707CB2D $084D9063 TSOURCENOTEBOOK__DESTROY, line 3036 of uniteditor.pp $08067082 $0809028F TMAINIDE__DESTROY, line 1211 of main.pp $080CF97F $08067082 $08073F68 INTERFACES_finalize, line 42 of interfaces.pas $0806AE12 $0806AFE5 $08068339 $08067082 $080741AD BEFOREFINALIZATION, line 1443 of forms.pp $0806AE69 $0806AFE5 $08068339 $08067082 The full output : [...] TCustomFormEditor.DeleteComponent Image1:TImage IsJITComponent=False FreeComponent=True TCustomFormEditor.DeleteComponent LblMonth:TLabel IsJITComponent=False FreeComponent=True TCustomFormEditor.DeleteComponent Shape1:TShape IsJITComponent=False FreeComponent=True TCustomFormEditor.DeleteComponent Image3:TImage IsJITComponent=False FreeComponent=True TMainIDE.DoCloseEditorFile end TMainIDE.DoCloseEditorFile A PageIndex=0 TMainIDE.DoCloseEditorFile end LAZARUS END - cleaning up ... [TMainIDE.Destroy] A [FORMS.PP] ExceptionOccurred Sender=EAccessViolation Exception=Access violation Stack trace: $08066E56 $0806A3A5 $0806787A $08171C35 TCONTROL__DESTROY, line 3723 of ./include/control.inc $08166AF6 TWINCONTROL__DESTROY, line 5859 of ./include/ wincontrol.inc $0817387E TCUSTOMCONTROL__DESTROY, line 61 of ./include/ customcontrol.inc $08076BBA TSCROLLINGWINCONTROL__DESTROY, line 248 of ./include/ scrollingwincontrol.inc $08077318 TCUSTOMFORM__DESTROY, line 91 of ./include/customform.inc $0808242E THINTWINDOW__DESTROY, line 52 of ./include/hintwindow.inc $08067082 $084D9104 TSOURCENOTEBOOK__DESTROY, line 3050 of uniteditor.pp $08067082 $0809028F TMAINIDE__DESTROY, line 1211 of main.pp $08067082 TApplication.HandleException Access violation Stack trace: $08066E56 $0806A3A5 $0806787A $08171C35 TCONTROL__DESTROY, line 3723 of ./include/control.inc $08166AF6 TWINCONTROL__DESTROY, line 5859 of ./include/ wincontrol.inc $0817387E TCUSTOMCONTROL__DESTROY, line 61 of ./include/ customcontrol.inc $08076BBA TSCROLLINGWINCONTROL__DESTROY, line 248 of ./include/ scrollingwincontrol.inc $08077318 TCUSTOMFORM__DESTROY, line 91 of ./include/customform.inc $0808242E THINTWINDOW__DESTROY, line 52 of ./include/hintwindow.inc $08067082 $084D9104 TSOURCENOTEBOOK__DESTROY, line 3050 of uniteditor.pp $08067082 $0809028F TMAINIDE__DESTROY, line 1211 of main.pp $08067082 [TMainIDE.Destroy] A [FORMS.PP] ExceptionOccurred Sender=EAccessViolation Exception=Access violation Stack trace: $B757D4B8 $084D9063 TSOURCENOTEBOOK__DESTROY, line 3036 of uniteditor.pp $08067082 $0809028F TMAINIDE__DESTROY, line 1211 of main.pp $08067082 $080741AD BEFOREFINALIZATION, line 1443 of forms.pp $0806AE69 $0806AFE5 $08068339 $08067082 TApplication.HandleException Access violation Stack trace: $B757D4B8 $084D9063 TSOURCENOTEBOOK__DESTROY, line 3036 of uniteditor.pp $08067082 $0809028F TMAINIDE__DESTROY, line 1211 of main.pp $08067082 $080741AD BEFOREFINALIZATION, line 1443 of forms.pp $0806AE69 $0806AFE5 $08068339 $08067082 [TMainIDE.Destroy] A [FORMS.PP] ExceptionOccurred Sender=EAccessViolation Exception= Stack trace: $B707CB2D $084D9063 TSOURCENOTEBOOK__DESTROY, line 3036 of uniteditor.pp $08067082 $0809028F TMAINIDE__DESTROY, line 1211 of main.pp $080CF97F $08067082 $08073F68 INTERFACES_finalize, line 42 of interfaces.pas $0806AE12 $0806AFE5 $08068339 $08067082 $080741AD BEFOREFINALIZATION, line 1443 of forms.pp $0806AE69 $0806AFE5 $08068339 $08067082 TApplication.HandleException Stack trace: $B707CB2D $084D9063 TSOURCENOTEBOOK__DESTROY, line 3036 of uniteditor.pp $08067082 $0809028F TMAINIDE__DESTROY, line 1211 of main.pp $080CF97F $08067082 $08073F68 INTERFACES_finalize, line 42 of interfaces.pas $0806AE12 $0806AFE5 $08068339 $08067082 $080741AD BEFOREFINALIZATION, line 1443 of forms.pp $0806AE69 $0806AFE5 $08068339 $08067082 -- Damien Gerard [EMAIL PROTECTED] Le temps n'a pas d'importance. Seul le code est important -- (f00ty) _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] sqldb query parameter properties not loaded?
Joost van der Sluis wrote: Op donderdag 24-01-2008 om 00:09 uur [tijdzone +1100], schreef John: Snip It does, in so far as the parameter specs are now retained, but now the database property of sqlquery is not read, so it still can't work properly. In fact, I can't even set the database from the Lazarus object inspector. Huh? Are you sure? Did you recompile everything correclty? You won't often catch me saying Yes I am *sure* I compiled everything correctly ! I think I did, though. This is my version of set database: procedure TCustomSQLQuery.SetDatabase(Value : TDatabase); var db : tsqlconnection; begin if (Database Value) then begin {$IFDEF DBDEBUG} if dbdbgOn then Writeln(dbdbg, 'TCustomSQLQuery.database is being set to ', Value.DatabaseName, '.'); {$ENDIF} if assigned(value) and not (Value is TSQLConnection) then DatabaseErrorFmt(SErrNotASQLConnection,[value.Name],self); if not (csLoading in ComponentState) then begin UnPrepare; if assigned(FCursor) then TSQLConnection(DataBase).DeAllocateCursorHandle(FCursor); db := TSQLConnection(Value); if assigned(value) and (Transaction = nil) and (Assigned(db.Transaction)) then transaction := Db.Transaction; {$IFDEF DBDEBUG} if dbdbgOn then Writeln(dbdbg, 'Calling TCustomSQLQuery.OnChangeSQL because ', 'TCustomSQLQuery.database has been set to ', Value.DatabaseName, '.'); {$ENDIF} OnChangeSQL(Self); end; end; end; The bits in the {$IFDEF DBDEBUG} are what I have been using to trace the execution. (Just tracing is not helpful, as I can't read the properties, so I can't tell where I am). According to this, SetDatabase gets called once only, from inside DoFixupReferences. At this point the component state indeed includes csLoading, so db never gets assigned. (I have also checked this with breakpoints). This makes sense according to my (limited) understanding of the loader, which is that if a property that is being loaded is a class, it is always pushed into the fixups list, not set at the time. Caveats: I am rather behind in my svn version, 9468, compared to the one you generated the diff for. Once I started adding the debug lines, I was reticent to update and have them all wiped out. Also, I have had to add the diff in manually, as I am not sure about applying a diff to my working copy. I will take just the 'if not (csLoading in ComponentState) then begin' (and 'end') out and see if I get the original behaviour again. cheers, John Sunderland _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Robot2 for MacOSX
Am 24.01.2008 um 10:31 schrieb Damien Gerard: On Jan 24, 2008, at 12:47 AM, Albert Zeyer wrote: Hi, Just packed it together. Here it is (but only for IntelMac): http://www.az2000.de/downloads/Robot1.7.Mac.zip You have just to click on the robot-Application (robot.app) inside. In a OS X app, all ressources should be inside the package. Yes I know, but I was to lazy to rearrange everything etc. Also I would have to care where I save the map-files and the game-files then (because the user can click on load game or load map and then a simple fileopen-dialog pops up. And it's just a really simple demo application. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Robot2 for MacOSX
On Jan 24, 2008, at 1:38 PM, Albert Zeyer wrote: Am 24.01.2008 um 10:31 schrieb Damien Gerard: On Jan 24, 2008, at 12:47 AM, Albert Zeyer wrote: Hi, Just packed it together. Here it is (but only for IntelMac): http://www.az2000.de/downloads/Robot1.7.Mac.zip You have just to click on the robot-Application (robot.app) inside. In a OS X app, all ressources should be inside the package. Yes I know, but I was to lazy to rearrange everything etc. Also I would have to care where I save the map-files and the game-files then (because the user can click on load game or load map and then a simple fileopen-dialog pops up. And it's just a really simple demo application. For ressources of this kind and if you make changes ~/Library/ Application Support/ is your friend :) -- Damien Gerard [EMAIL PROTECTED] Le temps n'a pas d'importance. Seul le code est important -- (f00ty) _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] gethostbyname() for Linux/unix
What's best practice for an equivalent to Winsock's gethostbyname() or a comparable resolver interface? I see it's been raised before, with suggestions to use netdb or THost from inet. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] How to load aRGBA data from a bitmap file using TLazIntfImage
I need to load the data of bitmap files into a buffer in the RGBA format, but i'm somewhat lost. Reading the wiki and the source i got to the following code: procedure DumpMem(Data: PCardinal; Size: Integer); var i: Integer; Color: TRGBA; begin for i := 0 to Size - 1 do begin Color := TRGBA(Data[i]); WriteLn('Red: ', Color.R, ' Green: ', Color.G, ' Blue: ',Color.B, ' Alpha: ', Color.A); end; end; var ImgReader: TLazReaderBMP; IntfImg: TLazIntfImage; begin ImgReader := TLazReaderBMP.Create; IntfImg := TLazIntfImage.Create(0,0); IntfImg.DataDescription.Init_BPP32_B8G8R8A8_M1_BIO_TTB(0, 0); IntfImg.LoadFromFile('red.bmp', ImgReader); DumpMem(PCardinal(IntfImg.PixelData), IntfImg.DataDescription.Height * IntfImg.DataDescription.Width); ImgReader.Destroy; IntfImg.Destroy; end; red.bmp is a 2x2 bmp file filled with red. (attached) the DumpMem leads to different results if the program is run in IDE or outside it (Probably PixelData is not pointing to the data). What's wrong with this code? Should i pass the width, height when init datadescription? Luiz inline: red.bmp
Re: [lazarus] How to load aRGBA data from a bitmap file using TLazIntfImage
You could try using TLazIntfImage.GetDataLineStart() instead. I think you can modify your code this way: ... for y := 0 to IntfImg.DataDescription.Height-1 do DumpMem(PCardinal(IntfImg.GetDataLineStart(y)), IntfImg.DataDescription.Width); ... Regards! -Marco 2008/1/24, Luiz Americo Pereira Camara [EMAIL PROTECTED]: I need to load the data of bitmap files into a buffer in the RGBA format, but i'm somewhat lost. Reading the wiki and the source i got to the following code: procedure DumpMem(Data: PCardinal; Size: Integer); var i: Integer; Color: TRGBA; begin for i := 0 to Size - 1 do begin Color := TRGBA(Data[i]); WriteLn('Red: ', Color.R, ' Green: ', Color.G, ' Blue: ',Color.B, ' Alpha: ', Color.A); end; end; var ImgReader: TLazReaderBMP; IntfImg: TLazIntfImage; begin ImgReader := TLazReaderBMP.Create; IntfImg := TLazIntfImage.Create(0,0); IntfImg.DataDescription.Init_BPP32_B8G8R8A8_M1_BIO_TTB(0, 0); IntfImg.LoadFromFile('red.bmp', ImgReader); DumpMem(PCardinal(IntfImg.PixelData), IntfImg.DataDescription.Height * IntfImg.DataDescription.Width); ImgReader.Destroy; IntfImg.Destroy; end; red.bmp is a 2x2 bmp file filled with red. (attached) the DumpMem leads to different results if the program is run in IDE or outside it (Probably PixelData is not pointing to the data). What's wrong with this code? Should i pass the width, height when init datadescription? Luiz _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] How to load aRGBA data from a bitmap file using TLazIntfImage
Your image is in 24 bits, test load and then changing it to 32 bits -- Laurent. My Components: http://wiki.lazarus.freepascal.org/Wile64 French Forum : http://lazforum-fr.tuxfamily.org/index.php
Re: [lazarus] How to load aRGBA data from a bitmap file using TLazIntfImage
Marco Alvarado wrote: You could try using TLazIntfImage.GetDataLineStart() instead. I think you can modify your code this way: ... for y := 0 to IntfImg.DataDescription.Height-1 do DumpMem(PCardinal(IntfImg.GetDataLineStart(y)), IntfImg.DataDescription.Width); ... Thanks, but i still get random values. I would expect at least the same values for each pixel. Luiz _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] How to load aRGBA data from a bitmap file using TLazIntfImage
wile64 wrote: Your image is in 24 bits, test load and then changing it to 32 bits It seems the best description for what i want is Init_BPP32_B8G8R8_BIO_TTB that gives me a 24bit depth with a 32bits per pixel, but still getting random values. Also tested Init_BPP24_B8G8R8_BIO_TTB. No luck. Thanks anyway. Luiz _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] How to load aRGBA data from a bitmap file using TLazIntfImage
Luiz Americo Pereira Camara wrote: Should i pass the width, height when init datadescription? This does not help. I hardcoded width and height to 2 and got the same result. Luiz _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Released Sdpo-0.1.2
Hello, New version of Sdpo Components Library available here http://sourceforge.net/project/showfiles.php?group_id=214994package_id=259252 Changes: * Removed libc.pp dependency in SdpoVideo1394 * Gtk and Gtk2 compatibility in SdpoFastForm Send your comments and suggestions. Paulo Costa, Paulo Malheiros, Paulo Marques _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] How to load aRGBA data from a bitmap file using TLazIntfImage
Quoting Luiz Americo Pereira Camara [EMAIL PROTECTED]: I need to load the data of bitmap files into a buffer in the RGBA format, but i'm somewhat lost. I made a program to process BMP files. The images were fixed 640x480. This is an example of how I loaded the images. const MaxImgH = 480; MaxImgW = 640; type TRGB32=record blue,green,red,dummy: byte; end; pTRGB32=^TRGB32; TProcImg = array[0..MaxImgH-1,0..MaxImgW-1] of TRGB32; pTProcImg = ^TProcImg; procedure LoadandProcessPicture; var PaintBitmap: TBitmap; OrigImgLaz: TLazIntfImage; OrigImg: pTProcImg; begin PaintBitmap.LoadFromFile('fileName.bmp'); OrigImgLaz := TLazIntfImage.Create(0,0); OrigImgLaz.LoadFromBitmap(PaintBitmap.Handle,PaintBitmap.MaskHandle); OrigImg:=pTProcImg(OrigImgLaz.PixelData); // Now I can access TLazIntfImage like OrigImg^[y,x].red, OrigImg^[y,x].green, ... OrigImgLaz.Free; PaintBitmap.Free; end; Hope this helps. Paulo _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] TSpinEdit problem (maybe a bug?)
I have only tested this on Windows XP with 0.9.24 (fpc 2.2.0), so I don't know if it affects the other widget sets (gtk1/2, qt, etc) or not, or if it's even really a bug and not just standard (but bizarre) behavior. Here's the scenario. When manually editing a tspinedit control (i.e., by clicking in the edit box and typing in a value, instead of simply clicking on the up/down buttons or using the up/down arrow keys to change the value), it is possible to enter a value outside the min/max range of the control. BUT, and this is the weird part, the TSpinEdit.Value field is still constrained by the min/max settings and now holds the correct min or max value, however the edit box itself is not updated properly to reflect this and still shows the invalid value. This is probably a bug, and if so I will report it. But read on to see the exact description of the problem and tell me if it's really a bug or if it's supposed to behave this way. I hope it's a bug, because in my current project I've got several TSpinEdit controls that I need the user to be able to manually edit in addition to using the spin buttons, but I still need to enforce the constraints and have the user see that the constraint is enforced. To demonstrate what I'm talking about, create a new project with an empty form and place a single TSpinEdit control on it, with SpinEdit1Change as the callback for the OnChange event. The procedure should only contain one statement: ShowMessage('SpinEdit1.Value = ' + IntToStr(SpinEdit1.Value)); This will pop up a message box showing the value of the control whenever the OnChange event is triggered. Now, when the program is compiled and run, click in the edit box, place the cursor in front of the 0 and type a 1 (to manually input a value of 10). The message box will pop up saying SpinEdit1.Value = 10. Now click in the edit box again, place the cursor at the front of the 10 and type a - (a negative or minus sign). The message box will respond with SpinEdit1.Value = 0, since the bounds are by default 0 to 100. This means that the constraints kicked in and prevented the control from having a value of -10 and instead limited it to 0. However, the edit box will still display -10. You can move focus away from the form and then return to it, minimize and restore it, and if there are more controls on the form you can move focus to them and away from the spin edit, but the control will still show -10. So how can you tell it's Value field is really 0? Click on the up button (or press the up arrow). The message box will now say SpinEdit1.Value = 1, and the control will now correctly display 1. The complete unit1.pas file to demonstrate the above example is: begin unit1.pas unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Spin; type { TForm1 } TForm1 = class(TForm) SpinEdit1: TSpinEdit; procedure SpinEdit1Change(Sender: TObject); private { private declarations } public { public declarations } end; var Form1: TForm1; implementation { TForm1 } procedure TForm1.SpinEdit1Change(Sender: TObject); begin ShowMessage('SpinEdit1.Value = ' + IntToStr(SpinEdit1.Value)); end; initialization {$I unit1.lrs} end. end unit1.pas _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Making the IDE work with C/C++
Quoting Maxim Ganetsky [EMAIL PROTECTED]: There is CodeBlocks too (see http://www.codeblocks.org ). Code Blocks its an excellent tool, for those of us who sometimes need to work with C/C++ instead of our beloved object pascal ;-) Its a C/C++ cross-platform IDE, but works with source files, NOT a visual RAD !!! It's like working with Delp, I mean, Lazarus in console mode ;-) Cheers. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Making the IDE work with C/C++
Hi. One of the things I think It may be considered to do a Lazarus C++ IDE, instead of a Lazarus Free Pascal IDE, is that C/C++ uses header files. So you'll have to work with both the header and the source file, instead of a single file. Another, will be the data types. By example, I once had to migrate a delphi component to a CBuilder component, and discover that delphi/lazarus set of type didn't exist. I had to use an existing generic template instead. Altought, Lazarus is a Free Pascal related project, the truth is that, the need to share the same software libraries, modules or packages, using different programming languages for the same project is required. Many talented programmers/developers don't use the same programming language, many companies doesn't have the resources to migrate the payroll DLL to a new programming language (example C - Free Pascal). So the idea of Lazarus supporting other programming languages, may sound bizarre, at first, but realistic, at last... I always try to avoid confusing the programming language term, with the programming environment, instead. That's why M$ got right it's .NET framework v.s. SUN's Java. .NET uses the same library, same development environment, different programming language (VB, C#, COBOL, etc). And was designed by an OBJECT PASCAL DEVELOPER ;-) Just my 2 cents... _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] C++ libraries
Hi. I was wondering if C++ classes binary *.obj files could be accessed from a Free Pascal application. I did my homework and check at the Free Pascal site, BEFORE bothering this list with a boring same question, but didn't found anything. Any updates ? Thanks. mramirez _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] C++ libraries
Am 25.01.2008 um 02:37 schrieb mramirez: Hi. I was wondering if C++ classes binary *.obj files could be accessed from a Free Pascal application. As far as I know this is not possible (yet). The main problem is that the C++ ABI is very complicated and also changes with each GCC version. But though, I myself was also interested in this topic. I have not yet read more about the details of the C++ ABI. Does somebody know further details? Which details are changing there? What exactly is complicated? Another thing is that C++ objects are not exactly similar to Object pascal objects. Regards, Albert _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] laz 9.24.1 no longer compile using fpc 2.2.1
Hi all, Today, I found that laz 9.24.1 is no longer compiled using fpc 2.2.1, again. Here's the error message: gtkproc.pp(665,11) Error: Forward declaration not solved MergeClipping(TDeviceContext, PGdkGC, LongInt, LongInt, LongInt, LongInt, PGdkBitmap, LongInt, LongInt,var PGdkBitmap) gtkproc.pp(1012) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted make[3]: *** [interfaces.ppu] Error 1 make[3]: Leaving directory `/svn/laz-9.24.1/lcl/interfaces/gtk2' make[2]: *** [gtk2_all] Error 2 make[2]: Leaving directory `/svn/laz-9.24.1/lcl/interfaces' make[1]: *** [interfaces] Error 2 make[1]: Leaving directory `/svn/laz-9.24.1/lcl' make: *** [lcl] Error 2 The problem is on gtk2proc.pp. Using fpc 2.2.0 it's compiled fine. I'm on Ubuntu i386 using latest svn (today) of laz 9.24.1 and fpc 2.2.1. TIA. -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] C++ libraries
You have to build a C wrapper around C++. Look at the Qt 4 Pascal bindings. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives