Re: [fpc-pascal] Link libglx library.

2009-05-14 Thread Jonas Maebe
On 14 May 2009, at 01:00, Guillermo Martínez Jiménez wrote: I'm working on a project that needs the GLX library. It compiles but when running it returns that error: ./exbasic: symbol lookup error: /usr/local/lib/libagl.so: undefined symbol: glXQueryExtension In other forum a colleague

[fpc-pascal] Re: Sourceforge Lazarus DEB Fails on Ubuntu Hardy Heron

2009-05-14 Thread Prince Riley
Time for Ubuntu and Debian to get these things fixed ... After spending almost five hours attempting to install the lazarus ide on Ubuntu Hardy Heron I've discovered that the souce of all this trouble is a fight between the debian maintainer of the FPC debs and the Ubuntu folks who have not

[fpc-pascal] Hiding console created by another process

2009-05-14 Thread leledumbo
I'm using TProcess to run a program with Options:=[poUsePipes,poNoConsole] and ShowWindow:=swoNone. However, the program is executing another program that creates a console. Is it possible to hide the console? -- View this message in context:

Re: [fpc-pascal] Daemon question

2009-05-14 Thread Joost van der Sluis
Op woensdag 13-05-2009 om 22:28 uur [tijdzone +0200], schreef Koenraad Lelong: Hi, I wrote a daemon monitoring my solar powerstation. It works fine but I want to extend it. At the moment I log everything to file, and I put some data into rrdtool. I would like to be able to ask the daemon some

Re: [fpc-pascal] Daemon question

2009-05-14 Thread Henry Vermaak
2009/5/13 Koenraad Lelong fpas...@brouwerij.homelinux.net: Hi, I wrote a daemon monitoring my solar powerstation. It works fine but I want to extend it. At the moment I log everything to file, and I put some data into rrdtool. I would like to be able to ask the daemon some information, but I

Re: [fpc-pascal] Re: MacMode More Info

2009-05-14 Thread Tomas Hajny
On Tue, May 12, 2009 05:17, Pierre Paré wrote: The results of your email command are provided below. Attached is your original message. - Results: Invalid confirmation string. Note that confirmation strings expire approximately 3 days after the initial subscription request. If your

[fpc-pascal] XML Pretty Formatter

2009-05-14 Thread Leonardo M . Ramé
Hi, I'm looking for a simple XML pretty formatter, or parser who can remove all superfluous characters from XML files. My application receives an XML file from an external app. containing many spaces and CRLFs after closing tags, this doesn't affect my parser, but I need to add the XML to a

[fpc-pascal] Re: Link libglx library.

2009-05-14 Thread Guillermo Martínez Jiménez
Jonas Maebe wrote: -klglx (note the extra l). I tried that: fpc -02 -Sh -FUlib/ -klglx /exbasic.pp -oexbasic But it returns that error: /usr/bin/ld: lglx: No such file: No such file or directory I look for a dev package for GLX (libgl1-mesa-glx-dev?) but I can't find it. Which packages

Re: [fpc-pascal] Re: Link libglx library.

2009-05-14 Thread Michalis Kamburelis
Guillermo Martínez Jiménez wrote: Jonas Maebe wrote: -klglx (note the extra l). I tried that: fpc -02 -Sh -FUlib/ -klglx /exbasic.pp -oexbasic But it returns that error: /usr/bin/ld: lglx: No such file: No such file or directory I look for a dev package for GLX

Re: [fpc-pascal] Re: Link libglx library.

2009-05-14 Thread Jonas Maebe
On 14 May 2009, at 15:04, Guillermo Martínez Jiménez wrote: Jonas Maebe wrote: -klglx (note the extra l). I tried that: fpc -02 -Sh -FUlib/ -klglx /exbasic.pp -oexbasic But it returns that error: /usr/bin/ld: lglx: No such file: No such file or directory Sorry, I made an error, it's

Re: [fpc-pascal] XML Pretty Formatter

2009-05-14 Thread Graeme Geldenhuys
On Thu, May 14, 2009 at 1:57 PM, Leonardo M. Ramé martinr...@yahoo.com wrote: Hi, I'm looking for a simple XML pretty formatter, or parser who can remove all superfluous characters from XML files. I have created just the thing for you. :-) I created to XSL files that cleans up XML files. I

Re: [fpc-pascal] Re: Link libglx library.

2009-05-14 Thread Michalis Kamburelis
I wrote: Note also your error message: ./exbasic: symbol lookup error: /usr/local/lib/libagl.so: undefined symbol: glXQueryExtension This says something strange, the linker for some reason is looking for glXQueryExtension inside libagl.so. Actually, re-reading this error message, it

[fpc-pascal] Re: XML pretty formatter

2009-05-14 Thread Seth Grover
I don't know what your requirements are for platform/language, but this works nicely for me: -- #!/usr/bin/perl use XML::Tidy; my $xmlFile = '/path/to/filename'; my $tidy_obj = XML::Tidy-new('filename' = $xmlFile); $tidy_obj-tidy(); $tidy_obj-write();

Re: [fpc-pascal] Re: XML pretty formatter

2009-05-14 Thread Leonardo M . Ramé
Thanks Seth and Graeme, the problem is the program must run on a remote server that hasn't installed Tidy.pm, but fortunately it has xsltproc, so I'll try Graeme's solution. BTW, is there any Pascal source code out there to do this?. Leonardo M. Ramé http://leonardorame.blogspot.com --- On

Re: [fpc-pascal] XML Pretty Formatter

2009-05-14 Thread Leonardo M . Ramé
Thanks Graeme!, pretty_print.xsl solved the issue. Leonardo M. Ramé http://leonardorame.blogspot.com --- On Thu, 5/14/09, Graeme Geldenhuys graemeg.li...@gmail.com wrote: From: Graeme Geldenhuys graemeg.li...@gmail.com Subject: Re: [fpc-pascal] XML Pretty Formatter To: FPC-Pascal users

Re: [fpc-pascal] Daemon question

2009-05-14 Thread Koenraad Lelong
Henry Vermaak schreef: 2009/5/13 Koenraad Lelong fpas...@brouwerij.homelinux.net: Hi, I wrote a daemon monitoring my solar powerstation. It works fine but I want to extend it. ... Now I'm writing this, I could write to a file after receiving a signal, and then reading this with php.

Re: [fpc-pascal] How to use OpenGL 2.0 features

2009-05-14 Thread Lord Satan
On Wed, 13 May 2009 15:56:10 +0400 dmitry boyarintsev skalogryz.li...@gmail.com wrote: Binding flexibility is required, if application is to be distributed. There's no way to say, what kind of OpenGL drivers is installed on the next machine. First of all this is no answer to my question. I was

[fpc-pascal] Calling C++ object

2009-05-14 Thread Josh.Bowden
Hi, I am trying to call a C++ object which is in a dll from a Pascal interface unit as described in Rudy's Delphi corner: (http://rvelthuis.de/articles/articles-cppobjs.html). I use the inheritance method, making my C++ object a descendent from a Virtual ancestor. I end up with run time