W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2001

newbie problems

From: Robert Ilijason <ri@mjau.se>
Date: Mon, 12 Feb 2001 01:50:37 +0100
To: <www-lib@w3.org>
Message-ID: <IGEGLNNNNKEPBHGIPBDHIEMLCAAA.ri@mjau.se>
Hi,

Found libwww today and decided to give it a try. Compiling the sources for
NT/VC6 wasn't hard, but I can't connect to the library. I use the simple
start&stop-program:

#include "WWWLib.h"

int main()
{
    HTLibInit("TestApp", "1.0");
    HTLibTerminate();
    return 0;
}

but the compiler returns:

main.obj : error LNK2001: unresolved external symbol _HTLibTerminate
main.obj : error LNK2001: unresolved external symbol _HTLibInit
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol
_WinMain@16
Debug/Test.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

Test.exe - 4 error(s), 0 warning(s)

I think my includes are set right.

Any ideas?

Regards,
/Robert
Received on Sunday, 11 February 2001 19:48:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:38 GMT