Re: [Lazarus] Trunk: problems running lazbuild to crosscompile Win x64 LCL

2013-02-14 Thread Reinier Olislagers
On 13-2-2013 19:13, Mattias Gaertner wrote: On Wed, 13 Feb 2013 17:04:26 +0100 Reinier Olislagers reinierolislag...@gmail.com wrote: On 13-2-2013 16:22, Mattias Gaertner wrote: Reinier Olislagers reinierolislag...@gmail.com hat am 13. Februar 2013 um 15:19 geschrieben: fpcup tries to build

[Lazarus] Getting a Field list of a record

2013-02-14 Thread Johann Spies
I see TDataset has a method to get a list of fields. Is there something similar for type: record? Say for instance I want to check which fields of a record are empty, how can I do it without having to specify each field manually? Another example: If I want to compare two records of the same type

Re: [Lazarus] Getting a Field list of a record

2013-02-14 Thread Marcos Douglas
On Thu, Feb 14, 2013 at 8:00 AM, Johann Spies johann.sp...@gmail.com wrote: I see TDataset has a method to get a list of fields. Is there something similar for type: record? Say for instance I want to check which fields of a record are empty, how can I do it without having to specify each

[Lazarus] Problem with zeos and sqlite-3

2013-02-14 Thread zeljko
Hi, When using eg. sum(somecolumn) AS sum1, sum(somecolumn2) AS sum2 sqlite returns (zeos recognizes) result columns as string not as float. I've tried CAST(sum(somecolumn) AS REAL) AS sum1 but have same problem. If I use pure data from table (eg. item INTEGER,value float) then results are ok.

[Lazarus] Lazarus and Arm Embedded.( see FPC Bug report 23844)

2013-02-14 Thread Justin Smyth
I’ve been working on a patch for FPC to add support for the NXP LPC 1343 ( smaller cousin to the NXP LPC 1768 ) , i’ve successfully added in all the correct units , can get FPC to recompile with my changes but i am wondering how i would recompile lazarus so i could debug any application i

Re: [Lazarus] Lazarus and Arm Embedded.( see FPC Bug report 23844)

2013-02-14 Thread Michael Schnell
On 02/14/2013 02:36 PM, Justin Smyth wrote: Can we extend lazarus so we can create embedded arm applications ? In the German Lazarus forum we are currently working on an instruction Wiki page (and supposedly on providing some necessary modifications of the Lazarus source code regarding the

Re: [Lazarus] Lazarus and Arm Embedded.( see FPC Bug report 23844)

2013-02-14 Thread Michael Ring
Hi Justin, as Michael already wrote we are currently integrating openocd into lazarus, the integration is already working but needs some testing. I would love to see that somebody else besides me gives the implementation a try. If Unlink2 is supported by openocd you should be fine, same is

Re: [Lazarus] Lazarus and Arm Embedded.( see FPC Bug report 23844)

2013-02-14 Thread Michael Schnell
On 02/14/2013 02:36 PM, Justin Smyth wrote: Can we extend lazarus so we can create embedded arm applications ? Besides the problem of allowing for cross compiling and remote debugging (which I feel is just is an issue of documentation and some bug fixes or enhancements), the more serious

Re: [Lazarus] Lazarus and Arm Embedded.( see FPC Bug report 23844)

2013-02-14 Thread Mattias Gaertner
On Fri, 15 Feb 2013 00:36:07 +1100 Justin Smyth delph...@smythconsulting.net wrote: I’ve been working on a patch for FPC to add support for the NXP LPC 1343 ( smaller cousin to the NXP LPC 1768 ) , i’ve successfully added in all the correct units , can get FPC to recompile with my changes

Re: [Lazarus] Problem with zeos and sqlite-3

2013-02-14 Thread Martin Schreiber
On Thursday 14 February 2013 13:48:46 zeljko wrote: Hi, When using eg. sum(somecolumn) AS sum1, sum(somecolumn2) AS sum2 sqlite returns (zeos recognizes) result columns as string not as float. I've tried CAST(sum(somecolumn) AS REAL) AS sum1 but have same problem. If I use pure data from

Re: [Lazarus] Lazarus and Arm Embedded.( see FPC Bug report 23844)

2013-02-14 Thread Koenraad Lelong
On 14-02-13 14:51, Michael Ring wrote: Hi Justin, as Michael already wrote we are currently integrating openocd into lazarus, the integration is already working but needs some testing. I would love to see that somebody else besides me gives the implementation a try. If Unlink2 is supported by

Re: [Lazarus] Problem with zeos and sqlite-3

2013-02-14 Thread zeljko
On Thursday 14 of February 2013 16:19:05 Martin Schreiber wrote: On Thursday 14 February 2013 13:48:46 zeljko wrote: Hi, When using eg. sum(somecolumn) AS sum1, sum(somecolumn2) AS sum2 sqlite returns (zeos recognizes) result columns as string not as float. I've tried CAST(sum(somecolumn)

Re: [Lazarus] Lazarus and Arm Embedded.( see FPC Bug report 23844)

2013-02-14 Thread Michael Schnell
On 02/14/2013 04:46 PM, Koenraad Lelong wrote: I would like to test this. Could you give a link to the wiki-page ? We did not start it yet. Supposedly first a German version will be done. Ill translate it to English when it's ready. P.S. can you make executables with your compiler ? Andy

Re: [Lazarus] Lazarus and Arm Embedded.( see FPC Bug report 23844)

2013-02-14 Thread Koenraad Lelong
Op 14-02-13 17:15, Michael Schnell schreef: On 02/14/2013 04:46 PM, Koenraad Lelong wrote: I would like to test this. Could you give a link to the wiki-page ? We did not start it yet. Supposedly first a German version will be done. Ill translate it to English when it's ready. Hi, I don't

Re: [Lazarus] Lazarus and Arm Embedded.( see FPC Bug report 23844)

2013-02-14 Thread Michael Ring
Koenraad, I have played with the crosscompiler under linux and I (hopefully) found a hack to workarround your problem, please see me answer to your original mail from a few minutes ago in fpc-pascal. I am now compiling a small howto on how to build use lazarus with openocd support, this

Re: [Lazarus] Lazarus and Arm Embedded.( see FPC Bug report 23844)

2013-02-14 Thread Justin Smyth
Thanks All , I'm happy to test the openocd modification to lazarus , I'm running both x64 Lazarus and x86 lazarus on my copy of win8 Pro x64 a copy of both on a win7 x64 pc. i should have my ulink2 kit soon , ordered recently , so once i have it i would be able to help test the changes

Re: [Lazarus] Lazarus and Arm Embedded.( see FPC Bug report 23844)

2013-02-14 Thread Michael Ring
Great, and also a big thaks for providing the unit for the NXP LPC 1343, I just saw it materializing in svn ;-) Please contact me when you ulink2 kit has arrived... Michael Am 14.02.13 22:30, schrieb Justin Smyth: Thanks All , I'm happy to test the openocd modification to lazarus , I'm

Re: [Lazarus] Problem with zeos and sqlite-3

2013-02-14 Thread luiz americo pereira camara
I just tested with sqlite3ds and works fine. See test below. You may look at its source and see if the approach used can be adapted for zeos Luiz Sqlite3Dataset1.FileName := 'data.db'; Sqlite3Dataset1.TableName := 'Test'; if not Sqlite3Dataset1.TableExists then begin

[Lazarus] Executable version

2013-02-14 Thread Edson - Listas
'); sysversao := 'versão. ' + FileVersionInfo.getVersionSetting('FileVersion'); end; To get the version of the executable, now with the [Lazarus-1.1-40312-fpc-2.7.1-20130214-win32] not working anymore, the error message appears below, with Lazarus 1.06 and fpc 2.6, works normal : Error: identifier idents

Re: [Lazarus] Lazarus and Arm Embedded.( see FPC Bug report 23844)

2013-02-14 Thread Justin Smyth
Dont worry i will let you know , i want to be able to write some code and debug it right away in lazarus. You’ll prob laugh at what my end point is – controlling my pc at home , its got 3.8Tb in Raid 5 , with a noctua D14 fan on it and i’m going to measure the heat from the drives in the

[Lazarus] OSX i386 build error with FPC trunk

2013-02-14 Thread Andrew Brunner
Getting a build error on lcltype.s. lclproc.pas(51,3) error identifier not found class I'm using FPC r23621 and Lazarus r40321 Andrew Brunner, Aurawin LLC 512.574.6298 http://aurawin.com/ Aurawin is great new way to store and share your pictures, videos, and more, featuring our innovative

Re: [Lazarus] OSX i386 build error with FPC trunk

2013-02-14 Thread Paul Ishenin
15.02.2013 10:15, Andrew Brunner пишет: Getting a build error on lcltype.s. lclproc.pas(51,3) error identifier not found class I'm using FPC r23621 and Lazarus r40321 Probably some change in makefiles made this. I solved this for myself by adding -Mobjfpc -Sh to my build options: make

[Lazarus] TOpenGLControl: multisampling not working (Linux/GLX)

2013-02-14 Thread Reimar Grabowski
Hi, as the title says multisampling does not work for me. Setting the MultiSampling value to something greater than 1 does nothing. Well, it does something. The multisampling code path in GLGtkGlxContext.pas is executed without any errors (verified by setting a break point and stepping through

Re: [Lazarus] OSX i386 build error with FPC trunk

2013-02-14 Thread Mattias Gaertner
On Thu, 14 Feb 2013 20:15:55 -0600 Andrew Brunner atbrun...@aurawin.com wrote: Getting a build error on lcltype.s. lclproc.pas(51,3) error identifier not found class Sorry. My fault. Fixed. Mattias -- ___ Lazarus mailing list