<div>I am trying to compile it and meet a undefined SWITCH_PREFIX_DIR. So I added </div><div><div><br></div><div>#ifndef SWITCH_PREFIX_DIR</div><div>#define SWITCH_PREFIX_DIR &quot;.&quot;</div><div>#endif</div></div><div>
<br></div><div>It can be compiled now, but a link error stopped me:</div>switch_swig_wrap.obj : error LNK2001: unresolved external symbol &quot;struct JavaVM_ * javaVM&quot; (?javaVM@@3PAUJavaVM_@@A)<br>And I have already added jvm.lib from jdk to the link option.<div>
Googled it, and no answer found.<br><div><br><div><br><div class="gmail_quote">On Wed, Aug 18, 2010 at 9:37 AM, Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">swig is NOT required to compile it... but nobody has tried it on windows.<br>
<br>
/b<br>
<br>
On Aug 17, 2010, at 8:26 PM, xuyan yang wrote:<br>
<br>
&gt; In the latest git I didn&#39;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? _______________________________________________<br>

<div><div></div><div class="h5">&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div></div></div>