Error importing Ketai Library

I have been using this library now for a while, and have had issues using it like the other libraries I download. Normally I just download the library add it to the libraries folder make sure the names match and it works, or I use the built in libraries addon manager in processing and again very straightforward. However this one is giving me a bit of grief, and I have to resort to adding it to the code folder of a sketch folder, meaning I always have to save the sketch first. Am I the only one experiencing this?

image

import ketai.*;

void setup(){
  
};

void draw(){
  
};

Hello,

I get the same error with your example.

It DOES work with all the Ketai examples that come with the library.

Take a look at those for examples.

:)

1 Like

Thanks I’ll go take a look.

quick update finally got this working by simply making use of the import sketch function in processing. Seems obvious now, but I thought I could just type in import ketai; for it to work.

Choosing this route processing will populate the sketch with all the requirements which in this case turned out to be

import ketai.camera.*;
import ketai.cv.facedetector.*;
import ketai.data.*;
import ketai.net.*;
import ketai.net.bluetooth.*;
import ketai.net.nfc.*;
import ketai.net.nfc.record.*;
import ketai.net.wifidirect.*;
import ketai.sensors.*;
import ketai.ui.*;

Having seen a lot of similar issues on the forum and stack overflow, with nothing that clearly identifies the problem I just thought I’d update my findings.

1 Like

this is android version