Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
jakash6890
jakash6890's Profile
1
Posts
3
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
expecting EOF, found 'import'
[7 Replies]
19-Nov-2012 03:20 AM
Forum:
Contributed Library Questions
hi everyone
i am new to process and i am having this issue here
here's my code
--------------------------------------------------------------------------------------
/* --------------------------------------------------------------------------
** BUILD ON TOP OF SIMPLE OPENNI by MAX RHEINER
*/
import SimpleOpenNI.*;
void setupNI()
{
dat.context = new SimpleOpenNI(this, SimpleOpenNI.RUN_MODE_MULTI_THREADED);
// recording
// enable depthMap generation
if (dat.context.enableDepth() == false)
{
println("Can't open the depthMap, maybe the camera is not connected!");
exit();
return;
}
// enable ir generation
if (dat.context.enableRGB() == false)
{
println("Can't open the rgbMap, maybe the camera is not connected or there is no rgbSensor!");
exit();
return;
}
dat.context.enableUser(SimpleOpenNI.SKEL_PROFILE_ALL);
// enable the scene, to get the floor
dat.context.enableScene();
dat.context.alternativeViewPointDepthToImage();
}
--------------------------------------------------------------------------------------
error :
expecting EOF, found 'import'
thanx
«Prev
Next »
Moderate user : jakash6890
Forum