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

Christof Ressi christof.ressi at gmx.at
Wed Sep 5 15:46:03 CEST 2018


when using MinGW, the only thing you need to build a plugin for Pd is m_pd.h and pd.dll (this is because gcc can directly link against DLLs, with MSVC you would also need the pd.lib import library).

in your case I'd strongly suggest to use the pd-lib-builder makefile template: https://github.com/pure-data/pd-lib-builder

also, you don't really need an IDE. just write your code in your favourite text editor and compile on the command line.

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]
www.facebook.com/alfonsosantimone[http://www.facebook.com/alfonsosantimone]_______________________________________________ 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]




More information about the Pd-list mailing list