I think this could be part of a general section about building your external (a short intro to pd-lib-builder + instructions for MSVC). when the semester is over, I'll do a PR with some other additions which IOhannes can cherrypick.
Gesendet: Mittwoch, 23. Mai 2018 um 17:28 Uhr Von: "Dan Wilcox" danomatika@gmail.com An: "Christof Ressi" christof.ressi@gmx.at Cc: pd-dev pd-dev@lists.iem.at Betreff: Re: [PD-dev] pd.lib & msvc - missing symbols
I'm glad it works. Again, this is all thanks to Christof and Lucarda's work over the winter for the Windows builds. Christof, if you have a chance, could you add this info to the externals-howto readme, if it's not already there? https://github.com/pure-data/externals-howto
On May 23, 2018, at 4:07 PM, pd-dev-request@lists.iem.at[mailto:pd-dev-request@lists.iem.at] wrote: Arf... Indeed that was my problem. I didn't define the exported function manually at linking time (using /export with the cl) but directly in the C file using PD_INTERNAL because the approach is similar to the one presented in the MSCV documentation to create dll ( https://msdn.microsoft.com/en-us/library/ms235636.aspx%5Bhttps://msdn.micros...]) and it worked pretty well until now...
Dan Wilcox @danomatika[http://twitter.com/danomatika] danomatika.com[http://danomatika.com] robotcowboy.com[http://robotcowboy.com]