CAMERALIBRARY_IMPORTS option

Post Reply
Ushikubo Tomohiro
Posts: 46
Joined: Thu Oct 21, 2010 2:02 am
Location: Japan

CAMERALIBRARY_IMPORTS option

Post 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.
beckdo
Posts: 520
Joined: Tue Jan 02, 2007 2:02 pm

Re: CAMERALIBRARY_IMPORTS option

Post 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.
Post Reply