Using Lightweight Network Unit from svn as visual package lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- lepidosteus · 2006-03-22 00:54 Hello, I've finally set up a clean install updated from svn of Lazarus, and i'm now willing to get my component updated aswell. Everything worked went smooth, then i get an error updating lightweight network unit. So far, i used the package avaible here : http://members.chello.sk/ales/faq.html Quote27.01.2006: Added FAQ section. Updated lNet to 0.3.1. Unified OnReceive behavior between platforms and visual/nonvisual components. Old versioning now obsolete. Be sure to also check out the visual package if you use visual components. It worked very well. Now, i'm trying to get it from the svn. I've seen there is the same lnetpackage and idepackage, but i can't compile the first one (didn't even tried the second one). It tells me it can't find the unit "winsock2" Any help you can give me about it ? ---------------------------------------------------------------------- Almindor · 2006-03-22 08:32 Hi, thanks for trying the SVN version out. Your current problem is related to updates in lNet which require latest 2.1.1 FPC compiler ATM. I've updated FPC to use Winsock2 (it was using winsock1 in windows for all socket operations until now) and it's not yet been merged to 2.0.3. Also please note that the SVN version is highly developed and unstable. Currently with 2.1.1 the non-visual parts work but visual ones have bugs in them I have not yet had the time to fix. After 0.4 release (shouldn't be that far now) I will redesign the layout of SVN for lNet to match the FPC style of "trunk" and "tags" etc. Ofcourse if you want to help by testing from time to time it's very appresiated, however if you want a stable networking lib I'd suggest you use the 0.3.1 stable release. Ales ---------------------------------------------------------------------- lepidosteus · 2006-03-23 03:04 Thanks for the answer (and for this great package too ) ! Does it also means that if i update fpc to the latest svn version lnet will stop working (using 0.3.1) ? Also, please note that while your svn is working great, the svn version we can find in the http://svn.freepascal.org/svn/fpcprojects repositery seems corrupted with a non existing file. Wich interrupts me getting other files form the repository (well, I don't know how to tell tortoiseSVVN to pass though the error and download other files) ---------------------------------------------------------------------- Almindor · 2006-03-23 10:18 lnet 0.3.1 should work with fpc 2.0.0+ no matter what. If it stops for any reason please tell me. I tried "checkout" of the lNet dir and it went ok. It's probably something with your tortoise SVN, try using command line tools. ---------------------------------------------------------------------- lepidosteus · 2006-03-23 18:06 I found out that it was the lnet files in the fpircbot that caused this error. It seems to include some lnet files, wich aren't there. ---------------------------------------------------------------------- Almindor · 2006-03-24 08:10 FpcIRCBot checkout here ok too, also compiled. Altho the bot uses lNet it doesn't use the one from /svn/fpcprojects/lnet directly, but it's own stripped copy. ---------------------------------------------------------------------- lepidosteus · 2006-03-24 19:15 Well i guess there was an error the last day, because now it works. Forget me