I'm trying to compile a FAUST dsp file to VST for Win64 Plogue Bidule as
the host.  This worked fine before I upgraded to Monterey and reinstalled
MacPorts.

Using faust2faustvst on my Mac produces a VST that works fine in Bidule on
my Mac (Intel processor).

Using faust2w64vst on MacOS, produces a VST DLL that results in an Error
126 when Bidule on Win64 tries to load it (calls "LoadLibrary").  The
online Faust compiler produces a DLL that loads without error.

Looking at the two DLLs in a Win64 dependencies checker (dependancies.exe),
I see that the one compiled on my Mac needs libwinpthread-1.dll and the one
compiled online does not.  Note that the dependency checker stops at the
first missing file, so there may be others.

I'm using mingw-w64 version 10.0.0 from MacPorts as the cross-compiler
toolchain on my Mac, which includes gcc version 12.2. What version of mingw
does the online compiler use?  Ubuntu 22.04LTS (jammy) uses mingw-w64
8.0.0.

I'll note that when linking, I get the warning:
  x86_64-w64-mingw32-dllwrap: WARNING: x86_64-w64-mingw32-dllwrap is
deprecated, use gcc -shared or ld -shared instead
Simply substituting "ld -shared" for dllwrap results in the error:
  x86_64-w64-mingw32-ld: unrecognized option '--target=x86_64-w64-mingw32'

Looks like a pretty mature port
   https://ports.macports.org/port/mingw-w64/details/

Thanks for any help with this...

Aaron Heller
Menlo Park, CA  US
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to