[PD] externals tutorial: link error
Jack
jack at rybn.org
Fri Feb 18 21:11:04 CET 2011
Oups, sorry, i think it was an error concerning the web link to the how
to.
++
Jack
Le vendredi 18 février 2011 à 15:03 -0500, Martin a écrit :
> On 18/02/11 02:39 PM, Elliott Slaughter wrote:
> > I'm getting a link error when following the counter tutorial from the
> > following page:
> >
> > http://pdstatic.iem.at/externals-HOWTO/node4.html
> >
> > 2>counter.obj : error LNK2001: unresolved external symbol _s_float
> > 2>C:\Users\Elliott\...\externals\build\Debug\counter.dll : fatal error
> > LNK1120: 1 unresolved externals
> >
>
> I think it's because you need to define MSW in the preprocessor defines
> section so that "EXPORT" in m_pd.h is replaced by
> "__declspec(dllimport)". Otherwise it's just "extern" and the linker
> can't find it.
> Another way to avoid that error is to replace any ocurrence of &s_float
> with gensym("float") but then you'll probably run into more trouble down
> the line.
>
> Martin
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110218/dae9406c/attachment.pgp>
More information about the Pd-list
mailing list