<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">OK, it seems that GF is a powerfull tool. But why there is no basic tutorial for beginner to install it ?<DIV>Because :</DIV><UL><LI style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" color="#3A669A" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"><B>1</B></SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> : Install Ruby. Make sure it contains </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">ruby.h</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> and </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">intern.h</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> and related files. It's also recommended to have </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">libruby.so</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;">. Those extra files may be in a package called </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">ruby-dev</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> if you are using RPM or DEB/FINK. If you are building Ruby yourself, it's better to configure ruby with </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">--enable-shared</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;">, else you won't have libruby.so (but you will still have libruby.a). If you need to have two Rubies at once, for example Ruby 1.8 for running Rails and Ruby 1.9 for running GridFlow, you may build Ruby 1.9 with the option </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">--program-suffix=19</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> which will help distinguish the two Rubies. It's also possible to have two Rubies installed without that option, but it might be complicated. If you install into a system directory, you may have to run </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">ldconfig</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> after installing Ruby.</SPAN></FONT></LI><LI style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" color="#3A669A" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"><B>2</B></SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> : Download GridFlow from the website and uncompress it, or get it from the CVS server.</SPAN></FONT></LI><LI style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" color="#3A669A" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"><B>3</B></SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> : Run </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">./configure</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> from the </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">gridflow</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> directory. Make sure it detects all the components you want to use with GridFlow. If your OS is Debian or Ubuntu you would run </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">ruby1.9 configure</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> instead so that it doesn't use ruby 1.8. In MacOS you would normally use FINK to install those extra components: </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">libjpeg libjpeg-shlibs libpng-shlibs libpng3 libpng3-shlibs libmpeg libmpeg-shlibs</SPAN></FONT></LI><LI style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" color="#3A669A" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"><B>4</B></SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> : Note: you may have to set </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">CPLUS_INCLUDE_PATH</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> to indicate where to find *.h files, and you may have to set both </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">LIBRARY_PATH</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> and </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">LD_LIBRARY_PATH</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> to indicate where to find *.so or *.aor *.dylib or *.bundle or *.dll or *.lib files.</SPAN></FONT></LI><LI style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" color="#3A669A" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"><B>5</B></SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> : Note: you can do </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">./configure --help</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> to get a list of supported options. You can use them to ignore the presence of troublesome libraries and select debugging level. With </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">--use-compiler</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> you should use a version of </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">g++</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;">, not directly a version of </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">gcc</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;">, else you get </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">undefined symbol</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> problems. Some versions of gcc/g++ are troublesome.</SPAN></FONT></LI><LI style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" color="#3A669A" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"><B>6</B></SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> : Run </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">make</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> to produce the executables </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">gridflow.so</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> and </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">gridflow.pd_linux</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> or similar</SPAN></FONT></LI><LI style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" color="#3A669A" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"><B>7</B></SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> : With a text editor, create </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">~/.gridflow_startup</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> and write something like </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">GridFlow.data_path &lt;&lt; "/pd/extra/gridflow/images"</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> to tell GridFlow where to find additional folders containing images or movies you want to use with GridFlow.</SPAN></FONT></LI><LI style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" color="#3A669A" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"><B>8</B></SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> : Ltilib (optional, linux only): The LTI-Lib is an object oriented library with algorithms and data structures frequently used in image processing and computer vision.</SPAN></FONT></LI><UL><LI style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" color="#3A669A" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"><B>1</B></SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> : Download and install ltilib version 1.9.15 from <A href="http://ltilib.sourceforge.net">http://ltilib.sourceforge.net</A>/</SPAN></FONT></LI><LI style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" color="#3A669A" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"><B>2</B></SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> : in optional/rblti do: </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">make</SPAN></FONT></LI></UL><LI style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" color="#3A669A" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"><B>9</B></SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> : Loading GridFlow:</SPAN></FONT></LI><UL><LI style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" color="#3A669A" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"><B>1</B></SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> : PureData : With a text editor, modify or create </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">~/.pdrc</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> and write </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">-lib gridflow</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;">.</SPAN></FONT></LI><LI style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" color="#3A669A" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"><B>2</B></SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> : ImpureData : In the ".pdrc editor", add </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">gridflow</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> to the list of libraries.</SPAN></FONT></LI><LI style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" color="#3A669A" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"><B>3</B></SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> : plain Ruby : the command </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">require "gridflow"</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> will load gridflow.so.</SPAN></FONT></LI></UL><LI style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;">Note that on MacOS the dot-files are invisible in the Finder but you do </SPAN></FONT><FONT class="Apple-style-span" color="#1D7777" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">cd ~/Desktop; ln -s ../.pdrc "PureData Configuration"</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> to make an alias on the Desktop. Note also that on Windows the dot-files are even more trouble.</SPAN></FONT></LI></UL><DIV>1) Where to DL Ruby and how to install it (macosx) ?</DIV><DIV>2) OK</DIV><DIV>3) With Macosx, how to use Fink (what we do with it ?) what can we do with Fink to configure GF ?</DIV><DIV>4) Set CPLUS_INCLUDE_PATH : where is it and what is it ? Where to find *.h files : where is it ans what is it ?  And you may have to set both LIBRARY_PATH and LD_LIBRARY_PATH : where is it and what is it ? To indicate where to find *.so or *.aor *.dylib or *.bundle or *.dll or *.lib files : idem ?</DIV><DIV>5) It's like chinese langage for me.</DIV><DIV>6) OK</DIV><DIV>7) And we save it on the desktop ?</DIV><DIV>8) For linux only (equivalent for OSX ?)</DIV><DIV>9) OK</DIV><DIV>Note) On MacOS the dot-files are invisible in the Finder : are you sure ?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I think a clear documentation is good for people like me. Then we could install GF without problem. This would multiply the chances to have GF by 10 ? ;). </DIV><DIV>Why GF is not include with pd-extended ?</DIV><DIV>Thanx for your answer.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Jack</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>Le 8 déc. 07 à 21:30, Mathieu Bouchard a écrit :</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On Sat, 8 Dec 2007, Roman Haefeli wrote:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">i wouldn't say that gridflow is only for expert people, but yes, there is a lot to learn, when learning gridflow. and learning it is very interesting. i don't have an academical/mathematical background and for me gridflow is one of these tools, that help me understand theories, that i wouldn't have a chance to understand whithout seeing them implemented and working. this applies also very much to pd, i think. would you consider pd to be a tool only for dsp experts and academic musicians?</DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Exactly. GridFlow is designed like Pd is, while GEM and PDP both try to hide much more about video and other data types, than what Pd ever hides. (One hides less, by allowing lots of data converters and data operations in a way that you can access the data the way you want, instead of having to rely solely on readymades)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space"> </SPAN>_ _ __ ___ _____ ________ _____________ _____________________ ...</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada</DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>