W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2001

RE: post.dsp in another workspace.

From: Fred Covely <fcovely@covely.com>
Date: Sun, 29 Apr 2001 23:57:11 -0700
To: <lucas@mach8.nl>
Cc: <www-lib@w3.org>
The libwww .dsp's do contain the proper references to the correct libraries.
If I
understand your process, you are attempting to build a project (dsw and dsp)
'from scratch'.  The way to add import libraries or static lib's (all of the
libwww libs that I am aware of are import libs) is the same.  On the
file view of the project, right mouse click and hit 'add files'.  Then just
navigate to the directory where the .lib files reside and add them.  Note
when you run, you will need to make sure that the corresponding DLL's are
in your path.

As far as regex, expat, and other 'external' stuff goes, it comes with the
(library\external if I recall correctly).  Just add those files directly to
project (the .lib files that is.)

Hope that helps,

Fred Covely

-----Original Message-----
From: lucas@mach8.nl [mailto:lucas@mach8.nl]
Sent: Saturday, April 28, 2001 11:26 PM
To: Fred Covely
Cc: www-lib@w3.org
Subject: RE: post.dsp in another workspace.

Hi Fred, thanks again for helping out.

> All of the examples use the wwwcore, and other libraries, so check your
> library paths.

I thought the .dsp would contain references to the libraries it needs, and
if it would not find them, warn me..  Is this not how it goes?

The .dsp wants to dynamicly link to the gnu_regex.dll and 3 more libs.
I noticed the precense of their equivalent .lib files (instead of the
.dll's) I hoever have tried and trie to make an executable independant of
those .dlls, but could not tell msvc (we have a bit of a communication
problem :) to staticly link to  the .libs.. Is this possible?

> Another way I have used is to just readd the libs to the project.  You can
> start
> by just adding all the libraries and making sure it links with no
> symbols.
> Then take them out one or two at a time to see which ones are not needed.

In VC terms, where would you suggest I'd do that? in the
->>options->directory->libraries screen?. I have noticed that one can see
what seem to be the library dependance of a project within a dsw by
opening a project, and seeing a 'shortcut' to a library within the
porject's files. I have tried and tried to give my project folder such a
shortcut, but am unclear what to do.

> When I first started using the lib my first exercise was exactly what
> you are doing and it does help to understand how the source code/dll's
> are structured.

Nice to know I'm not the only one :).

I'm sorry if I'm clugging this list with what might be more compiler
inexperience than in depth discussion of the library. I hope I will soon
understand how to use libwww in my compilercontext, and actually talk
about the library.

Again thanks for your help, very much appreciated,

Received on Monday, 30 April 2001 03:02:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:54 UTC