[PD] Setting Code::Blocks (MinGW64) to compile pd externals

alfonso santimone alfonso.santimone at gmail.com
Wed Sep 5 21:32:39 CEST 2018


I was just kind of joking. Better said "compiling on windows for pd and max
is a moving target". Thanks for advices i should get my way to cmake really
;-)

Il mer 5 set 2018, 16:25 alfonso santimone <alfonso.santimone at gmail.com> ha
scritto:

> Hi Christof, thanks. I'm trying to build a 64bit external for 64bit pd.
> I tried to remove pd.lib and pd.a from the linker settings and substitute
> them with pd.dll but comiplation fail because pd.dll file format is not
> recognized. I have no good knowledge of cmake. But i guess i have to study
> it. Coding for pd and max is always a moving target :-D
>
> Il 5 set 2018 15:54, "Christof Ressi" <christof.ressi at gmx.at> ha scritto:
>
> > 2. So i took pd.a form the src folder of my pd 32bit installation.
>
> > Maybe the mingw64 compiler isn't working for pd 64x on windows?
>
> are you trying to build a 64-bit external for a 64-bit Pd *or* a 32-bit
> external for a 32-bit Pd? I'm asking because you mention both 32bit and
> 64bit Pd.
>
> ---
>
> another common mistake is to make the setup function in external static,
> so it doesn't get exported.
>
> run your patch from the command line with -verbose to get more detailed
> error messages.
>
>
> Christof
>
>
> Gesendet: Mittwoch, 05. September 2018 um 15:28 Uhr
> Von: "alfonso santimone" <alfonso.santimone at gmail.com>
> An: pd-list at lists.iem.at
> Betreff: [PD] Setting Code::Blocks (MinGW64) to compile pd externals
>
> Hi all,
> i'm trying to get in my way to compile some external for pd on Win64.
> I followed a Code::Blocks configuration tutorial here (which is about
> win32 tho).
>
>
> https://www.youtube.com/watch?v=7hByIk-xXXw&index=11&list=PLn3ODBv0ka5g_zKRpmgc58-Tj-Qn-P5qz
>
> 1. It seems that the src folder for the last pd (
> http://msp.ucsd.edu/Software/pd-0.48-2-64bit.msw.zip[http://msp.ucsd.edu/Software/pd-0.48-2-64bit.msw.zip]
> ) doesn't contain pd.a no more.
>
>
> 2. So i took pd.a form the src folder of my pd 32bit installation.
>
> 3. The external (i named it "blank") compiles with no errors but when i
> try to load it in pd
> C:\\Users\\Live Machine\\Documents\\Pd\\externals\\blank\\blank.dll:
> couldn't load
>
> Maybe the mingw64 compiler isn't working for pd 64x on windows?
>
> any help appreciated!
>
> best
>
>
> www.elgallorojorecords.com[http://www.elgallorojorecords.com]
> soundcloud.com/alfonsosantimone[http://soundcloud.com/alfonsosantimone]
> <http://soundcloud.com/alfonsosantimone%5Bhttp://soundcloud.com/alfonsosantimone%5D>
>
> www.facebook.com/alfonsosantimone[http://www.facebook.com/alfonsosantimone]_______________________________________________
> <http://www.facebook.com/alfonsosantimone%5Bhttp://www.facebook.com/alfonsosantimone%5D_______________________________________________>
> Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list]
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180905/cc72ec4e/attachment.html>


More information about the Pd-list mailing list