I am trying to compile it and meet a undefined SWITCH_PREFIX_DIR. So I added
#ifndef SWITCH_PREFIX_DIR
#define SWITCH_PREFIX_DIR "."
#endif
It can be compiled now, but a link error stopped me:
switch_swig_wrap.obj : error LNK2001: unresolved external symbol "struct JavaVM_ * javaVM" (?javaVM@@3PAUJavaVM_@@A)
And I have already added jvm.lib from jdk to the link option.
Googled it, and no answer found.
On Wed, Aug 18, 2010 at 9:37 AM, Brian West
<brian@freeswitch.org> wrote:
swig is NOT required to compile it... but nobody has tried it on windows.
/b
On Aug 17, 2010, at 8:26 PM, xuyan yang wrote:
> In the latest git I didn't find any VC project file for mod_java. >From the makefile I found that swig is needed to conpile this. And swig does have windows version. Is it possible to compile mod_java for windows from latest git tree? _______________________________________________