<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 5/13/2015 7:50 AM, Masaaki Hosoi
wrote:<br>
</div>
<blockquote
cite="mid:CAMj6ZEVjh+8VtOH0xMfC986APYgCvUtEJdo_TWWX6wUf-D3PRw@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,
<div>I have a plugin called DFVoice, which is a voice chat
plugin for the Unity game engine. The latest version of Unity
now allows for native DLLs in the free version (whereas
previously it only allowed .NET DLLs), so I've been wanted to
integrate Opus to replace NSpeex.</div>
<div>That said, I've been running into issues with compiling
Opus - that is, I can't seem to figure out how to compile Opus
to a DLL (the included Visual Studio project doesn't seem to
produce a DLL?). I don't know if I'm being stupid and missing
an easy way to do this... Any help would be appreciated.</div>
</div>
<br>
</blockquote>
<br>
In order to compile Opus as a dll one needs to:<br>
<ol>
<li>Change the configuration type for Opus project from static
library to dynamic link library</li>
<li>Add all dependent static libraries as dependencies (silk,
silk_common, silk_float)</li>
</ol>
<p>I've attached a zip containing the VS2013 project configuration
which does all the above <span class="moz-smiley-s1"><span><br>
<br>
</span></span><br>
</p>
<p>Cheers,<br>
Cristian.<br>
</p>
</body>
</html>