Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
Hi - not sure where I should be posting questions about the Mozilla Html Parser, but…
After downloading version 0.1.5 from http://sourceforge.net/project/showfiles.php?group_id=186646 I’m getting this error runnning the example:
java.lang.UnsatisfiedLinkError: C:\dev\MozillaHtmlParser\native\bin\MozillaParser.dll: Can’t find dependent libraries
(And yes, I’ve added mozilla.dist.bin.win and mozilla.dist.bin.win/components directories to my windows PATH variable)
Using Dependency Walker, it seems mozillaparser.dll depends on msvcr70d.dll, which is not on my system. Is it possible you compiled this in debug mode, so it’s now looking for a debug dll?
It seems that this problem appears on computers that don’t contain the .net SDK - I can patch this up by adding the necessary files ( there are four of them ) to the mozilla.dist.bin.win directory. I will do that shortly , plus add another bugfix that i had.
I have posted your question anf this answer in the project’s forum. we can continue the discussion here :
When do you plan to "add the necessary files"? I'd really like to try out your parser.
I have the same problem.
I would really like to give your project a try, so please fix this as soon as possible :)
Same problem here. I like your parser and want to use it, could you please fix this? Thanks!
I got same problem.
Using this tool http://www.dependencywalker.com/
I discovered there are 2 missing DLLs:
I located copies of these here:
However, when I run ParserExample or any other test I get this error that comes from the MozillaParser.dll:
Unable to create a parser : 80040154
I don't know if this is due to a faulty/incompatible DLL I downloaded, or further missing resources.
I installed the .NET 2 SDK, and still get the same problem. Do I need SDK 1, 2, or 3? And, how close are we to getting this resolved? I'd like to try this out!
I manage to contact Ohad and am able to get the parser to work on a newly installed windows machine (in eclipse). This is the step that I do
1. download the parser (the latest version doesn't require you to download firebox library as it's already in cluded in the distribution)
2. In my case I used eclipse, I could directly import the project directly into eclipse by using file--> import
3. I set the window environment PATH to point to the two directories (mozilla.dist.bin.win and mozilla.dist.bin.win.compoments)
4. Now the reason that it gives unsatisfiedlinkerrors is because the distribution is missiong 4 dlls files. Here's the list of the 4 missing files
You can either place this in system/window32 or just place it in whatever directory is in your windows PATH. In my case, I place it in mozilla.dist.bin.win so it will be easier for me to export the project later on.
I'm told that these 4 dlls are the one from visual c++. But you can probably find and download it off the net too.
This is a really good parser. I have tried 2-3 other open source parsers and by far this one is the best. It just takes a bit of times to make this work.
Thank you Ohad for your help on Skype.