HTML Parsing lib

MrSmith via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Oct 25 12:48:24 PDT 2014


On Saturday, 25 October 2014 at 19:46:01 UTC, MrSmith wrote:
> On Saturday, 25 October 2014 at 19:44:25 UTC, Suliman wrote:
>> I found only https://github.com/Bystroushaak/DHTMLParser
>>
>> But I can't get it work:
>> C:\Users\Dima\Downloads\DHTMLParser-master\DHTMLParser-master>dmd 
>> find_links.d
>> OPTLINK (R) for Win32  Release 8.00.15
>> Copyright (C) Digital Mars 1989-2013  All rights reserved.
>> http://www.digitalmars.com/ctg/optlink.html
>> find_links.obj(find_links)
>> Error 42: Symbol Undefined 
>> _D11dhtmlparser11parseStringFAyaZC11dhtmlparser11HTM
>> LElement
>> find_links.obj(find_links)
>> Error 42: Symbol Undefined _D11dhtmlparser12__ModuleInfoZ
>> --- errorlevel 2
>>
>> Is there any other HTML parsing lib, or maybe someone do know 
>> how to get it's work. Look like it's not compatible with 
>> current version of DMD
>
> You need to pass a library to compiler as well (all its files 
> or .lib/.a file) if it is compiled as static library

You can try
dmd find_links.d dhtmlparser.d quote_escaper.d


More information about the Digitalmars-d-learn mailing list