Hello everyone. I've been using pd-extended for several years, and now I migrated to pd 0.48.1. I downloaded reactiVision in order to use fiducials, as always, but I can't use TuioClient object. I downloaded the TUIO package but I don't know how to include the library. It is supposed that with deken you would be able to do it, but deken can't find Tuio. Any help would be great! I am on OSX High Sierra btw...
-
TuioClient couldn't create
-
if you can not find it with deken or elsewhere to download, you can extract it from pd-extended by right click "show contents" and then you will find it there somewhere. copy the library and put it somewhere where vanilla can find it. And propably it will only work with vanilla 32bit.
-
don't know if this is what you're looking for (or what you already downloaded.)
TUIO_PureData-1.4.zip
https://sourceforge.net/projects/reactivision/files/TUIO 1.0/TUIO-Clients 1.4/
you should be able to build from source also using make.
-
Thank you Johnny. Finally I figured it out. I just downloaded de TUIO_PureData-1.4.zip extracted and added the folder inside the pd folder that is created inside user/Documents/ ... then from terminal went "cd user/Documents/Pd/externals/TUIO11_PureData-master/source" and once there typed "make pd_darwin" and it worked! thanks a lot!
-
@youaresound thanks a lot!...I didn't know how to use make command, but I read a little and it worked (important, I had to add "make pd_darwin" in order to work)
-
@teo523 I am having the same problem as you mentioned before. I cannot get pure data to recognize TUIO as objects. I have downloaded the file and have put the folder in external located within the documents folder which is the default. The README of Tuio says:
The TuioClient external comes with its full source code which can be
built under Windows, Mac OS X as well as all Linux or Unix flavors.
In order to compile the external for your platform, type "make"
folloed by "pd_linux", "pd_darwin" or "pd_nt" depending on your platform.
For convenience the Windows and Mac OS X binaries are included.but i do not understand how to do this? Any help would be lovely!
-
@Nanook2121 Your system is therefore 64-bit.
In osx or Linux you can follow what @teo523 figured out above.
In osx or Linux you can do the same and type "make pd_nt" for a windows .dll compilation, and then copy the created files over to your windows system.
In windows there are slightly more complex tools.
The easiest is probably Chocolaty.... https://stackoverflow.com/questions/32127524/how-to-install-and-use-make-in-windows
and the link will take you to https://chocolatey.org/install
Not easy to install, but once you have it installed you will be able to compile other stuff easily.
If you go the "completely offline install" route you will need to unzip a .nupkg file (something like https://www.7-zip.org/download.html where there is a standalone..... not installed version..... will do that).
David. -
@teo523 said:
cd user/Documents/Pd/externals/TUIO11_PureData-master/source
HI! Yes I was able to install chocolatey as well as make but how do I build from here? Many thanks!
-
@Nanook2121 Good. Open a powershell or cmd window, and type "choco install make" and then you can use the make command.
AArgh.
Looking at the makefile.nt it requires that the .cpp files have been compiled to .obj files before it runs.
The script seems to have been made for Microsoft Visual Studio 11.
I will try it at the weekend and post back...... a lot of learning to do.
You might succeed before me.BUT....
As you are using Windows you could run the portable (not installed) version of 32-bit Pd Extended and run TUIO in that. It will not clash with your Vanilla installation.
If you have to run Vanilla at the same time you can communicate between the twoPd's using [netsend] and [netreceive].
The Portable Extended is here........ http://puredata.info/downloads/pd-extended
The second one...... 52.7Mb (run anywhere).
Unzip it and put it where you wish...... on the Desktop? or anywhere.... even an external drive.
To use it for TUIO you need then to open pd.exe in its "bin" folder and use the terminal menu to "open" the TUIO patches.
David.