W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2004

Re: tidy LNK2019 compiler error

From: Cory Nelson <phrosty@gmail.com>
Date: Tue, 14 Sep 2004 18:18:49 -0700
Message-ID: <9b1d061404091418182d465215@mail.gmail.com>
To: Kevin Howe <khowe@perfnet.ca>
Cc: html-tidy@w3.org

you forgot to link to the tidy .lib ;)


On Tue, 14 Sep 2004 13:14:43 -0400, Kevin Howe <khowe@perfnet.ca> wrote:
> 
> I'm trying to compile the example from http://tidy.sf.net/libintro.html but
> I get a bunch of "unresolved external symbol" errors? I'm using the most
> recent CVS source snapshot (tidy_src.tgz), both the src and include
> directories have been included in environment variables.
> 
> cl test.c
> Microsoft (R) Incremental Linker Version 7.10.3077
> Copyright (C) Microsoft Corporation.  All rights reserved.
> 
> /out:test.exe
> test.obj
> test.obj : error LNK2019: unresolved external symbol _tidyRelease referenced
> in function _main
> test.obj : error LNK2019: unresolved external symbol _tidyBufFree referenced
> in function _main
> test.obj : error LNK2019: unresolved external symbol _tidySaveBuffer
> referenced in function _main
> test.obj : error LNK2019: unresolved external symbol _tidyRunDiagnostics
> referenced in function _main
> test.obj : error LNK2019: unresolved external symbol _tidyCleanAndRepair
> referenced in function _main
> test.obj : error LNK2019: unresolved external symbol _tidyParseString
> referenced in function _main
> test.obj : error LNK2019: unresolved external symbol _tidySetErrorBuffer
> referenced in function _main
> test.obj : error LNK2019: unresolved external symbol _tidyOptSetBool
> referenced in function _main
> test.obj : error LNK2019: unresolved external symbol _tidyCreate referenced
> in function _main
> test.exe : fatal error LNK1120: 9 unresolved externals
> 
> 



-- 
Cory Nelson
http://www.int64.org
Received on Wednesday, 15 September 2004 01:18:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:54 UTC