Hello,
I want to link sqlite3.o statically with my Lazarus program.
Is the additional option -k/foldername/sqlite3.o correct?
Because I get ld: symbol(s) not found for architecture i386
How can I get fpc to show the detailed ld errors, i.e. which symbols
are missing?
Thanks.
Tobias
--
What packages? Is it Lazarus trunk built yourself from SVN?
It recompiles the LCL whenever I switch the processor type. It is not
necessary. I want to compile the LCL manually and never automatic.
Is it possible to turn automatic off or not?
Cheers,
Tobias
--
Hello,
is there a way to turn off re-compilation of packages that the project
depends on? It seems to be doing that when I don't need it or want it.
Cheers,
Tobias
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
Hello,
the latest Build Lazarus GUI is very pretty, but how do I recompile
just the LCL? I need to do it in order to create a cross-compiled
PowerPC LCL on Mac.
I don't need Lazarus, just the LCL.
Apart from that, it is a pleasure to work with the latest Lazarus and
FPC snapshots!
Cheers,
Hi,
apparently the binary release 2.2.2 for ARM does not run on Cortex A9,
I get Illegal instruction. So I will try to do cross-compiling next.
Cheers,
Tobias
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
need to get the
(cross-)compile working now.
Kind Regards,
Tobias Giesen
To avoid a reboot, make sure that no SuperFlexible or ExtremeSync
processes are running in Task Manager before installing an update.
Super Flexible Software Ltd. Co. KG
Lessingstr. 42
48485 Neuenkirchen, Germany
Hello,
many thanks for all the help!
If anybody is looking for an ARM device, the Toshiba AC100 is pretty
cool. Around 200 EUR with Cortex A9 dual core and 512 MB RAM. It is
a netbook computer and has HDMI as well as USB. Mine has an 8GB SSD.
It comes with Android 2.1 (a 2.2 update is
Hello,
I now have a netbook computer with an ARM processor running Ubuntu.
Ideally I would like to install FPC and Lazarus on it and do native
ARM development. I wonder if it might be possible. Can I cross-compile
FPC to get a native FPC running on ARM?
Or at least can I cross-compile my app?
Hello,
on one of my customer's machines, the line
TrayIcon1.Visible:=true;
terminates the program, apparently with an ObjC exception inside MacOS.
I wonder if this exception can be caught and handled, or what could be
the cause? It works fine on all my machines.
Cheers,
Tobias
Is there anything special about this machine? Maybe he has a newer Mac
OS X version or something?
Apparently the problem appeared with the 10.6.6 update, but it runs fine
on many other such machines. I have asked the user all kinds of questions
in this direction (screen/appearance etc.) but he
Hello,
unfortunately I designed my forms on a Linux machine (Ubuntu) where the
Screen.PixelsPerInch value is 64. To get good looking fonts, I had to
use sizes between 8 and 11. The default dialog font seems to be size 11
on this system.
But on other Linux installations, where PixelsPerInch is
There's bug in rpms which have unneded dependencies. Install it
with --force it'll work.
Wow thanks! Actually the option was -nodeps and it works perfectly!
Lazarus has a great look feel on Linux.
Cheers,
Tobias
--
___
Lazarus mailing list
Hello,
I am trying to install the daily snapshot RPMs and I get
error: Failed dependencies:
gdk-pixbuf is needed by lazarus ...
gtk+ is needed by lazarus ...
However, in Install/Remove Software, I have installed all the
avaible GTK development packages, such as gtk2-devel.
Can I get the
Hi,
I think you shouldn't create suspended threads anyway. The Windows
API docs say that suspend/resume is only for debuggers. To synchronize
threads or to delay the starting of a thread you should use events,
WaitForMultipleObjects etc.
Cheers,
Tobias
--
Hello,
I have a debugger problem when using the latest Lazarus snapshot on Mac
OS Snow Leopard, as well as with older Lazarus snapshots from this year.
When my program raises an exception, Lazarus appears in the foreground
but it does not show any exception dialog and it does not show the
Hello,
I have a debugger problem when using the latest Lazarus snapshot on Mac
OS Snow Leopard, as well as with older Lazarus snapshots from this year.
When my program raises an exception, Lazarus appears in the foreground
but it does not show any exception dialog and it does not show the
Hi,
in my dialogs, I frequently see the mouse pointer being shown as
crosshairs (crCross) forever after leaving an edit field. Is there
anything that can be done?
Ideally the mouse pointer changes to crDefault immediately when it
is moved away from the edit field.
Maybe this is not easy to
A few days ago, Mattias wrote:
TWinControl.AlignControls and TAnchorSide.GetSidePosition stop after
ControlCount number of runs.
DoAllAutoSize did not stop. I added a counter. The LCL now raises an
exception.
Tobias, please test.
Brilliant! It points me right to the buggy component.
Which Version of GDB do you have ?
My problem happens only on Mac I believe. I don't have any influence
on the version, it comes from Apple.
Happens with both stabs and dwarf.
I think I will submit a sample project as an FPC bug.
tg
--
___
Lazarus
i would be adding them back in, one at the time, and only one each
time while removing the previous, to see if it breaks again... it
could be that a combination breaks the debugger...
Yes I will do something like that, maybe I can even create a minimal
project with only one unit that breaks
TWinControl.AlignControls and TAnchorSide.GetSidePosition stop after
ControlCount number of runs.
DoAllAutoSize did not stop. I added a counter. The LCL now raises an
exception.
Tobias, please test.
OK, thanks! Should it be in the next daily snapshot?
Cheers,
Tobias
--
Hello,
I found out the most incredible thing. When I add this stripped-down
unit to my program, GDB will crash loading it. When I remove the line
in the initialization section, it works. When I rename the unit, it
works also. So I can easily work around the problem, but maybe a more
generic
Hello,
DoAllAutoSize is causing problems with some of my controls. It either
hangs in infinite loops or raises exceptions. Can I disable it? My
controls worked fine with older LCL versions so I just want to work
it like it used to.
Cheers,
Tobias
--
Hi,
now I removed a few dozen units from the application and the debugging
works. If only I could find out what exactly the debugger does not like
in these units.
Unfortunately, $D- in these units does not have the same positive
effect as cutting the units completely. So I guess I will have to
Hi,
are there tools to dump the symbolic information, stabs or dwarf, and
maybe even manipulate it so we can try to find which part is causing
gdb to crash?
Cheers,
Tobias
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
Synchronize(@DispatchOutput);
Suspend;
That is not necessary because Synchronize always waits for the
command to complete.
Cheers,
Tobias
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
Hello,
I first tried to send this to the fpc-pascal list but it doesn't seem
to work. Sorry for cross-posting if it still makes it thru.
My compiled application with symbols is 93.5 MB in size and gdb cannot
load it, so the debugger in Lazarus fails too (Segmentation fault when
gdb tries to
How about using dwarf debug information, instead of stabs?
Great idea, I will try it!
Currently I cannot compile the app anyway because FPC 2.4.0 fails
with Fatal: Compilation aborted: Unhandled exception at ...
on line 1 of some units.
So I guess I will have to install a newer FPC. Any
Hi,
is there a way to see or log the communication between Lazarus and
gdb? Because even though standalone gdb can sometimes load my
executable with symbols, Lazarus still says Oops, debugger error
or something like that. I would like to know the exact error.
Mac OS X i386 ...
Cheers,
Tobias
View / Debug windows / Debug output
Wow that is very interesting!
The info ends with:
Program stopped at 0x211a.
It stopped at a breakpoint that has since been deleted.
Type ... for more information.
But I don't have any breakpoints set, and Lazarus 0.9.28.2 says that
the debugger entered the
I think I had this problem on Ubuntu a while ago. I looked in the
project file with a text editor and removed the instances and
re-opened my project with success.
Hmm that seemed to be a hopeful tip, but my project file didn't contain
any breakpoints. Well I cleaned out some other stuff.
Do
have come up with
some way to either fix it myself or submit a reproducible bug report.
Kind Regards,
Tobias Giesen
Super Flexible Software Ltd. Co. KG
Lessingstr. 42
48485 Neuenkirchen, Germany
www.superflexible.com
www.tgtools.com
Hello Dmitry,
thanks very much for the tips! That should get me working. If I succeed,
I will make a sample project in Pascal available.
Cheers,
Tobias
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
NSLoadApplication must be called from Carbon application using Cocoa,
no matter what stuff is placed in Bundle.
Great. Still the icon does not respond to clicks.
I tried my own adaptation of the StatusItem, bypassing the LCL. This
works fine as long as I use NSApp.run instead of
Great. Still the icon does not respond to clicks.
Are using some kind of mix of Cocoa and Carbon widgetset?
No, I made a totally clean installation of the latest snapshot and
created a new minimal test application for this purpose. If you like
I can send you the test application. Or does
Hi Dmitry,
I am sorry I didn't describe the case properly. I mistyped the
subject.
I am building a Carbon application and I am trying to get the
TrayIcon with menu to work, that's all.
It shows up but does not respond to clicks and does not show the
menu. I wonder when did anybody use or test
Hello,
I've been able to use the pascocoa sample code to add a status item to
my Carbon app, and it works to some extent. At first it did not respond
to clicks, so I switched from using Application.run to NSApp.run. Now
the events for both my Carbon app and the status item seem to be
processed
Hello,
I solved it. In TMyController, I just need to make sure that the
function applicationShouldTerminateAfterLastWindowClosed always
returns objc.NO. Apparently the NSApp doesn't see the Carbon windows,
so it queries whether to close the application occasionally.
It is fascinating, so far I
38 matches
Mail list logo