I managed to merge portVideo library (newest version from reactable 1.3 and portVideo 0.3). I added directory structure and merged portVideo source code to SVN.

Here is a portVideo example compilation on Linux , Mac OS X (Tiger & Leopard) and Windows XP:

How to for Linux users (Ubuntu 7.04)

  1. Install necessary libraries

    sudo apt-get install libsdl1.2-dev libsdl1.2debian
    sudo apt-get install libraw1394-8 libraw1394-dev
    sudo apt-get install libdc1394-13 libdc1394-dev

  2. Build example using make from linux directory.
  3. Run portVideoSDL output file.

How to for Mac OS X users

  1. Download SDL framework (SDL Runtime library for Mac OS X) from SDL web page.
  2. Put SDL.framework in /Library/Frameworks or in ~/Library/Frameworks.
  3. Open Xcode Project from macosx directory.
  4. Build and go.

How to for Windows users

  1. SDL is already provided as lib.
  2. All you have to do is compile portVideo using Visual Studio 2003 or 2005 project from win32 directory.

Happy compiling :-)



7 Responses to “OpenTouch progress report #2 - portVideo, how to compile example”  

  1. 1 Pierre-Jean Coudert

    Thanks for the report !

  2. 2 dzhibas

    hi Pawel,

    i have two errors when compiling portVideo. Build output is here:
    http://img520.imageshack.us/img520/3191/picture1fg9.png

    I think that first error with Jam is because im using newer version of Xcode, the second maybe because you using one header file from outside your project:

    /Users/mkalten/Desktop/Work/reacTable/visionEngineNT/common/cameraEngine.h

    this is only my guess cause im new with xcode and osx.

    Xcode ver. 2.4 , MacOSX 10.4.10

    maybe you have some ideas,
    thank you

  3. 3 dzhibas

    problem with SFont.c/h fixed. Seems that when Xcode converted project to new version, SFont wasn’t included into it.

    problems left: getCamera function, and camera_rect var, and also with Jam

  4. 4 dzhibas

    sorry for spamming your blog post :) i’v commented out
    void portVideoSDL::showError(const char* error) lines where getCamera() and camera_rect is using, and everything works fine.

    thank you !
    best regards from Lithuania ! :)

  5. 5 Kamelisko

    Hello

    I got excamples to work except the BlobDetectionTest which complains to miss some source files

    I wonder what kind of data the test applications send?

    And how can i get the quarz composer to recieve the data. It says these errors:

    > Macro Patch
    Cannot create node of class “TuioClient” and identifier “(null)”

    > Macro Patch
    Cannot create connection from ["outputX" @ "TuioClient_1"] to ["inputPositionX" @ "ParticleSystem_1"]

    > Macro Patch
    Cannot create connection from ["outputY" @ "TuioClient_1"] to ["inputPositionY" @ "ParticleSystem_1"]

    > (null)
    State restoration failed on

    i’m really interested of this system. I think you should develop a app which integrates as a preferences panel to OSX and the settings can be adjusted there. Also a icon to upper status bar which in can the blob detection turned on and off (because of the amount of processing power it takes)

    I would do these things by myself but I really have no time to learn programming. I could make the graphics if you need some…

  6. 6 funa

    hi! Pawel,
    It is a very wonderful project!!

    I tested portVideoBlobDitection.proj
    but,memory leake increases….

    thanks!

    MacBook 2GHz 2GB OSX10.4.9
    XCode2.4.1

  7. 7 Grovenstien

    Hi Pawel,

    This thing is a bit unwealdy but awsome none the less, I have managed to compile the x code projects but a few problems persist!

    Anyway keep up the good work because your inspiring the world!

Leave a Reply