<div dir="auto">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 ;-) </div><br><div class="gmail_quote"><div dir="ltr">Il mer 5 set 2018, 16:25 alfonso santimone <<a href="mailto:alfonso.santimone@gmail.com">alfonso.santimone@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hi Christof, thanks. I'm trying to build a 64bit external for 64bit pd.<div dir="auto">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</div></div><div class="gmail_extra"><br><div class="gmail_quote">Il 5 set 2018 15:54, "Christof Ressi" <<a href="mailto:christof.ressi@gmx.at" target="_blank" rel="noreferrer">christof.ressi@gmx.at</a>> ha scritto:<br type="attribution"><blockquote class="m_8676688037999414579quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_8676688037999414579quoted-text">> 2. So i took pd.a form the src folder of my pd 32bit installation.<br>
<br>
> Maybe the mingw64 compiler isn't working for pd 64x on windows?<br>
<br></div>
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.<br>
<br>
---<br>
<br>
another common mistake is to make the setup function in external static, so it doesn't get exported.<br>
<br>
run your patch from the command line with -verbose to get more detailed error messages.<div class="m_8676688037999414579quoted-text"><br>
<br>
Christof <br>
 <br>
<br>
Gesendet: Mittwoch, 05. September 2018 um 15:28 Uhr<br>
Von: "alfonso santimone" <<a href="mailto:alfonso.santimone@gmail.com" rel="noreferrer noreferrer" target="_blank">alfonso.santimone@gmail.com</a>><br>
An: <a href="mailto:pd-list@lists.iem.at" rel="noreferrer noreferrer" target="_blank">pd-list@lists.iem.at</a><br>
Betreff: [PD] Setting Code::Blocks (MinGW64) to compile pd externals<br>
<br>
Hi all,<br>
i'm trying to get in my way to compile some external for pd on Win64.<br>
I followed a Code::Blocks configuration tutorial here (which is about win32 tho).<br>
 <br>
<a href="https://www.youtube.com/watch?v=7hByIk-xXXw&index=11&list=PLn3ODBv0ka5g_zKRpmgc58-Tj-Qn-P5qz" rel="noreferrer noreferrer noreferrer" target="_blank">https://www.youtube.com/watch?v=7hByIk-xXXw&index=11&list=PLn3ODBv0ka5g_zKRpmgc58-Tj-Qn-P5qz</a><br>
 <br></div>
1. It seems that the src folder for the last pd ( <a href="http://msp.ucsd.edu/Software/pd-0.48-2-64bit.msw.zip%5Bhttp://msp.ucsd.edu/Software/pd-0.48-2-64bit.msw.zip%5D" rel="noreferrer noreferrer noreferrer" target="_blank">http://msp.ucsd.edu/Software/pd-0.48-2-64bit.msw.zip[http://msp.ucsd.edu/Software/pd-0.48-2-64bit.msw.zip]</a> ) doesn't contain pd.a no more.<div class="m_8676688037999414579quoted-text"><br>
 <br>
2. So i took pd.a form the src folder of my pd 32bit installation.<br>
 <br>
3. The external (i named it "blank") compiles with no errors but when i try to load it in pd <br>
C:\\Users\\Live Machine\\Documents\\Pd\\externals\\blank\\blank.dll: couldn't load<br>
 <br>
Maybe the mingw64 compiler isn't working for pd 64x on windows?<br>
 <br>
any help appreciated!<br>
 <br>
best<br>
 <br>
<br>
</div><div class="m_8676688037999414579elided-text"><a href="http://www.elgallorojorecords.com" rel="noreferrer noreferrer noreferrer" target="_blank">www.elgallorojorecords.com</a>[<a href="http://www.elgallorojorecords.com" rel="noreferrer noreferrer noreferrer" target="_blank">http://www.elgallorojorecords.com</a>]<br>
<a href="http://soundcloud.com/alfonsosantimone%5Bhttp://soundcloud.com/alfonsosantimone%5D" rel="noreferrer noreferrer noreferrer" target="_blank">soundcloud.com/alfonsosantimone[http://soundcloud.com/alfonsosantimone]</a><br>
<a href="http://www.facebook.com/alfonsosantimone%5Bhttp://www.facebook.com/alfonsosantimone%5D_______________________________________________" rel="noreferrer noreferrer noreferrer" target="_blank">www.facebook.com/alfonsosantimone[http://www.facebook.com/alfonsosantimone]_______________________________________________</a> <a href="mailto:Pd-list@lists.iem.at" rel="noreferrer noreferrer" target="_blank">Pd-list@lists.iem.at</a> mailing list UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/listinfo/pd-list%5D" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list]</a><br>
</div></blockquote></div><br></div>
</blockquote></div>