<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
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>
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>
<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>
<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>
<br>
Cheers,<br>
Joseph<br>
<br>
<div class="moz-cite-prefix">Le 08/11/18 à 09:45,
<a class="moz-txt-link-abbreviated" href="mailto:pd-list-request@lists.iem.at">pd-list-request@lists.iem.at</a> a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:mailman.113.1541666733.1421.pd-list@lists.iem.at">
<pre wrap="">Date: Thu, 8 Nov 2018 08:10:20 +0000
From: Lucas Cordiviola <a class="moz-txt-link-rfc2396E" href="mailto:lucarda27@hotmail.com" moz-do-not-send="true"><lucarda27@hotmail.com></a>
To: <a class="moz-txt-link-rfc2396E" href="mailto:pd-list@iem.at" moz-do-not-send="true">"pd-list@iem.at"</a> <a class="moz-txt-link-rfc2396E" href="mailto:pd-list@iem.at" moz-do-not-send="true"><pd-list@iem.at></a>, PD ANNOUNCE
<a class="moz-txt-link-rfc2396E" href="mailto:pd-announce@iem.at" moz-do-not-send="true"><pd-announce@iem.at></a>
Subject: Re: [PD] [PD-announce] jl lib
Message-ID:
<a class="moz-txt-link-rfc2396E" href="mailto:BN3PR01MB195634EA43279FC18018FF97A6C50@BN3PR01MB1956.prod.exchangelabs.com" moz-do-not-send="true"><BN3PR01MB195634EA43279FC18018FF97A6C50@BN3PR01MB1956.prod.exchangelabs.com></a>
Content-Type: text/plain; charset="utf-8"
On 11/7/2018 1:07 PM, Joseph Larralde wrote:
I'd be glad to hear any kind of feedback if you give it a try.
Hi Joseph,
Some feedback:
I tried compiling the .dek sources for windows64bit and found trouble and solution:
On "Makefile" line 69 I changed "=" to "+=" :
cflags = -std=c++11
to
cflags += -std=c++11
Now all objects compile fine.
Now when I open "gbend~-help.pd" i get this error on the console:
An operation on the array 'flatten-table' in the patch 'flatten-table'
failed since it uses garray_getfloatarray while running 64-bit!
An operation on the array 'aaa' in the patch 'aaa'
failed since it uses garray_getfloatarray while running 64-bit!
I think this is somehow the same problem that happened to CXC and there is a debian patch file (attached) that might give you clues on how to fix it. i.e:
- float *x_vec;
+ t_word *x_vec;
- else if (!garray_getfloatarray(a, &x->x_nsampsintab, &x->x_vec))
+ else if (!garray_getfloatwords(a, &x->x_nsampsintab, &x->x_vec))
<span class="moz-smiley-s1" title=":)"><span>:)</span></span>
Mensaje telepatico asistido por maquinas.
</pre>
</blockquote>
<br>
</body>
</html>