[PD] [PD-dev] Cross Compiling External for Windows - Problem

Patrice Colet colet.patrice at free.fr
Fri Aug 10 23:20:53 CEST 2012

> De: "Thomas Mayer" <thomas at residuum.org>
> À: "Patrice Colet" <colet.patrice at free.fr>, pd-dev at iem.at
> Envoyé: Vendredi 10 Août 2012 21:01:52
> Objet: Re: [PD-dev] Cross Compiling External for Windows - Problem
> Hi,
> On 10.08.2012 11:20, Patrice Colet wrote:
> > Hello, I'm afraid the work to be made isn't in the Makefile but in
> > source files,
> > 
> > did you give a try with this:
> > 
> > http://readlist.com/lists/lists.sourceforge.net/mingw-users/1/9807.html
> I don't think, this is the problem: There is no MSVC involved in the
> entire toolchain, but only gcc on Linux, partly using MXE for cross
> compilation on Linux.

 the mail reply says how MSVC is involved, 

"int _get_output_format( void ); is a standard MSVC function"


the problem is certainly because stdlib is different on windows, for exemple vasprintf() is missing,
you have to provide it into the sources, like we have done on gridflow, or provide another function.

gcc seems to try mscv's _get_output_format() for resolving it without success...

Another thing, I've used s_list in an external that compiles fine with g++ linking and declspec embedding...

can you post all the compile process, and what is your linker?

More information about the Pd-list mailing list