Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-11

Cannot install package lNet in svn 28204

10 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

John vd Waeter

Hi All,

When installing lNet package:

C:\prog\lazarus\lnet\lib\lwebserver.pp(645,53) Error: absolute can only
be associated with a var or const

But it *is* a var:

var
   lServerSocket: TLHTTPServerSocket absolute FSocket;

??

Kind regerds,
John

Reply by email

Marc Weustink
to John vd Waeter
John vd Waeter wrote 13 lines
Hi All, When installing lNet package: C:\prog\lazarus\lnet\lib\lwebserver.pp(645,53) Error: absolute can only be associated with a var or const But it *is* a var: var lServerSocket: TLHTTPServerSocket absolute FSocket; ??

If FSocket is a member variable of a class it is not a variable.

You can only use absolute for variables which address is known on forehand.

Marc

Reply by email

John vd Waeter
to Dimitrios Chr. Ioannidis

Hmmm,
There was an old lNet version lying around...
Allthough I selected the trunk version, the old sourcefiles where used.

Weird that I could not delete the directory where the old version was, even after closing Lazarus and checking in taskmanager that there was no lazarus running.. had to restart the machine to get rid of this dir.

It now installs ok. However, weird again, upon rebuilding lazarus.exe grew from abt 13 MB to 126 MB... but thats another issue I guess..

tnx
John

Dimitrios Chr. Ioannidis wrote 11 lines
???? 15/11/2010 11:44 ??, ?/? John vd Waeter ??????: > Hi All, > > When installing lNet package: > > C:\prog\lazarus\lnet\lib\lwebserver.pp(645,53) Error: absolute can > only be associated with a var or const FWIW, i use lNet trunk and is compiled / installed fine in lazarus trunk. regards,
John vd Waeter www.jvdw.nl www.gps-carpool.net www.shotinthedark.nl www.pdaforms.nl www.dbapocket.nl

Reply by email

Sven Barth
to John vd Waeter
John vd Waeter wrote
It now installs ok. However, weird again, upon rebuilding lazarus.exe grew from abt 13 MB to 126 MB... but thats another issue I guess..

That's the debug info... add "-Xs" or "-Xg" to the additional options for compiling the IDE (at least I hope that this works ^^).

-Xs removes the debug infos
-Xg puts the debug infos in an external file

Regards,
Sven

Reply by email

Dimitrios Chr. Ioannidis
to John vd Waeter: There was an old lNet version lying around... Allthough I selected the trunk version, the…

???? 15/11/2010 12:20 ??, ?/? John vd Waeter ??????:

Weird that I could not delete the directory where the old version was, even after closing Lazarus and checking in taskmanager that there was no lazarus running.. had to restart the machine to get rid of this dir.

Well, if you use TortoiseSVN, sometimes the TSVNCache service lock-out the dir for processing.

regards,

Dimitrios Chr. Ioannidis

Reply by email

John vd Waeter
to Sven Barth: That's the debug info... add "-Xs" or "-Xg" to the additional options for compiling the…
That's the debug info... add "-Xs" or "-Xg" to the additional options for compiling the IDE (at least I hope that this works ^^).

Tried -Xs, -dXs in the options box, tried to remove "debug" and "verbose" from "edit defines", but still 126 MB... The Help button takes me to the Wiki, where it says that I can enter options in the options-box... right...

Can someone point me to the right syntax?

regards,
John

Reply by email

Henry Vermaak
to John vd Waeter: Tried -Xs, -dXs in the options box, tried to remove "debug" and "verbose" from "edit…
John vd Waeter wrote 9 lines
> That's the debug info... add "-Xs" or "-Xg" to the additional options > for compiling the IDE (at least I hope that this works ^^). Tried -Xs, -dXs in the options box, tried to remove "debug" and "verbose" from "edit defines", but still 126 MB... The Help button takes me to the Wiki, where it says that I can enter options in the options-box... right... Can someone point me to the right syntax?

Try -g- -Xs (at least that's what I use on the command line).

Henry

Reply by email