Cannot find anything named "quicktime"

Hi,Everyone! Sorry annoying . I'm very new in Processing.

I'm just triyng use flob library.So when I RUN the code. it doesn't work. My pc is win. 7 64.

The error is:

quicktime.QTSession.open(); ((((((((((CANNOT FIND ANYTHING NAMED "QUICKTIME")))))))))

How to solve this? Thanks!

Answers

  • Answer ✓

    Before accessing a variable, it gotta exist 1st! So we need to declare it!
    And we can't directly link images residing in our own desktops.
    They need to come from some internet server!

  • GoToLoop, How can I do this? Could you please be more specific ?I'm totally a beginner!

  • edited June 2015
    • Variable declaration in Java is when we specify its type in the statement.
    • For example int num; declares a variable called num of type int.
    • We can also declare and assign a value at the same time: int num = 10;.
    • Once we have a variable declared, we use it w/o re-declaring it: println(num);.

    More about variables and the their classification as fields, local & parameters:
    http://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html

  • GoToLoop, Thanks again for the help! I tried to read and try understing as well. But it's really hard right now! Could you tell me exactly what I should do to this work?Maybe some exemples?

  • edited June 2015

    I dunno that library and you haven't posted enough code to work with!
    Your description seems to allude that the compiler couldn't find a variable called quicktime.
    And I've already explained how that error can happen.

  • edited June 2015

    Ops

  • Sorry, I can show you.

  • (Jesus! I will learn...promisse!)

    Sorry again! Is it possible check out my problem?

  • edited June 2015

    Screenshots are far from an ideal way for "posting" code. It's too blurred!
    But as far as I can see it, I couldn't spot where some variable called quicktime was supposedly declared, much less initialized! /:)

  • :( I dont know what to do!

  • Variable declaration is the most basic knowledge in programming.
    We simply must know how to do it! ~O)

    About 3rd-party libraries, we have to look up their API reference in order to know how to use them! :-B

  • edited August 2015

    Hi both of you and everyone, I have the same problem than Paulo. I write a part of the code with which I'm working on. If someone have information, it could be really helping. Thanks

    int m = 0;  
    int im = 0;
    float h=0;
    int counter = 0;
    Capture video;
    Flob flob; 
    ArrayList blobs;
    PImage pal;
    int px, py; 
    color pix;
    randomShape rs;
    
    int tresh = 20;       
    int fade = 25;
    int om = 1;
    int videores=128;
    boolean drawimg=false; 
    String info="";
    PFont font;
    float fps = 60;
    int videotex = 0; 
    
    Botao b1;
    
    
    void setup(){
      background(255);
    
      array = new Bubble[ maxNum ];
      try { 
        quicktime.QTSession.open(); 
      } 
      catch (quicktime.QTException qte) { 
        qte.printStackTrace(); 
      }
    
  • Note: you must install QuickTime, too...

Sign In or Register to comment.