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=PLn3ODBv0k...
http://msp.ucsd.edu/Software/pd-0.48-2-64bit.msw.zip ) doesn't contain pd.a no more.
So i took pd.a form the src folder of my pd 32bit installation.
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 soundcloud.com/alfonsosantimone www.facebook.com/alfonsosantimone
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@gmail.com An: pd-list@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=PLn3ODBv0k...
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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/l...]
- 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@gmail.com An: pd-list@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=PLn3ODBv0k...
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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/l...]
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@gmx.at ha scritto:
- 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@gmail.com An: pd-list@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=PLn3ODBv0k...
http://msp.ucsd.edu/Software/pd-0.48-2-64bit.msw.zip%5Bhttp://msp.ucsd.edu/S...] ) doesn't contain pd.a no more.
So i took pd.a form the src folder of my pd 32bit installation.
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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/l...]
On 2018-09-05 16:25, alfonso santimone wrote:
I have no good knowledge of cmake.
to repeat christophs advice:
in your case I'd strongly suggest to use the pd-lib-builder makefile template: https://github.com/pure-data/pd-lib-builder
Coding for pd and max is always a moving target :-D
that's a bit far-fetched for an API that has been pretty stable for about 20 years.
fgasmkdr IOhannes
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@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@gmx.at ha scritto:
- 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@gmail.com An: pd-list@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=PLn3ODBv0k...
- It seems that the src folder for the last pd (
http://msp.ucsd.edu/Software/pd-0.48-2-64bit.msw.zip%5Bhttp://msp.ucsd.edu/S...] ) doesn't contain pd.a no more.
So i took pd.a form the src folder of my pd 32bit installation.
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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/l...]