I've tried to put together the compile process and have failed
miserably several times... the information is too disjointed for me to
make real sense out of it. I keep ending up getting lost around the
inclusion of the regex stuff.
I really appreciate what you've done, it's awesome to be able to use
the dll on Windows.
Thank you very much!
The instructions for building to that point are:
install mingW and MSYS according to the default options. Download the
gnuwin32 regex file, then copy the contents of the 'lib' folder over
to the "c:/mingw/lib" folder , the regex2.dll to the "c:/mingw/bin"
folder, then doing ./config from MSYS in the folder with the config
file for linkgrammar. I now get the "strdup" warnings and error.
Any help will be greatly appreciated! :)
I haven't tried MSYS in a long while, but if a function is missing,
you basically need to track it down and find a replacement. Another
person on this list, Kobby? I think, went through the whole hassle a
couple of months ago, promised to write down the instruction and/or
send patches for some more windows ifdefs, but never did it I think.
If you do track down all missing dependencies, it would help other
people in the future and I'm sure Linas will happily add the necessary
patches. The next time I need to recompile the latest code, I promise
to do the same :) (I did that originally, but then new dependencies
were introduced)
Best,
Boris
> --
> You received this message because you are subscribed to the Google Groups "link-grammar" group.
> To post to this group, send email to link-g...@googlegroups.com.
> To unsubscribe from this group, send email to link-grammar...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/link-grammar?hl=en.
>
>
Hi JRowe,
I am also Windows-bound, and would also like to use the LGP. I just tried that web page, and got the following list of files:
amd64/
libdb47.dll
libdb_java47.dll
link-grammar-java.dll
link-grammar.dll
link-parser.exe
pthreadVC2.dll
When I run link-parser.exe, I get the error message
"This application has failed to start because liblink-grammar-4.dll was
not found. Re-installing the application may fix this problem."
And then Vista kills the .exe immediately.
Is there a URL with info on how to run the link parser in windows from that set of files?
Thanks,
-Rich
Sincerely,
Rich Cooper
EnglishLogicKernel.com
Rich AT EnglishLogicKernel DOT com
--
You only need link-grammar*.dll and pthreadVC2.dll from that folder.
Link grammar itself was compiled with VC++ 2008. To run it you need to
have either that development environment installed or install the VC++
2008 redistribution package from:
* 32 bit - Microsoft Visual C++ 2008 SP1 Redistributable Package
(x86) - http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en
* 64 bit - Microsoft Visual C++ 2008 SP1 Redistributable Package
(x64) - http://www.microsoft.com/downloads/details.aspx?familyid=BA9257CA-337F-4B40-8C14-157CFDFFEE4E&displaylang=en
Boris
--
http://www.kobrix.com - HGDB graph database, Java Scripting IDE, NLP
http://kobrix.blogspot.com - news and rants
"Frozen brains tell no tales."
-- Buckethead
If you build with cygwin, you will need its runtime. But I believe
msys is able to bundle its runtime within the DLL, so you could try
building with that.
Cheers,
Boris
On Wed, Feb 24, 2010 at 12:58 PM, Rich Cooper