I fixed this problem. Apparently settings in my .bashrc are not inherited
by launcher applications. I have a ~/lib folder where I would put shared
object files I built and added that path it in .bashrc
LD_LIBRARY_PATH=~/lib
export LD_LIBRARY_PATH
I copied the above again in the script which launc
So I did a lot of googling and testing and still haven't made progress
fixing these problems.
Problem #1 which prevents me from debugging or running projects which link
to libSDL2.so in the IDE (lazarus) is quite annoying. I've put together a
minimal example. If anyone with access to a 32 bit linu
On 4/8/2013 16:14, Mark Morgan Lloyd wrote:
waldo kitty wrote:
from the machine you are trying to perform this look up from, what do you get
if you do the following?
nslookup pye-dev-01
Server: 192.168.1.1
Address: 192.168.1.1#53
Name: pye-dev-01.telemetry.co.uk
Address: 192.168.1.16
nslo
waldo kitty wrote:
On 4/8/2013 14:54, Mark Morgan Lloyd wrote:
waldo kitty wrote:
On 4/8/2013 11:03, Mark Morgan Lloyd wrote:
How best to get the (internet-style) domain name of a system?
GetDomainName()
appears to be returning "(none)" here on x86 Linux.
do you mean the FQDN (Fully Qualifi
On 4/8/2013 14:54, Mark Morgan Lloyd wrote:
waldo kitty wrote:
On 4/8/2013 11:03, Mark Morgan Lloyd wrote:
How best to get the (internet-style) domain name of a system? GetDomainName()
appears to be returning "(none)" here on x86 Linux.
do you mean the FQDN (Fully Qualified Domain Name)??
I
waldo kitty wrote:
On 4/8/2013 11:03, Mark Morgan Lloyd wrote:
How best to get the (internet-style) domain name of a system?
GetDomainName()
appears to be returning "(none)" here on x86 Linux.
do you mean the FQDN (Fully Qualified Domain Name)??
I mean that on the machine I'm working on the
On 4/8/2013 11:03, Mark Morgan Lloyd wrote:
How best to get the (internet-style) domain name of a system? GetDomainName()
appears to be returning "(none)" here on x86 Linux.
do you mean the FQDN (Fully Qualified Domain Name)??
___
fpc-pascal maillis
On 03/04/13 15:50, duilio foschi wrote:
thanks to your suggestions, I could compile and successfully test the
'hello world' code that comes with the brook framework.
Now I am ready to wet my feet in the world of web programming.
In my company we have a few dedicated (remote) servers running lin
How best to get the (internet-style) domain name of a system?
GetDomainName() appears to be returning "(none)" here on x86 Linux.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
use the following unit:
unit StringMyObjectMap;
{$mode objfpc}{$H+}
interface
uses ghashmap;
type
TStringHash = class
class function hash(s: String; n: Integer): Integer;
end;
TMyObject = class ... end; // define yourself
TStringMyObjectMap = class(specialize
THashMap)
destru
please disregard my last note about "avoiding the sanity check"
On Mon, Apr 8, 2013 at 1:52 PM, dmitry boyarintsev <
skalogryz.li...@gmail.com> wrote:
> You can always use functions, to fight typecasting.
>
> function GetMyObject(dic: TStrings; const nm: string): TMyObject;
> var
> i : intege
You can always use functions, to fight typecasting.
function GetMyObject(dic: TStrings; const nm: string): TMyObject;
var
i : integer;
begin
if not Assigned(dic) then begin Result:=nil; Exit; end;
i:=dic.indexof(nm); // replace with IndexOfName if necessary
if (i<0) or (i>=dic.Count) or no
Am 08.04.2013 10:18, schrieb Marco van de Voort:
In our previous episode, Marius2 said:
Yes, I have used it lots of times and its really the last choice if theres
something available like the objectdictionary. In this case the dict is also
the owner of the objects, it saves me the continious ugl
In our previous episode, Marius2 said:
> Yes, I have used it lots of times and its really the last choice if theres
> something available like the objectdictionary. In this case the dict is also
> the owner of the objects, it saves me the continious ugly typecasting, takes
> care of the extra admin
Thanks Dimitri,
Yes, I have used it lots of times and its really the last choice if theres
something available like the objectdictionary. In this case the dict is also
the owner of the objects, it saves me the continious ugly typecasting, takes
care of the extra administration with freeing objects
Am 08.04.2013 08:53, schrieb Anthony Walter:
On Mon, Apr 8, 2013 at 1:59 AM, Sven Barth
mailto:pascaldra...@googlemail.com>> wrote:
Am 08.04.2013 01:37 schrieb "Anthony Walter" mailto:sys...@gmail.com>>:
>
> In addition I have been writing a OpenGL which creates stubs for
load
In our previous episode, Anthony Walter said:
> 2) I cannot compile a i386-win32 SDL2 application on Linux using the SDL2
> static libraries (define static in CrossSDL2.pas which should be reference
> i386-win32/libSDL2.a) for Windows. I get a bunch of errors similar to this:
>
> test.lpr(79,1)
17 matches
Mail list logo