Actually, I think all you have to do to resolve this error is change' 0' in line 243 of gendy~.cpp to '0.0', or put '(float)' --- or more properly '(gendysamp_t)' --- in front of it. I.e. line 243 should read:
(*display_buf)[n++]= (gendy_t)0.0;
You might keep getting related compiler errors, though until you match the author's specific build setup.
On 10/17/2017 7:49 PM, Pagano, Patrick wrote:
the code requires that Flext be used to create it so you basically run
Flext/build.sh pd gcc and it should spit out a working gendy~.pd_linux
i will see about an alternative gcc.
thanks for the input
Patrick
Patrick Pagano B.S, M.F.A
/Assistant Professor in Residence/
/Digital Media & Design /
/Web & Interactive Technologies/
/University of Connecticut, Stamford/
/(352)-226-2016/
*From:* Pd-list pd-list-bounces@lists.iem.at on behalf of David Medine dmedine@ucsd.edu *Sent:* Tuesday, October 17, 2017 11:12:57 AM *To:* pd-list@lists.iem.at *Subject:* Re: [PD] Compiling gendy~.pd_linux Gendy looks neat, but there is no makefile or anything? Probably CMake to generate a makefile for the library itself, then just a modified Pd extern makefile (the generated library will have to be linked) will do the job.
As per your error below, it looks like you need to compile with a more or less modern version of gpp. CMake might relieve a lot of pain here as well. Basically, the code is asking to use the copy operator (operator=) to copy an integer into a t_word. I guess different compilers and OSs will have different definitions for these types, and it has to line up, or else the source code will need to be changed.
FWIW, the source code shouldn't do this. It is bad style to type-pun with an (overloaded?) operator (because you can get compiler errors!). I would report this directly to the author on github. He might be very interested in this.
On 10/17/2017 4:45 PM, Pagano, Patrick wrote:
Hi
I am also interested in compiling gedny~.pd_linux
http://ssfrr.com/projects/gendy/
SSFRR – gendy~ http://ssfrr.com/projects/gendy/ ssfrr.com gendy~ is a C++ library and external for PD and Max/ MSP to implement a variant of Dynamic Stochastic Synthesis, a technique developed by Iannis Xenakis.
I have successfully bootstrapped FLEXT but when i run it i get an error that is beyond my skill
here is the error i get
I have reached out to Spencer but he's probably too busy to revisit this old project code but for me Xenakis is a priority for sound design :-)
please take a look!! thanks
/home/pi/Downloads/pd-0.47-1/src/m_pd.h:151:15: note: no known conversion for - Pastebin.com https://pastebin.com/Mbj9xhRR pastebin.com
Patrick Pagano B.S, M.F.A
/Assistant Professor in Residence/
/Digital Media & Design /
/Web & Interactive Technologies/
/University of Connecticut, Stamford/
/(352)-226-2016/
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list