After a bit of forum hunting and fiddling I may have found out how to set up VS2012 on 64bit machine to play with a V120:SLIM:
To code add:
#include "cameralibrary.h"
using namespace CameraLibrary;
Solution properties:
C/C++>General>Additional Include Directories - add ...\Camera SDK\include
C/C++>Preprocessor>Preprocessor Definitions - add CAMERALIBRARY_IMPORTS
Linker>General>Additional Library Directories - add ...\Camera SDK\lib
Linker>Input>Additional Dependencies - add CameraLibrary2010x64S.lib
Ten add the .dll that corresponds to the CameraLibrary20..x....lib above, to the project folder or the build folder (I forget which, or maybe both was required...)
Questions:
~What do the S and D suffixes refer to in the cameralibrary/lib files?
~I tried S and it worked... I'm using Visual Studio 2012 but is there a CameraLibrary2012x64S.lib ? (or upcoming 2015... considering...)
~I'd like to know I'm going about things optimally so in the absence of just trying them, how do I find out what they are or what to do?
~In terms of project setup and SDK/library access am I doing things optimally?
*************************************************************************************
Next up, I'm compiling now, but am getting the following warnings:
Code: Select all
1>c:\program files (x86)\optitrack\camera sdk\include\cameramanager.h(241): warning C4251: 'CameraLibrary::CameraEntry::mUID' : class 'Core::cUID' needs to have dll-interface to be used by clients of class 'CameraLibrary::CameraEntry'
1> c:\program files (x86)\optitrack\camera sdk\include\Core/UID.h(26) : see declaration of 'Core::cUID'
1>c:\program files (x86)\optitrack\camera sdk\include\healthmonitor.h(37): warning C4251: 'CameraLibrary::cHealthItem::ID' : class 'Core::cUID' needs to have dll-interface to be used by clients of class 'CameraLibrary::cHealthItem'
1> c:\program files (x86)\optitrack\camera sdk\include\Core/UID.h(26) : see declaration of 'Core::cUID'
Is this something I can ignore?
At the least It'd be nice to unclutter my build output - can I fix this?
Quite a few questions, but they're all related - thanks for any input