Page 1 of 1

CAMERALIBRARY_IMPORTS option

Posted: Sun Dec 19, 2010 10:23 pm
by Ushikubo Tomohiro
Hi.

I'm using V100:R2 Camera and OptiTrack Camera SDK.1.0.0.Final, and CameraList sample program.

CAMERALIBRARY_IMPORTS option is set in default debug build, and it isn't set in release build.

When CAMERALIBRARY_IMPORTS option isn't set, CameraList sample program break down.

i) Why the program doesn't run, when CAMERALIBRARY_IMPORTS option isn't set.

ii) Is there a difference at the execution speed between CAMERALIBRARY_IMPORTS option is set or not.

Thanks.

Re: CAMERALIBRARY_IMPORTS option

Posted: Mon Dec 20, 2010 3:25 pm
by beckdo
CAMERALIBRARY_IMPORTS should always be defined because the CameraLibrary is distributed as a DLL, so it's symbols must be imported regardless of the target.

I will fix this issue with the CameraList sample application.