<div dir="ltr">Hello Gary,<div><br></div><div>your help is highly appreciated, but the problem still remains, i have tried use the details from examples directories for linking purpose but not able to resolve it &quot;<span style="font-size:12.8px"> </span><span style="font-size:12.8px">error LNK2019: unresolved external symbol &quot;protected....</span>&quot;.</div><div><br></div><div><br></div><div>Thanks</div><div>Nitesh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 20, 2015 at 12:05 AM, Michael Feldman <span dir="ltr">&lt;<a href="mailto:michaelfeldman@ymail.com" target="_blank">michaelfeldman@ymail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Now.<br>
I tried Visual Studio route as well. Could not get it to work. Help appreciated.<br>
Thank you.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
&gt; On Oct 19, 2015, at 17:58, Gary Scavone &lt;<a href="mailto:gary@ccrma.Stanford.EDU">gary@ccrma.Stanford.EDU</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Nitesh,<br>
&gt;<br>
&gt; There is no .lib included with the STK distribution.  Rather, you need to compile and link together all the necessary classes for your program.<br>
&gt;<br>
&gt; If it helps, there is a somewhat old VC++ project file included in the examples directories that might help you figure it out.  I don’t use Windows very much and when I do, I use the MinGW environment for compiling.  Thus, I can’t help with the details of including and linking the source files.<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; —gary<br>
&gt;<br>
&gt;&gt; On Oct 19, 2015, at 1:03 PM, Nitesh Kumar Chaudhary &lt;<a href="mailto:nitesh.lnmiit@gmail.com">nitesh.lnmiit@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ---------- Forwarded message ----------<br>
&gt;&gt; From: Nitesh Kumar Chaudhary &lt;<a href="mailto:nitesh.lnmiit@gmail.com">nitesh.lnmiit@gmail.com</a>&gt;<br>
&gt;&gt; Date: Mon, Oct 19, 2015 at 6:00 PM<br>
&gt;&gt; Subject: Re: [Stk] STK Linker error suggestion<br>
&gt;&gt; To: Gary Scavone &lt;<a href="mailto:gary@ccrma.stanford.edu">gary@ccrma.stanford.edu</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 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.<br>
&gt;&gt;<br>
&gt;&gt; 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.<br>
&gt;&gt;<br>
&gt;&gt; program that i am using<br>
&gt;&gt;<br>
&gt;&gt; #include &quot;Noise.h&quot;<br>
&gt;&gt; using namespace stk;<br>
&gt;&gt; int main()<br>
&gt;&gt; {<br>
&gt;&gt;    StkFloat output;<br>
&gt;&gt;    Noise noise;<br>
&gt;&gt;    for (unsigned int i = 0; i&lt;20; i++) {<br>
&gt;&gt;        output = noise.tick();<br>
&gt;&gt;        std::cout &lt;&lt; &quot;i = &quot; &lt;&lt; i &lt;&lt; &quot; : output = &quot; &lt;&lt; output &lt;&lt; std::endl;<br>
&gt;&gt;    }<br>
&gt;&gt;    return 0;<br>
&gt;&gt; }<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Error :<br>
&gt;&gt;<br>
&gt;&gt; 1&gt;------ Build started: Project: STK19OCT, Configuration: Debug Win32 ------<br>
&gt;&gt; 1&gt;  Main.cpp<br>
&gt;&gt; 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)<br>
&gt;&gt; 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)<br>
&gt;&gt; 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<br>
&gt;&gt; 1&gt;C:\Users\chaudhary jee\Desktop\STK19OCT\Debug\STK19OCT.exe : fatal error LNK1120: 3 unresolved externals<br>
&gt;&gt; ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 19-Oct-2015 5:28 pm, &quot;Gary Scavone&quot; &lt;<a href="mailto:gary@ccrma.stanford.edu">gary@ccrma.stanford.edu</a>&gt; wrote:<br>
&gt;&gt; It looks like you aren’t including the source and header files for the STK classes in the src/ directory.<br>
&gt;&gt;<br>
&gt;&gt; —gary<br>
&gt;&gt;<br>
&gt;&gt;&gt; On Oct 19, 2015, at 11:44 AM, Nitesh Kumar Chaudhary &lt;<a href="mailto:nitesh.lnmiit@gmail.com">nitesh.lnmiit@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hello Sir,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&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;&gt;&gt;<br>
&gt;&gt;&gt; I am using Visual studio 2013<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; error that i am getting<br>
&gt;&gt;&gt;<br>
&gt;&gt;&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;&gt;&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;&gt;&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;&gt;&gt; 1&gt;.\19th OCT STK1.exe : fatal error LNK1120: 3 unresolved externals<br>
&gt;&gt;&gt; ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Nitesh Kumar Chaudhary<br>
&gt;&gt;&gt; 3rd year Undergraduate (Electronics &amp; Communication Engineering)<br>
&gt;&gt;&gt; LNMIIT , Jaipur<br>
&gt;&gt;&gt; Mobile :<a href="tel:%2B91-9772979813" value="+919772979813">+91-9772979813</a><br>
&gt;&gt;&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;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Stk mailing list<br>
&gt;&gt;&gt; <a href="mailto:Stk@ccrma.stanford.edu">Stk@ccrma.stanford.edu</a><br>
&gt;&gt;&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>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Nitesh Kumar Chaudhary<br>
&gt;&gt; 3rd year Undergraduate (Electronics &amp; Communication Engineering)<br>
&gt;&gt; LNMIIT , Jaipur<br>
&gt;&gt; Mobile :<a href="tel:%2B91-9772979813" value="+919772979813">+91-9772979813</a><br>
&gt;&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;&gt; _______________________________________________<br>
&gt;&gt; Stk mailing list<br>
&gt;&gt; <a href="mailto:Stk@ccrma.stanford.edu">Stk@ccrma.stanford.edu</a><br>
&gt;&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>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Stk mailing list<br>
&gt; <a href="mailto:Stk@ccrma.stanford.edu">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>
</div></div></blockquote></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>