<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=windows-1252">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello!<br>
    </p>
    <p>I am trying to compile a Shared Object (.so) with Visual Studio
      2015 RC and clang linker. </p>
    <p>I am linking against the Opus Code libs in my stdafx.h</p>
    <pre style="" class="lang-cpp prettyprint prettyprinted"><code><span class="com">#pragma</span><span class="pln"> comment</span><span class="pun">(</span><span class="pln">lib</span><span class="pun">,</span><span class="pln"> </span><span class="str">"..\\..\\opus-1.1-beta\\win32\\VS2010\\Win32\\Debug\\celt.lib"</span><span class="pun">)</span><span class="pln">
</span><span class="com">#pragma</span><span class="pln"> comment</span><span class="pun">(</span><span class="pln">lib</span><span class="pun">,</span><span class="pln"> </span><span class="str">"..\\..\\opus-1.1-beta\\win32\\VS2010\\Win32\\Debug\\opus.lib"</span><span class="pun">)</span><span class="pln">
</span><span class="com">#pragma</span><span class="pln"> comment</span><span class="pun">(</span><span class="pln">lib</span><span class="pun">,</span><span class="pln"> </span><span class="str">"..\\..\\opus-1.1-beta\\win32\\VS2010\\Win32\\Debug\\silk_common.lib"</span><span class="pun">)</span><span class="pln">
</span><span class="com">#pragma</span><span class="pln"> comment</span><span class="pun">(</span><span class="pln">lib</span><span class="pun">,</span><span class="pln"> </span><span class="str">"..\\..\\opus-1.1-beta\\win32\\VS2010\\Win32\\Debug\\silk_fixed.lib"</span><span class="pun">)</span><span class="pln">
</span><span class="com">#pragma</span><span class="pln"> comment</span><span class="pun">(</span><span class="pln">lib</span><span class="pun">,</span><span class="pln"> </span><span class="str">"..\\..\\opus-1.1-beta\\win32\\VS2010\\Win32\\Debug\\silk_float.lib"</span><span class="pun">)</span></code></pre>
    <p>I am getting the linker error</p>
    <pre style="" class="lang-cpp prettyprint prettyprinted"><code><span class="pln">linker command failed with exit code </span><span class="lit">1</span><span class="pln"> </span><span class="pun">(</span><span class="pln">use </span><span class="pun">-</span><span class="pln">v to see invocation</span><span class="pun">)</span><span class="pln">   </span><span class="typ">SharedObject1</span><span class="pln">   C</span><span class="pun">:</span><span class="pln">\Users\MyUser\Documents\Visual </span><span class="typ">Studio</span><span class="pln"> </span><span class="lit">2015</span><span class="pln">\Projects\SharedObject1\SharedObject1\clang</span><span class="pun">.</span><span class="pln">exe </span><span class="lit">1</span></code></pre>
    <p>Can anybody tell me how to investigate what might have gone wrong
      there? Where would I state this "-v" in VS2015? <br>
    </p>
    <p>And is it not ok to use .libs in a cross-platform project? <br>
      I was wondering why everybody talks about .a files, .so, but never
      about .libs.<br>
    </p>
    <p>Thank you!<br>
    </p>
    <p>Hermann<br>
    </p>
  </body>
</html>