Link Grammer Build error

28 views
Skip to first unread message

steve

unread,
Jan 9, 2011, 12:37:32 PM1/9/11
to link-grammar, aian...@gmail.com
Hi,
I'm trying to install link grammar on my Windows Vista Home Premium
(64bit). I followed the instructions in the readme for the MSVC9
installation.

I have set and triple checked the Environment Variable (GNUREGEX and
JAVA_HOME) GNUREGEX points to the unzipped gnu-regex32 folder and the
JAVA_HOME points to the jdk1.6.0_23 folder (the 64bit jdk install
folder).

When I run Link Grammer form MS VC++ 2008 Express edition it gives me
2 errors and 1 warning.

c:\users\public\linkgrammar\link-grammar-4.7.2\link-grammar\regex-
morph.c(16) : fatal error C1083: Cannot open include file: 'regex.h':
No such file or directory

c1 : fatal error C1083: Cannot open source file: '..\link-grammar
\malloc-dbg.c': No such file or directory

It also says that the environment variable (GNUREGEX) can not be
found. Even though I checked the system variables and there it was. Is
there something that I'm missing?

Thanks in advance for any replies

Borislav Iordanov

unread,
Jan 10, 2011, 12:41:52 AM1/10/11
to link-g...@googlegroups.com
Hi,

Could be that MSVC9 is ignoring the system environment variables. Try
manually expanding it in the project settings: the compiler include
paths and linker library paths. If you are not going to be using link
grammar from Java, you don't need JAVA_HOME.

malloc_dbg.c is probably something that was removed from the source
tree, so just delete it from the project, looks like some debugging
aid that's not being used/needed anymore.

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.
>
>

--
http://www.kobrix.com - HGDB graph database, Java Scripting IDE, NLP
http://kobrix.blogspot.com - news and rants

"Frozen brains tell no tales."

-- Buckethead

Eric Miao

unread,
Jan 10, 2011, 12:37:05 AM1/10/11
to link-g...@googlegroups.com

Exclude the malloc-dbg.c from the project, 
and 
restart the system.


Reply all
Reply to author
Forward
0 new messages