RE: Error Building libwww 5.3.2 And Thanks for repost of event l ist loop solution.

Nguyet,

I am new at this as well too and I have a method...
I am not sure it is the best method but here it goes:

After loading the world project in VC6
I selected all the www projects in the workspace.
Then I right clicked on them and chose 
"Build (selection only)"  because many of these libraries
depend on others they did not all build the first time.
I repeated this step and everything built.

Oh yeah (it seems as if I might have needed to move the header files
from Library\External to Library\Src as well.

Hope this helps.

-Eric Johnson

PS: my event loop issue was solved thanks to Jans Meggers
Thanks again.

I needed to add a default time out to the end of the 
HTHost_new in HTHost.c:

// very end of function
}
if (pres) pres->retry = 3;

return pres;
}

And I needed to add Code to the function htdoconnect() in HTtcp.c

...
	case TCP_NEED_CONNECT:
#ifdef WWW_WIN_ASYNC

		// for each connection attempt, decrease the retry value
		HTHost_decreaseRetry (host);

		if (!HTHost_retry(host)) {
			host->tcpstate = TCP_ERROR;
			break;
		}

	    HTHost_register(host, net, HTEvent_CONNECT);
#endif
...


-----Original Message-----
From: Nguyet.Phan@intermec.com [mailto:Nguyet.Phan@intermec.com]
Sent: Friday, February 02, 2001 2:53 PM
To: www-lib@w3.org
Subject: Error Building libwww 5.3.2


Hi,

I am a new user who needs to use the 5.3.2 version of libwww on Windows NT
4.0.  Here are the steps I did:

	1. Downloaded the libwww-win32.zip and unpacked it.
	2. Opened world.dsw project in MSVC++6.0 and attempted to rebuild
everything.
	3. Encountered the following error:

=====================================================================

Build : warning : failed to (or don't know how to) build
'E:\C_CPP\libwww5.3.2\libwww-win32\Library\src\HTZip.c'
Build : warning : failed to (or don't know how to) build
'E:\C_CPP\libwww5.3.2\libwww-win32\WinCom\WinCom.rc'
--------------------Configuration: wwwdll - Win32 Debug--------------------
Compiling...
windll.c
wwwdll.c
Linking...
LINK : fatal error LNK1104: cannot open file ".\wwwdll.def"
Error executing link.exe.

WinCom.exe - 1 error(s), 0 warning(s) 

=====================================================================

I searched previous postings on this subject and found some responses to a
similar question dated back in Dec. 2000; but still don't know how to
proceed:

	1. Vladimir suggested updating the project (downloading the
libwww-win32.zip) => I have already downloaded this file.
	2. Jose suggested boostraping the code to get the .def files.  He
mentioned a Perl script provided by Eric Prud. => I had no idea what I was
supposed to look for, went there anyway to browse, but came back emty
handed.

I am hoping to get some help from those of you who have "been there done
that!" 

Thanks alot in advance,



Nguyet


 http://www.w3.org/People/Eric/

Received on Friday, 2 February 2001 15:27:23 UTC