I'm getting a link error when following the counter tutorial from the following page:<div><br></div><div><a href="http://pdstatic.iem.at/externals-HOWTO/node4.html" target="_blank">http://pdstatic.iem.at/externals-HOWTO/node4.html</a><br clear="all">
<br></div><div><div>2>counter.obj : error LNK2001: unresolved external symbol _s_float</div><div>2>C:\Users\Elliott\...\externals\build\Debug\counter.dll : fatal error LNK1120: 1 unresolved externals</div></div><div>
<br></div><div>I got the first (hello world) example to build and link and run, so I'm not sure what I'm doing wrong here. I am definitely linking against pd.lib, because if I stop linking against it, I get about 8 link errors instead of 1. My code is identical to the example except for an added extern "C" and __declspec(dllexport) to get the counter_setup function to have the correct visibility.</div>
<div><br></div><div>I am building with MS Visual Studio 2010 and the Pd 0.42.5 from <a href="http://www.crca.ucsd.edu/~msp/software.html" target="_blank">http://www.crca.ucsd.edu/~msp/software.html</a> .</div><div><br></div>
<div>I would be happy to provide more details on my code and build system if that would be helpful.</div><div><br></div><div>Thanks in advance.</div><div><br>-- <br>Elliott Slaughter<br>
<br>"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay<br>
</div>