Hi,
I'm getting errors when linking a custom external in mingw in a cross compile environment on linux. I'm getting a bunch of
undefined reference to `__imp__post' and similar, all referencing pd's builtin functions.
Adding "pd.lib" and "pd.dll" (extracted from the windows installation zip from Miller's site) to the ld command doesn't work (they don't seem to contain the required code). In this YouTube video of 2016 (https://www.youtube.com/watch?v=7hByIk-xXXw) a file called pd.a is mentioned which I can't find in the zip file.
Does anyone know what to do or where I can find it?
-- Orm
Hi,
Are you using pd-lib-builder?
If not you should try it.
make PDDIR=path/to/your/extracted/pd-zip
(mingw should read all the symbols in pd.dll)
--
Mensaje telepatico asistido por maquinas.
On 8/11/2021 9:02 AM, Orm Finnendahl wrote:
Hi,
I'm getting errors when linking a custom external in mingw in a cross compile environment on linux. I'm getting a bunch of
undefined reference to `__imp__post' and similar, all referencing pd's builtin functions.
Adding "pd.lib" and "pd.dll" (extracted from the windows installation zip from Miller's site) to the ld command doesn't work (they don't seem to contain the required code). In this YouTube video of 2016 (https://www.youtube.com/watch?v=7hByIk-xXXw) a file called pd.a is mentioned which I can't find in the zip file.
Does anyone know what to do or where I can find it?
-- Orm
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
I forgot one thing about pd-lib-builder:
make PLATFORM=i686-w64-mingw32 PDDIR=path/to/your/extracted/pd-zip
https://github.com/pure-data/pd-lib-builder/blob/master/tips-tricks.md
--
Mensaje telepatico asistido por maquinas.
On 8/11/2021 9:36 AM, Lucas Cordiviola wrote:
Hi,
Are you using pd-lib-builder?
If not you should try it.
make PDDIR=path/to/your/extracted/pd-zip
(mingw should read all the symbols in pd.dll)
--
Mensaje telepatico asistido por maquinas.
On 8/11/2021 9:02 AM, Orm Finnendahl wrote:
Hi,
I'm getting errors when linking a custom external in mingw in a cross compile environment on linux. I'm getting a bunch of
undefined reference to `__imp__post' and similar, all referencing pd's builtin functions.
Adding "pd.lib" and "pd.dll" (extracted from the windows installation zip from Miller's site) to the ld command doesn't work (they don't seem to contain the required code). In this YouTube video of 2016 (https://www.youtube.com/watch?v=7hByIk-xXXw) a file called pd.a is mentioned which I can't find in the zip file.
Does anyone know what to do or where I can find it?
-- Orm
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Hi Lucas,
Am Mittwoch, den 11. August 2021 um 09:47:22 Uhr (-0300) schrieb Lucas Cordiviola:
I forgot one thing about pd-lib-builder:
make PLATFORM=i686-w64-mingw32 PDDIR=path/to/your/extracted/pd-zip
https://github.com/pure-data/pd-lib-builder/blob/master/tips-tricks.md
thanks. I had already figured that out and also had to download and add the wsock32.dll, but it worked like a charm.
Thanks again, you made my day!!!
Best, Orm