Re: [Lazarus] Building on PPC Linux
Mattias Gaertner wrote: On Fri, 22 Nov 2013 21:14:56 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: I'm having one of my periodic attempts to build trunk on various obscure platforms, and have come across an oddity. On a PPC Mac, running Debian lenny, I get .. /lib/libpthread.so.0 What are the linker messages before that line? Sorry, my mistake: it turned out that I'd not installed my usual bundle of prerequisite Debian packages. Basic operation of Lazarus trunk with FPC 2.6.2 OK, except that toolbar icons aren't visible until a mouse has been moved over them . -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] What are the perfomance and memory usage effects of having heaptrc running?
I want to use heaptrc in a program, but only use the AddExitProc(@DumpHeapTraceOutput) occasionally with a command line switch. Does heaptrc intercept and monitor memory allocation throughout the program execution, or does it do a scan of memory usage for output only at program shutdown? -- Frank Church === http://devblog.brahmancreations.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] What are the perfomance and memory usage effects of having heaptrc running?
Does heaptrc intercept and monitor memory allocation throughout the program execution, or does it do a scan of memory usage for output only at program shutdown? Look at the source code, it's open :) Basically HeapTrc will replace the current memory manager with its own, tracing everything that's related to memory. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-What-are-the-perfomance-and-memory-usage-effects-of-having-heaptrc-running-tp4034452p4034453.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Debugging Wince shows NO debugger output
I tried that but with me did not work -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Debugging-Wince-shows-NO-debugger-output-tp4034315p4034455.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] D:\lazarus\lcl\lclintf.pas(64, 2) Fatal: Can't open include file winapih.inc
havinf problems with making breakpoints work, I re-installed Lazarus 3 or 4 times changing revisions down to 1.0.08, 1.0.12 then returning to 1.0.14. I chose to delete old installation and all previous user configurations. Now, in all cases, compiling for WinCE I got this error. If i try to add the file to the project, it tells me it is already included in package LCLBase 1.0.14. I check in the installed packages, and LCLBase is indeed installed. Can anyone help? -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/D-lazarus-lcl-lclintf-pas-64-2-Fatal-Can-t-open-include-file-winapih-inc-tp4034454.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Resources
Hi All! I have been trying to use a resource file (mydata.rc) to include some bitmap images in an app but with no success. For simplicity, I have pared the rc file to a single line: pix2 BITMAP /home/mydir/Desktop/myapp/2.bmp I have the following lines in my main unit: {$R *.lfm} // the original {$R mydata.rc} mydata.rc is being compiled. It generates lib/x86_64-linux/mydata.res as expected. I can see the following in the compiled lib/x86_64-linux/mydata.res file using od B nul I nul T nul M nul A nul P nul and P nul I nul X nul 2 nul followed by the header of a bitmap image, so I am pretty sure that the resource compiler (windres) is working correctly. When I try to load the bitmap using: Image1.Picture.LoadFromLazarusResource('PIX2'); // Tried 'pix2' as well I constantly get Resource pix2 not found. I put some diagnostics in LResources.pp and I can see other resources being found, and pix2 being sought but it never finds a resource from the mydata.res file. It appears that whatever (I'm guessing here) has to be done to include the resources from mydata.res into the executable is not happening. I am using Lazarus V 1.1, and FPC V 2.6.2 Can anyone point me in the right direction? Thanks, Don Ziesig P.S. I started with PNG graphics and ended up with BMP only because that seemed to be the least common denominator in the all of the docs I could find. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Resources
{$R} (FPC style) resources are not the same as Lazarus resources. See: http://wiki.freepascal.org/Lazarus_Resources -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Resources-tp4034456p4034457.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus