<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<pre class="moz-signature" cols="72">
</pre>
<div class="moz-cite-prefix">On 11/8/2018 10:00 AM, Joseph Larralde wrote:<br>
</div>
<blockquote type="cite" cite="mid:fb569ad1-7146-cd31-1589-76b00f7f50ec@gmail.com">
Hi Lucas,<br>
<br>
Thanks a lot for the hints !<br>
<br>
I'm curious to know how you compiled the win64 version.<br>
From what I remember, I installed msys2 and could only compile using the 32 bit version.<br>
</blockquote>
<br>
pd-lib-builder is ready to use 32 and 64 bit Pds if they are in the default location:<br>
<br>
32bit: <i>C:\Program Files (x86)\pd</i><br>
64bit: <i>C:\Program Files\pd</i><br>
If you like you can specify any other dir when calling make:<br>
<i>make PDDIR=your/path/to/pd</i><br>
<br>
On Msys2 you have to install the 64bit compiler (you probably did) :<br>
<i>pacman -S mingw64/mingw-w64-x86_64-gcc</i><br>
<br>
<blockquote type="cite" cite="mid:fb569ad1-7146-cd31-1589-76b00f7f50ec@gmail.com">
Later I added the [tonnetz] object to the library and had to add the "cflags = -std=c++11" line in the makefile<br>
in order for it to compile (because of some c++ vector initializers I introduced in my underlying c++ lib).<br>
Then I didn't push my investigations forward because ATM I was happy enough with the windows 32 bit version<br>
and had a working fat external for mac.<br>
</blockquote>
Just curious:<br>
you don't get the "<i>failed since it uses garray_getfloatarray while running 64-bit!</i>" on OSX 64bit Pd?<br>
<br>
<blockquote type="cite" cite="mid:fb569ad1-7146-cd31-1589-76b00f7f50ec@gmail.com">
<br>
That's good to know that I just need to add a "+" to the makefile to get the lib to compile for windows 64 bit,<br>
and, apparently, to get all objects to work except gbend~ (if I understood correctly what you implied).<br>
</blockquote>
<br>
I opened "jl-objects.pd" and all objects get created, then i started testing at random and when I opened "gbend~" help I spotted the error in the console.<br>
<br>
<blockquote type="cite" cite="mid:fb569ad1-7146-cd31-1589-76b00f7f50ec@gmail.com">
<br>
I'll try the changes that you suggested.<br>
I hope I won't have to rewrite a part of my underlying lib's API.<br>
If one can just cast a t_word into a float or a double, things should go smoothly.<br>
</blockquote>
<br>
I wish I could help you more but C code is not for me yet.<br>
<br>
<blockquote type="cite" cite="mid:fb569ad1-7146-cd31-1589-76b00f7f50ec@gmail.com">
<br>
Cheers,<br>
Joseph<br>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Mensaje telepatico asistido por maquinas.</pre>
<br>
</body>
</html>