<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Nitesh Kumar Chaudhary</b> <span dir="ltr">&lt;<a href="mailto:nitesh.lnmiit@gmail.com">nitesh.lnmiit@gmail.com</a>&gt;</span><br>Date: Mon, Oct 19, 2015 at 6:00 PM<br>Subject: Re: [Stk] STK Linker error suggestion<br>To: Gary Scavone &lt;<a href="mailto:gary@ccrma.stanford.edu">gary@ccrma.stanford.edu</a>&gt;<br><br><br><div dir="ltr"><div class="gmail_quote">Sir, i have included  the source and header file from src/ directory in (VC ++ Directories --&gt; Source Directories and Include Directories) and C/C++ Additional include Directories, there is no any error in the code, it is linker error, i am trying to use simple code of tutorial from STK website.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Also i am not finding any .lib file after extracting the .zip file for windows (tried in visual studio 2013 and 2015). I am trying to resolve the problem from last 3 days but i am not able to do so. </div><div class="gmail_quote"><br></div><div class="gmail_quote"><b><u>program that i am using </u></b></div><div class="gmail_quote"><br></div><div class="gmail_quote">#include &quot;Noise.h&quot;</div><div class="gmail_quote">using namespace stk;</div><div class="gmail_quote">int main()</div><div class="gmail_quote">{</div><div class="gmail_quote"><span style="white-space:pre-wrap">        </span>StkFloat output;</div><div class="gmail_quote"><span style="white-space:pre-wrap">        </span>Noise noise;</div><div class="gmail_quote"><span style="white-space:pre-wrap">        </span>for (unsigned int i = 0; i&lt;20; i++) {</div><div class="gmail_quote"><span style="white-space:pre-wrap">                </span>output = noise.tick();</div><div class="gmail_quote"><span style="white-space:pre-wrap">                </span>std::cout &lt;&lt; &quot;i = &quot; &lt;&lt; i &lt;&lt; &quot; : output = &quot; &lt;&lt; output &lt;&lt; std::endl;</div><div class="gmail_quote"><span style="white-space:pre-wrap">        </span>}</div><div class="gmail_quote"><span style="white-space:pre-wrap">        </span>return 0;</div><div class="gmail_quote">}</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><b><u>Error : </u></b></div><div class="gmail_quote"><br></div><div class="gmail_quote">1&gt;------ Build started: Project: STK19OCT, Configuration: Debug Win32 ------</div><div class="gmail_quote">1&gt;  Main.cpp</div><div class="gmail_quote">1&gt;Main.obj : error LNK2019: unresolved external symbol &quot;protected: virtual __thiscall stk::Stk::~Stk(void)&quot; (??1Stk@stk@@MAE@XZ) referenced in function &quot;public: virtual __thiscall stk::Generator::~Generator(void)&quot; (??1Generator@stk@@UAE@XZ)</div><div class="gmail_quote">1&gt;Main.obj : error LNK2019: unresolved external symbol &quot;public: __thiscall stk::StkFrames::~StkFrames(void)&quot; (??1StkFrames@stk@@QAE@XZ) referenced in function &quot;public: virtual __thiscall stk::Generator::~Generator(void)&quot; (??1Generator@stk@@UAE@XZ)</div><div class="gmail_quote">1&gt;Main.obj : error LNK2019: unresolved external symbol &quot;public: __thiscall stk::Noise::Noise(unsigned int)&quot; (??0Noise@stk@@QAE@I@Z) referenced in function _main</div><div class="gmail_quote">1&gt;C:\Users\chaudhary jee\Desktop\STK19OCT\Debug\STK19OCT.exe : fatal error LNK1120: 3 unresolved externals</div><div class="gmail_quote">========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Thanks </div><div><div class="h5"><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">On 19-Oct-2015 5:28 pm, &quot;Gary Scavone&quot; &lt;<a href="mailto:gary@ccrma.stanford.edu" target="_blank">gary@ccrma.stanford.edu</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">It looks like you aren’t including the source and header files for the STK classes in the src/ directory.<br>
<br>
—gary<br>
<br>
&gt; On Oct 19, 2015, at 11:44 AM, Nitesh Kumar Chaudhary &lt;<a href="mailto:nitesh.lnmiit@gmail.com" target="_blank">nitesh.lnmiit@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hello Sir,<br>
&gt;<br>
&gt; I have tried to use STK but every time i am getting the Linker error, i have tried many times to use it i ahve used the installation instruction for windows but i am not able to do so, could you please help me in doing it ?<br>
&gt;<br>
&gt; I am using Visual studio 2013<br>
&gt;<br>
&gt; error that i am getting<br>
&gt;<br>
&gt; prog.obj : error LNK2019: unresolved external symbol &quot;protected: virtual __thiscall stk::Stk::~Stk(void)&quot; (??1Stk@stk@@MAE@XZ) referenced in function &quot;public: virtual __thiscall stk::Generator::~Generator(void)&quot; (??1Generator@stk@@UAE@XZ)<br>
&gt; 1&gt;prog.obj : error LNK2019: unresolved external symbol &quot;public: __thiscall stk::StkFrames::~StkFrames(void)&quot; (??1StkFrames@stk@@QAE@XZ) referenced in function &quot;public: virtual __thiscall stk::Generator::~Generator(void)&quot; (??1Generator@stk@@UAE@XZ)<br>
&gt; 1&gt;prog.obj : error LNK2019: unresolved external symbol &quot;public: __thiscall stk::Noise::Noise(unsigned int)&quot; (??0Noise@stk@@QAE@I@Z) referenced in function _main<br>
&gt; 1&gt;.\19th OCT STK1.exe : fatal error LNK1120: 3 unresolved externals<br>
&gt; ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; --<br>
&gt; Nitesh Kumar Chaudhary<br>
&gt; 3rd year Undergraduate (Electronics &amp; Communication Engineering)<br>
&gt; LNMIIT , Jaipur<br>
&gt; Mobile :<a href="tel:%2B91-9772979813" value="+919772979813" target="_blank">+91-9772979813</a><br>
&gt; <a href="http://in.linkedin.com/pub/nitesh-kumar-chaudhary/4a/a79/179/" rel="noreferrer" target="_blank">in.linkedin.com/pub/nitesh-kumar-chaudhary/4a/a79/179/</a><br>
&gt; _______________________________________________<br>
&gt; Stk mailing list<br>
&gt; <a href="mailto:Stk@ccrma.stanford.edu" target="_blank">Stk@ccrma.stanford.edu</a><br>
&gt; <a href="https://cm-mail.stanford.edu/mailman/listinfo/stk" rel="noreferrer" target="_blank">https://cm-mail.stanford.edu/mailman/listinfo/stk</a><br>
<br>
</blockquote></div>
</div></div></div>
</div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span style="font-family:georgia,serif">Nitesh Kumar Chaudhary</span><div><span style="color:rgb(102,102,102)"><span style="font-family:georgia,serif">3rd year Undergraduate (<i>Electronics &amp; Communication Engineering</i>)</span></span></div><div><span style="color:rgb(102,102,102)"><span style="font-family:georgia,serif">LNMIIT , Jaipur<br></span></span></div><div><span style="color:rgb(102,102,102)"><span style="font-family:georgia,serif">Mobile :+91-9772979813<br></span></span><a href="http://in.linkedin.com/pub/nitesh-kumar-chaudhary/4a/a79/179/" title="View public profile" name="UNIQUE_ID_SafeHtmlFilter_webProfileURL" target="_blank">in.linkedin.com/pub/nitesh-kumar-chaudhary/4a/a79/179/</a><br></div></div></div>
</div>