[Lazarus] Where is the "Clone to new Window" option gone.. ?
Hello Lazarus List, I Updated to the last Lazarus Version 51265 to test and see the new menu Editor, and it looks great. But i miss the "Clone to new Window" option. Normaly when i click the right mouse over the Sourcecode tabs, there had been a popupmenu that offers this and some other options, the menu is gone now ;(. is there a way to get it back ? If i get back to SVN Revision 50469 the feature is aviable ;), as you can see in the atteched picture. Corpsman -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] New menu designer. which style do you prefer?
Hello i testet SVN Revision 51256 of the Menu designer and it looks really cool. But i miss the Feature "If you doubleclick on the Menu Entry the IDE Jumps to the corresponding OnCLick Event" Which worked in the old version e.g. 50469 Could you please reactivate this ? Corpsman -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] TSQLQuery
you mean something like this : If Length(st) 0 Then Begin SQLQuery1.SQL.Text := st; End Else Begin exit; End; Try SQLQuery1.Open; Except On e: Exception Do Begin ShowMessage('Fehler ungültige Eingabe.'#13'Fehlermeldung:'#13 + e.Message); exit; End; End; On 07/30/2015 04:45 PM, Terry A. Haimann wrote: After executing a query, is there a way to test if there were any errors? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Auf meiner Homepage www.Corpsman.de ist immer was los, ständig wird sie aktualisiert und erweitert. Da ist für jeden was dabei. -- Schütze deine Privatsphäre, nutze E-mail Verschlüsselung. Wie das geht steht z.B. hier : https://support.mozilla.org/en-US/kb/digitally-signing-and-encrypting-messages#w_installing-gpg-and-enigmail -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to get Lazarus on Odroid U3 with Ubuntu 14.04 to work ?
Well i tried with fbset -depth 24 same result see below : odroid@odroid:~/development/lazarus$ fbset mode 1280x1024 geometry 1280 1024 1280 3072 24 timings 0 0 0 0 0 0 0 accel true rgba 8/16,8/8,8/0,0/0 endmode and in Lazarus when showing the about screen (lazarus:10115): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 32 (lazarus:10115): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 32 (lazarus:10115): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 32 (lazarus:10115): GLib-CRITICAL **: Source ID 1592 was not found when attempting to remove it (lazarus:10115): GLib-CRITICAL **: Source ID 1591 was not found when attempting to remove it LAZARUS END - cleaning up ... [TMainIDE.Destroy] A TIDEProgressWindow.Notification 0 TIDEProgressWindow.Notification 0 TIDEProgressWindow.Notification 0 TIDEProgressWindow.Notification 0 TIDEProgressWindow.Notification 0 TIDEProgressWindow.Notification 0 TIDEProgressWindow.Notification 0 TIDEProgressWindow.Notification 0 TIDEProgressWindow.Notification 0 TIDEProgressWindow.Notification 0 TIDEProgressWindow.Notification 0 [TMainIDE.Destroy] B - inherited Destroy... TMainIDE [TMainIDE.Destroy] END -Ursprüngliche Nachricht- Gesendet: Thursday, 12 March 2015 um 10:05:52 Uhr Von: Marc Weustink m...@dommelstein.nl An: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Betreff: Re: [Lazarus] How to get Lazarus on Odroid U3 with Ubuntu 14.04 to work ? Corpsman wrote: Hello Mailinglist, Is there someone who got lazarus (doesn't matter which version) to work under Ubuntu 14.04 on a Odroid U3 ? I tried this in several ways, unfortunatunelly without success. The core problem seems to be in the GTK2 api (i don't need especially gtk2 but qt did not work as well). i try : Installing a fresh 14.04 Image, using the lazarus fpc from the packet manager - all icons in the ide are broken (invisible) if the ide is started from a console it writes something like try to write 24-bit on a 32-bit canvas..) This is the key to the problem. Using different fpc version, different Lazarus versions, different Ubuntu version won't help. When drawing images on gtk, lazarus has to use the same pixeldepth as your X server. gtk won't do any conversion, except for 32 bit. Usually drawing 24 bit images on 32 bit X is also OK. In your case not. The only thing you can do is reducing the pixeldepth of your X server. Marc -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] How to get Lazarus on Odroid U3 with Ubuntu 14.04 to work ?
Hello Mailinglist, Is there someone who got lazarus (doesn't matter which version) to work under Ubuntu 14.04 on a Odroid U3 ? I tried this in several ways, unfortunatunelly without success. The core problem seems to be in the GTK2 api (i don't need especially gtk2 but qt did not work as well). i try : Installing a fresh 14.04 Image, using the lazarus fpc from the packet manager - all icons in the ide are broken (invisible) if the ide is started from a console it writes something like try to write 24-bit on a 32-bit canvas..) i try : Update from 13.04 (with working fpc 2.6.2 and lazarus from trunk), after update to 14.04 same behavier as above. i try : fpcup (and did what the warning tells), the fpc installation runs through, the compilation of the ide runs the first time, the second run (to install anchordicking, fails). Using the binary from the first run has the same behavior as in the following buglist ticket. a lot of research got me - A Buglist ticket : http://bugs.freepascal.org/view.php?id=26726 |- unfortunatunelly it seems that no one of the core developer has a odriod so that they can fix it - the fpcup skript (that did not work) from http://wiki.freepascal.org/Odroid - also i tried different forums, but no one could help me [german] http://www.lazarusforum.de/viewtopic.php?f=3t=8537 [^] [german] http://www.lazarusforum.de/viewtopic.php?f=5t=8456 [^] [english] http://forum.odroid.com/viewtopic.php?f=77t=10840 [^] - the download link of the Ubuntu 14.04 1 / 2 images for odroid http://odroid.com/dokuwiki/doku.php?id=en:u3_ubuntu_release_note_20150224 At the moment i run 13.10 on my Odroid U3, with Lazarus trunk and fpc from the packet center. But 13.10 gets more and more in trouble. I use the Odroid as my Desktop PC so there is a big need to move to the LTS version. it would be very nice if someone could help me. Uwe Schächterle -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus on Odroid U3
Hello, I am using Odroid too. I Update it via update.sh which was created by the people from lazarusforum.de http://www.lazarusforum.de/viewtopic.php?f=3t=5520hilit=+update But there is a problem with runnning the compiled program. Pressing F9 or CTRL + F9 creates the binary, but the IDE then freezes partly, so that compiling again is impossible (F9 does not run the application, only compile). I can run the created binary's without Lazarus and all is fine. = So the IDE has do be killed via x-kill after each compile. Can you reproduce this ? Corpsman On 07/04/2014 09:49 PM, Anthony Tekatch wrote: On Tue, 01 Jul 2014 09:08:05 +0200, Reinier Olislagers reinierolislag...@gmail.com wrote: On 01/07/2014 02:03, Anthony Tekatch wrote: On Mon, 23 Jun 2014 08:28:57 +0200, Reinier Olislagers reinierolislag...@gmail.com wrote: You could try installing that or perhaps compile using FPC trunk (manually or using a tool like fpcup [warning: fpcup author speaking ;)] see here http://wiki.lazarus.freepascal.org/Odroid#Installing_FPC.2FLazarus_using_fpcup I now have an Odroid U3 and am trying the instructions from your link with the following error in fpcup.log: snip [2014-07-01 09:20:58.097 Info] DownloadFromSVN: SVN gave error code 1 It seems fpcup cannot see the SVN repository. Is a simple fix? Yes, it seems it finds the svn command but has problems downloading. Try again would be my suggestion. You can also try the svn checkout command manually in the relevant directory to see if that works. The missing svn (from incomplete directory) was due to the disk size being too small, I just had to enlarge as per leaflet that came with odroid U3. I did not try to run the svn command from the command line before I tried df -h to see 100% usage on that drive. Next, locale was screwed up, fcpup --verbose showed this: svn: warning: cannot set LC_CTYPE locale svn: warning: environment variable LANG is en_CA.UTF-8 svn: warning: please check that your locale name is correct I had to do this: sudo locale-gen en_US.UTF-8 Next, there were some errors regarding Lazarus build: fpcup: info: Lazarus: buildmodulecustom: make/lazbuild returned error code 2 Details: fpcup: info: Error running fpcup. Technical details: error executing sequence useride; line: 2, param: USERIDE fpcup: info: Error running fpcup. Technical details: error executing sequence Only; line: 5, param: useride FPCUp failed. so I did a fpcup --clean then tried the standard command (from your link). Lazarus is installed now. Thanks, Anthony -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Auf meiner Homepage www.Corpsman.de ist immer was los, ständig wird sie aktualisiert und erweitert. Da ist für jeden was dabei. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] copy from Topenglcontext
My Version uses glReadPixels, result is TBitmap, this can easily be atteched to the cliboard. Function OpenGLScreenshot: TBitmap; Var dim: Array[0..3] Of Integer; c: Array Of Array[0..3] Of Byte; z, i, j: integer; TempIntfImg: TLazIntfImage; ImgHandle, ImgMaskHandle: HBitmap; CurColor: TFPColor; Begin // Auslesen der Framebuffer Auflösung glGetIntegerv(GL_VIEWPORT, @dim[0]); // Erstellen des Bitmaps result := TBitmap.create; result.pixelformat := pf24bit; result.width := dim[2]; result.height := dim[3]; TempIntfImg := TLazIntfImage.Create(0, 0); TempIntfImg.LoadFromBitmap(result.Handle, result.MaskHandle); setlength(c, dim[2] * dim[3]); // Auslesen des Framebuffers in einen temporären Speicher glReadPixels(dim[0], dim[1], dim[2], dim[3], GL_RGBA, GL_UNSIGNED_BYTE, @c[0, 0]); // Umschreiben des Temporären Speichers in das TBitmap z := 0; For j := 0 To result.height - 1 Do For i := 0 To result.width - 1 Do Begin CurColor.red := c[z][0] * 256; CurColor.green := c[z][1] * 256; CurColor.blue := c[z][2] * 256; // c[z][3] wäre der Alphakanal, aber den Braucht man ja hier nicht ... TempIntfImg.Colors[i, j] := CurColor; inc(z); End; TempIntfImg.CreateBitmaps(ImgHandle, ImgMaskHandle, false); result.Handle := ImgHandle; result.MaskHandle := ImgMaskHandle; TempIntfImg.free; End; On 06/14/2014 12:13 PM, Michalis Kamburelis wrote: Andrea Mauri wrote: Dear all, Is it possible to copy the content of OpenGLContext to the clipboard? How can be done? You could also copy the contents of OpenGL context (created by TOpenGLContext or any other similar control) using glReadPixels, and then convert the resulting bytes into a TBitmap instance. Then you can copy TBitmap contents to clipboard like Anton shows, using Clipboard.Assign (see http://wiki.lazarus.freepascal.org/Clipboard#Load_from_clipboard ). Using glReadPixels and then converting the result will be cross-platform, as opposed to Anton's solution using Windows.CreateCompatibleBitmap . Michalis -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Auf meiner Homepage www.Corpsman.de ist immer was los, ständig wird sie aktualisiert und erweitert. Da ist für jeden was dabei. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] problem when compiling Lazarus
In my Lazarus Version the LazDebuggerGdbmi package is not on the list. Adding DebugerIntf alone worked fine. Lazarus 44121 FPC 2.6.2-5 i386-linux-gtk 2 Thanks for your help. Corpsman On 02/17/2014 08:29 PM, Martin Frb wrote: On 17/02/2014 18:43, patspiper wrote: On 17/02/14 20:27, Junior wrote: environmentopts.pp(44,76) Fatal: Can not find unit DbgIntfDebuggerBase used by EnvironmentOpts. Lazarus 1.3 FPC 2.6.2 i386-linux-gtk 2 Rebuilding the IDE from within even with the clean option does not work in this case. Try make clean all from command line. Yes, in this case the update process, includes to install the package (package DebugerIntf and LazDebuggerGdbmi) by hand. Or you can use the makefile. Or update revision by revision. There is one revision, that rebuilds, without needing the package, that will then allow to build the next, that needs it. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Auf meiner Homepage www.Corpsman.de ist immer was los, ständig wird sie aktualisiert und erweitert. Da ist für jeden was dabei. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus compilation problems with 2.6.4 RC1
Hi, i have the same error using the FPC 2.6.2-5 compiler, is there a .deb file for the 2.6.3 compiler, i did not find any ? Regards Corpsman On 02/16/2014 02:19 PM, Sven Barth wrote: On 16.02.2014 14:12, Maxim Ganetsky wrote: 15.02.2014 19:59, Michael Van Canneyt пишет: Hi, I tried to compile a new lazarus version from inside the IDE, using the 2.6.4 release candidate. It failed on the sqldb package. The sources mistakenly assume that the MySQL 5.6 connector will be included with 2.6.4. It is included in current 2.6.3, but indeed missing in 2.6.4 RC1. Nobody tests compilation with 2.6.4 RC1, so I wouldn't recommend to use it. It's missing in 2.6.4 RC1, because MySQL 5.6 support was added after RC1 was tagged. 2.6.4 final will contain MySQL 5.6 support. Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Auf meiner Homepage www.Corpsman.de ist immer was los, ständig wird sie aktualisiert und erweitert. Da ist für jeden was dabei. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Can you reproduce the following Access Violation ?
if i write Type TForm1 = Class(TForm); TSomeClass = Class private public End; TForm1 = Class(TForm) private { private declarations } public { public declarations } End; set a Tbutton on the TForm1 and double click ( to create the OnClick Event ) I get also the exception : The component editor of class TDefaultComponentEditor has created the error: Unable to create new method. Please fix the error shown in the message window, which is normally below the source editor. Lazarus 1.1 r39114M Free Pascal Compiler version 2.6.0-1 [2012/01/13] for i386 Corpsman on Kubuntu 12.04 On 10/17/2012 06:28 PM, ik wrote: Hello, When I write something like so: - type TForm1 = class(TForm); TSomeClass = class ... end; TForm1 = class(TForm) ... end; -- If I try to rename a component in design time (Other then the form itself), it will throw at me Access Violation. I'm using: Lazarus 1.1 r39114M FPC 2.6.0 x86_64-linux-gtk 2 Can you reproduce the following issue (So I could report a bug), or am I missing something here ? Thanks, Ido -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Auf meiner Homepage www.Corpsman.de ist immer was los, ständig wird sie aktualisiert und erweitert. Da ist für jeden was dabei. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Playing audio files - which package do you prefer?
I use Bass.dll and on Linux bass.so, works great on both win32 and Linux, you have to ship the corresponding .dll or .so file streaming from the internet works fine. Corpsman. On 07/29/2012 06:32 PM, Krzysztof wrote: Hi, I'm reading about audio components (OpenAL, ACS). Which package do you prefer? What I need: 1. Play most popular formats (mp3, ogg, wav) 2. Must be native. I mean, everything should be compiled in one executable. There should be no dependencies like directx installed or special codecs installed in system. 3. In future, I would like to extend the functionality by adding internet streaming. I don't expect build-in solution (but it would be great) but flexibility for adding this functionality (like playing from TMemoryStream) Maybe it is better to use some console player like ffmpeg + TProcess? Regards. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Auf meiner Homepage www.Corpsman.de ist immer was los, ständig wird sie aktualisiert und erweitert. Da ist für jeden was dabei. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Changing the translation of forms while the program is running
Try this one : http://corpsman.de/index.php?doc=komponenten/multilanguage On 07/13/2012 03:51 PM, zeljko wrote: On Friday 13 of July 2012 15:49:37 Joost van der Sluis wrote: Hi all, I'm using the DefaultTranslator unit to translate my application, but I would also like to switch to another language on-the-fly, thus without restarting the application. Are there any tricks to do that? I need that too atm :) zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Auf meiner Homepage www.Corpsman.de ist immer was los, ständig wird sie aktualisiert und erweitert. Da ist für jeden was dabei. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Changing the translation of forms while the program is running
in short, no. in a bit longer : if you set within the application : Language.CurrentLanguage := 'what ever language you want'; The component tries to load that language file, if it exits your application is switched to the language, if not all translatable strings (captions, hints, .. and Ressourcestrings) will be extracted and stored to 'what ever language you want' file. With the Demo program you can edit this files ( or with any other text editor ) and translate them. On the next language changing the values will be loaded. In the demo this will be shown ( it uses nativ Lazarus methods, so it should be portable, it is successfully testet on Win32 and Linux32 ). corpsman On 07/13/2012 04:09 PM, Joost van der Sluis wrote: On Fri, 2012-07-13 at 16:00 +0200, Corpsman wrote: Try this one : http://corpsman.de/index.php?doc=komponenten/multilanguage Does it uses the .po and .mo files generated by Lazarus? Joost. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Auf meiner Homepage www.Corpsman.de ist immer was los, ständig wird sie aktualisiert und erweitert. Da ist für jeden was dabei. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to make TCheckListBox read only
A simplechecklistbox1.enabled := false wouldnt do it.Try this code :procedure TForm1.CheckListBox1ItemClick(Sender: TObject; Index: integer);begin checklistbox1.Checked[index] := not checklistbox1.Checked[index] ;end;--AufmeinerHomepagewww.Corpsman.deistimmerwaslos,stndigwirdsieaktualisiertunderweitert.Daistfrjedenwasdabei.Von: Zaher Dirkey parm...@gmail.comGesendet: 04.08.2011 00:20:06An: Lazarus mailing list lazarus@lists.lazarus.freepascal.orgBetreff: [Lazarus] How to make TCheckListBox read onlyHi,How to make TCheckListBox read only, the user can not change the checked for item?.Thanks in advanceZaher DirkeySchon gehrt? WEB.DE hat einen genialen Phishing-Filter in dieToolbar eingebaut! http://produkte.web.de/go/toolbar -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] error compiling latest SVN laz...
a quick workaround is to update to a stable revision number via svn update -r31000 -- or any other number you think that was stable and compile again. But that did not solve your first problem. Compiling resource ..\units\i386-win32\lazarus.or Linking ..\lazarus.exe Fatal: Compilation aborted tells me that the compiling itself worked, the problem seems to be the linker i could compile the revision number 31002 with FPC 2.4.2, maybe you try this FPC version .. corpsman -- Auf meiner Homepage www.Corpsman.de ist immer was los, ständig wird sie aktualisiert und erweitert. Da ist für jeden was dabei. -Ursprüngliche Nachricht- Von: waldo kitty wkitt...@windstream.net Gesendet: Jun 2, 2011 2:05:45 AM An: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Betreff: [Lazarus] error compiling latest SVN laz... FPC 2.4.5 r17621 (17628??) svn.freepascal.org/svn/fpc/branches/fixes_2_4 LAZ 0.9.31 r31002 svn.freepascal.org/svn/lazarus/trunk i wiped my existing svn installs, ran an svn update on both, then did the make thing... i'm following the Installing_Lazarus page from the wiki and have to start all over each time for some reason but that's another thread... in any case, my OS is w2ksp4 (Microsoft (R) Windows Version 5.0 (Build 2195; Service Pack 4))... here's the logged output... [...] Compiling cleandirdlg.pas Compiling showdeletingfilesdlg.pas Compiling compatibilityrestrictions.pas Compiling restrictionbrowser.pas Compiling projectwizarddlg.pas Compiling idecmdline.pas Compiling resource ..\units\i386-win32\lazarus.or Linking ..\lazarus.exe Fatal: Compilation aborted An unhandled exception occurred at $00420D86 : Exception : Unknown Run-Time error : 112 $00420D86 $0044FC4C $0044FAD8 $00401836 make[2]: *** [lazarus.exe] Error 217 make[2]: Leaving directory `C:/freepascal/laz/ide' make[1]: *** [ide] Error 2 make[1]: Leaving directory `C:/freepascal/laz/ide' make: *** [ide] Error 2 C:\freepascal\lazcd \freepascal i have complete compile logs for both, FPC and LAZ... these include both stdout and stderr output... what else do you need to know to help me get back to a working LAZ?? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus ___ Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die Toolbar eingebaut! http://produkte.web.de/go/toolbar -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Can not Compile IDE since SVN 30351 (depending on libc )
Hello, in SVN Revision 30351 Martin changed the gdbmimiscclasses.pp by adding these Lines : {$IFDEF UNIX} libc, {$ENDIF} Altough i have the unit libc on my system ( located in this folder /usr/share/fpcsrc/2.4.2/rtl/netwlibc/ ) the IDE does not recompile ( Telling me that it was not able to find the libc ). SVN Revision 30350 compiles without problem. Can anyone help me ? ( in normal Projects i a the search path, but where can this be done for Lazarus itself ? ) My system settings are : Kubuntu 10.10 32-Bit Free Pascal Compiler version 2.4.2-1~ppa1~m [2011/01/17] for i386 Copyright (c) 1993-2010 by Florian Klaempfl Lazarus Aktuel SVN Revision corpsman ___ Empfehlen Sie WEB.DE DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.web.de -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Can not Compile IDE since SVN 30351 (depending on libc )
/usr/share/fpcsrc/2.4.2/packages/libc/src/libc.pp Also exists -- Auf meiner Homepage www.Corpsman.de ist immer was los, ständig wird sie aktualisiert und erweitert. Da ist für jeden was dabei. -Ursprüngliche Nachricht- Von: Paul Ishenin i...@kmiac.ru Gesendet: Apr 18, 2011 8:17:56 AM An: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Betreff: Re: [Lazarus] Can not Compile IDE since SVN 30351 (depending on libc ) 18.04.2011 14:07, corps...@web.de wrote: Hello, in SVN Revision 30351 Martin changed the gdbmimiscclasses.pp by adding these Lines : {$IFDEF UNIX} libc, {$ENDIF} Altough i have the unit libc on my system ( located in this folder /usr/share/fpcsrc/2.4.2/rtl/netwlibc/ ) the IDE does not recompile ( Telling me that it was not able to find the libc ). You found libc for netware. The right libc unis is placed at packages/libc Please check whether you have it. Best regards, Paul Ishenin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus ___ Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die Toolbar eingebaut! http://produkte.web.de/go/toolbar -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] OpenGL conversion
I succesfully ported my Ballanced Game from Delphi OpenGL to Lazarus OpenGL ( Linux, Win compatible ) but i had to do many things by hand. Maybe my [url=http://corpsman.de/index.php?doc=opengl/clear_engine]Clear Engine[/url] sample could give you a little hint to succesfully port your Application. Here i use the TOpenGLControl component which is part Lazarus ( only need to be installed with the package graph ) sincerely Corpsman -- Auf meiner Homepage www.Corpsman.de ist immer was los, ständig wird sie aktualisiert und erweitert. Da ist für jeden was dabei. -Ursprüngliche Nachricht- Von: Juha Manninen juha.mannine...@gmail.com Gesendet: Feb 13, 2011 7:12:48 PM An: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Betreff: [Lazarus] OpenGL conversion Hi Are there any conversion guides or examples of how OpenGL Delphi program can be converted to Lazarus. I would try to automate it with Delphi converter but I don't know much about graphics programming myself. I am testing the converter with DeleD 3-D program which would be an extremely cool porting project. On January Birger Jansen wrote: Project conversion Delphi - FreePascal: success! which mentions OpenGL so it seems to be possible. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus ___ Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die Toolbar eingebaut! http://produkte.web.de/go/toolbar -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus