[fpc-pascal] Easy way to install FPC 2.6.x on Mint Linux?

2012-02-20 Thread Juha Manninen
I am lazy and want to find the easiest way to install FPC 2.6.x on Mint Linux, which is compatible with Ubuntu. Has anyone made a repository which can be used with apt-get? Juha ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

RE : [fpc-pascal] Easy way to install FPC 2.6.x on Mint Linux?

2012-02-20 Thread Ludo Brands
I am lazy and want to find the easiest way to install FPC 2.6.x on Mint Linux, which is compatible with Ubuntu. Has anyone made a repository which can be used with apt-get? Grab it from the debian sid repository. Ludo ___ fpc-pascal maillist -

Re: RE : [fpc-pascal] Easy way to install FPC 2.6.x on Mint Linux?

2012-02-20 Thread Juha Manninen
2012/2/20, Ludo Brands ludo.bra...@free.fr: Grab it from the debian sid repository. How? Juha ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: RE : [fpc-pascal] Easy way to install FPC 2.6.x on Mint Linux?

2012-02-20 Thread Juha Manninen
2012/2/20, Ludo Brands ludo.bra...@free.fr: Grab it from the debian sid repository. How? Juha 2012/2/20, Juha Manninen juha.mannine...@gmail.com: 2012/2/20, Ludo Brands ludo.bra...@free.fr: Grab it from the debian sid repository. How? Juha

RE : RE : [fpc-pascal] Easy way to install FPC 2.6.x on Mint Linux?

2012-02-20 Thread Ludo Brands
2012/2/20, Ludo Brands ludo.bra...@free.fr: Grab it from the debian sid repository. How? I retract my proposal :) If you haven't installed from a foreign distribution repository before then there are too many risks for messing up your complete installation. You asked for an easy way: this

[fpc-pascal] level curve and surface generation code

2012-02-20 Thread Felipe Monteiro de Carvalho
Hello, I was wondering if anyone has seen Pascal code around for these two tasks 1 generate level curves from an array of 3D points 2 Generate a 3D surface from an array of 3D points. Here so far my best idea is using the marching cubes algorithm. I'd prefer only triangles, since those fit

RE : [fpc-pascal] Easy way to install FPC 2.6.x on Mint Linux?

2012-02-20 Thread Juha Manninen
2012/2/20, Ludo Brands ludo.bra...@free.fr: I retract my proposal :) If you haven't installed from a foreign distribution repository before then there are too many risks for messing up your complete installation. You asked for an easy way: this isn't easy when never done something similar

Re: [fpc-pascal] Easy way to install FPC 2.6.x on Mint Linux?

2012-02-20 Thread Mattias Gaertner
On Mon, 20 Feb 2012 16:03:02 +0200 Juha Manninen juha.mannine...@gmail.com wrote: 2012/2/20, Ludo Brands ludo.bra...@free.fr: I retract my proposal :) If you haven't installed from a foreign distribution repository before then there are too many risks for messing up your complete

Re: RE : [fpc-pascal] Easy way to install FPC 2.6.x on Mint Linux?

2012-02-20 Thread Henry Vermaak
On 20/02/12 14:03, Juha Manninen wrote: It is funny how people still think the Debian based package system is the best. It was so maybe 10 or 15 years ago but not any more. These problems have nothing to do with Debian packages. You need to install some development libraries. Henry

[fpc-pascal] Logging full runtime-error/exception backtrace

2012-02-20 Thread leledumbo
I want to log the full runtime-error/exception backtrace to a file. I've tried all methods explained http://wiki.lazarus.freepascal.org/Logging_exceptions here but none seems to give the full backtrace. i.e. when compiled with -gl, instead of just the address, I could also get line NN of file

[fpc-pascal] Re: level curve and surface generation code

2012-02-20 Thread leledumbo
Something like http://www.sulaco.co.za/opengl_project_terrain_generation_using_heightmaps.htm terrain ? -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/level-curve-and-surface-generation-code-tp5499029p5499298.html Sent from the Free Pascal - General mailing

Re: [fpc-pascal] Re: level curve and surface generation code

2012-02-20 Thread Felipe Monteiro de Carvalho
On Mon, Feb 20, 2012 at 3:59 PM, leledumbo leledumbo_c...@yahoo.co.id wrote: Something like http://www.sulaco.co.za/opengl_project_terrain_generation_using_heightmaps.htm terrain ? Pretty good! Unfortunatelly in my case the input is much more complex. Here it seams to be a grid with heights

Re: [fpc-pascal] Logging full runtime-error/exception backtrace

2012-02-20 Thread Everton Vieira
I use this units to do that. Was someone with the nickname crhonos who made. 2012/2/20 leledumbo leledumbo_c...@yahoo.co.id I want to log the full runtime-error/exception backtrace to a file. I've tried all methods explained http://wiki.lazarus.freepascal.org/Logging_exceptions here but none

Re: RE : [fpc-pascal] Easy way to install FPC 2.6.x on Mint Linux?

2012-02-20 Thread Juha Manninen
2012/2/20 Henry Vermaak henry.verm...@gmail.com On 20/02/12 14:03, Juha Manninen wrote: It is funny how people still think the Debian based package system is the best. It was so maybe 10 or 15 years ago but not any more. These problems have nothing to do with Debian packages. You need to

Re: [fpc-pascal] Easy way to install FPC 2.6.x on Mint Linux?

2012-02-20 Thread Juha Manninen
2012/2/20 Mattias Gaertner nc-gaert...@netcologne.de Linux Mint: That's what I did: sudo apt-get install lazarus subversion build-essential Now you have some old Lazarus, FPC and all needed libs. Download the fpc+lazarus svn or zip and build the latest and greatest. Can you build FPC

Re: [fpc-pascal] Easy way to install FPC 2.6.x on Mint Linux?

2012-02-20 Thread Rainer Stratmann
Am Monday 20 February 2012 16:09:44 schrieb Juha Manninen: 2012/2/20 Henry Vermaak henry.verm...@gmail.com On 20/02/12 14:03, Juha Manninen wrote: It is funny how people still think the Debian based package system is the best. It was so maybe 10 or 15 years ago but not any more. These

Re: [fpc-pascal] Logging full runtime-error/exception backtrace

2012-02-20 Thread Sven Barth
Am 20.02.2012 15:58, schrieb leledumbo: I want to log the full runtime-error/exception backtrace to a file. I've tried all methods explained http://wiki.lazarus.freepascal.org/Logging_exceptions here but none seems to give the full backtrace. i.e. when compiled with -gl, instead of just the

Re: [fpc-pascal] Logging full runtime-error/exception backtrace

2012-02-20 Thread Martin
On 20/02/2012 14:58, leledumbo wrote: I want to log the full runtime-error/exception backtrace to a file. I've tried all methods explained http://wiki.lazarus.freepascal.org/Logging_exceptions here but none seems to give the full backtrace. i.e. when compiled with -gl, instead of just the

Re: [fpc-pascal] Logging full runtime-error/exception backtrace

2012-02-20 Thread Sven Barth
Am 20.02.2012 16:08, schrieb Everton Vieira: I use this units to do that. Was someone with the nickname crhonos who made. These units will only work if the debug format is Stabs and not DWARF. Regards, Sven ___ fpc-pascal maillist -

Re: [fpc-pascal] Logging full runtime-error/exception backtrace

2012-02-20 Thread Everton Vieira
I've tried sometimes to do directly with the -gl and the BackTraceStrFunc and i never was able to get the info of the error, maybe my fault. With this units that i've passed i was able to get the info of the error with the line number and everything else within the app. 2012/2/20 Martin

Re: [fpc-pascal] Logging full runtime-error/exception backtrace

2012-02-20 Thread Sven Barth
Am 20.02.2012 16:34, schrieb Martin: If you do not want to ship with debug info: - compile with debug info - keep a copy of the file with debug info - use strip[.exe] to remove the debug info from shipping version - dump addresses when you get the addresses, you can use gdb and the copy with

Re: [fpc-pascal] Logging full runtime-error/exception backtrace

2012-02-20 Thread Everton Vieira
Is supposed that with the -gl and the BackTraceStrFunc would get all the info with the line number as well? Because if is true i've seen not work and could test again. 2012/2/20 Sven Barth pascaldra...@googlemail.com Am 20.02.2012 16:34, schrieb Martin: If you do not want to ship with debug

Re: [fpc-pascal] Logging full runtime-error/exception backtrace

2012-02-20 Thread Sven Barth
Am 20.02.2012 16:52, schrieb Everton Vieira: Is supposed that with the -gl and the BackTraceStrFunc would get all the info with the line number as well? Because if is true i've seen not work and could test again. This only works if you do not strip the debug info from the executable (either

Re: [fpc-pascal] Logging full runtime-error/exception backtrace

2012-02-20 Thread Martin
On 20/02/2012 15:52, Everton Vieira wrote: Is supposed that with the -gl and the BackTraceStrFunc would get all the info with the line number as well? Because if is true i've seen not work and could test again. It is supposed, yes. And it does for me. However I read something, someone said

Re: [fpc-pascal] Logging full runtime-error/exception backtrace

2012-02-20 Thread Everton Vieira
2012/2/20 Sven Barth pascaldra...@googlemail.com Am 20.02.2012 16:52, schrieb Everton Vieira: Is supposed that with the -gl and the BackTraceStrFunc would get all the info with the line number as well? Because if is true i've seen not work and could test again. This only works if you do

Re: [fpc-pascal] Logging full runtime-error/exception backtrace

2012-02-20 Thread Everton Vieira
2012/2/20 Martin laza...@mfriebe.de On 20/02/2012 15:52, Everton Vieira wrote: Is supposed that with the -gl and the BackTraceStrFunc would get all the info with the line number as well? Because if is true i've seen not work and could test again. It is supposed, yes. And it does for me.

[fpc-pascal] AsyncCalls no longer works with Free Pascal?

2012-02-20 Thread Jürgen Hestermann
I just wanted to try AsyncCalls and downloaded the most recent version 2.99. But when compiling a project that uses it I get an error 'Your compiler version is not supported'. Anybody who knows whether this can be circumvented? Or is AsyncCalls no longer usable with Free Pascal?

Re: RE : [fpc-pascal] Easy way to install FPC 2.6.x on Mint Linux?

2012-02-20 Thread Peter
On 20/02/12 11:49, Juha Manninen wrote: 2012/2/20, Ludo Brandsludo.bra...@free.fr: Grab it from the debian sid repository. How? Juha ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] Re: Logging full runtime-error/exception backtrace

2012-02-20 Thread leledumbo
I use this units to do that. Was someone with the nickname crhonos who made. Thanks, I'll try it :) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Logging-full-runtime-error-exception-backtrace-tp5499290p5500483.html Sent from the Free Pascal - General

[fpc-pascal] Re: Logging full runtime-error/exception backtrace

2012-02-20 Thread leledumbo
The resolution of file and address can only be done if your code is a) compiled with debug info and b) some code is available that can translate the debug info to the output. The first is done by -g, while the second is done by adding the l option. The latter adds the unit lineinfo or

[fpc-pascal] How create a full text search with TChmWriter?

2012-02-20 Thread Mattias Gaertner
Hi, I'm using TChmWriter to pack some html files into a chm file. The index works. I don't have a TOC. Now I want a full text search. I set Writer.FullTextSearch to true, it takes a long time to process and the resulting chm is 30% bigger than the total of all files. So I guess it has created

Re: [fpc-pascal] How create a full text search with TChmWriter?

2012-02-20 Thread Andrew Haines
On 02/20/12 18:00, Mattias Gaertner wrote: Hi, I'm using TChmWriter to pack some html files into a chm file. The index works. I don't have a TOC. Now I want a full text search. I set Writer.FullTextSearch to true, it takes a long time to process and the resulting chm is 30% bigger than

Re: [fpc-pascal] How create a full text search with TChmWriter?

2012-02-20 Thread Andrew Haines
On 02/20/12 18:00, Mattias Gaertner wrote: Hi, I'm using TChmWriter to pack some html files into a chm file. The index works. I don't have a TOC. Now I want a full text search. I set Writer.FullTextSearch to true, it takes a long time to process and the resulting chm is 30% bigger than

Re: [fpc-pascal] How create a full text search with TChmWriter?

2012-02-20 Thread Andrew Haines
On 02/20/12 20:51, Andrew Haines wrote: I added an lcl program to the ccr in applications/chmmaker that I wrote Nevermind I had forgotten it's in lazarus/tools anyway. :) Andrew ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] How create a full text search with TChmWriter?

2012-02-20 Thread Andrew Haines
On 02/20/12 18:00, Mattias Gaertner wrote: Hi, I'm using TChmWriter to pack some html files into a chm file. The index works. I don't have a TOC. Now I want a full text search. I set Writer.FullTextSearch to true, it takes a long time to process and the resulting chm is 30% bigger than