Page 1 of 1

please document CAMERALIBRARY_IMPORTS

Posted: Tue Jan 24, 2012 11:46 am
by umlaeute
it took me days to figure out that i have to define CAMERALIBRARY_IMPORTS when linking against cameralibrary.dll

this define is well hidden in the sample code projects, and is nowhere mentioned in docs/ :-(

also i don't really understand why i have to set that at all.
if i want to link statically it seems that i ought to define CAMERALIBRARY_STATIC anyhow.

also i would recomment to protect the CAMERALIBRARY_(IM|EX)PORTS declspec magic with an "#ifdef _WIN32" as this only applies to windows platforms anyhow [*]

everything is working now; great!

[*] just in case you are working on non-windows ports of cameraSDK (i noticed the word "linux" in some headers which gives me hope :-))

Re: please document CAMERALIBRARY_IMPORTS

Posted: Tue Jan 24, 2012 5:47 pm
by NaturalPoint - Mike
I'll add this to the list. I'm currently undertaking a massive documentation project to provide comprehensive manuals for our products. Tracking Tools is first, and should be released soon. Arena comes next, and finally the SDK. I have preliminary information gathered, but that manual will be one serious undertaking. I'll make sure this gets added to the list.