Log in or register to post comments

QCAR::init() problem

January 29, 2014 - 3:47am #1

hello

 

I am problem with

//        NSInteger initSuccess = 0;
//        do {
//            initSuccess = QCAR::init();
//        } while (0 <= initSuccess && 100 > initSuccess);
//        
//        if (100 == initSuccess) {
//            // We can now continue the initialization of Vuforia
//            // (on the main thread)
//            NSLog(@"%i",initSuccess);
//            [self performSelectorOnMainThread:@selector(prepareAR) withObject:nil waitUntilDone:NO];
//        }
//        else {
//            // Failed to initialise QCAR
//            NSLog(@"%i",initSuccess);
//            [self.delegate onInitARDone:[self NSErrorWithCode:E_INITIALIZING_QCAR]];
//        }
one time initSuccess =0;

next time initSuccess is -1 why and how to get postive is 1 tp 100;

plese help.

 

QCAR::init() problem

January 31, 2014 - 1:12am #4

This is probably because you are calling it incorrectly.

You cannot call init() twice unless you have deinitialized Vuforia.

N

QCAR::init() problem

January 29, 2014 - 11:52pm #3

hello

when i start videoplay app QCAR::init() is initilize 0.after that i pause scaning image and again call this method when  QCAR::init() is -1

 

QCAR::init() problem

January 29, 2014 - 4:10am #2

Sorry, it is quite unclear what you are asking and what problem you are having?

I have assumed that you are talking about the latest VuforiaSamples on iOS and the initialisation code in SampleApplicationSession.mm.

What is the problem?

Have you tried stepping through it with the debugger?

 

thanks

N

 

BTW Really this belongs in the iOS forum

Log in or register to post comments