I have been compiling camera sdk dll and run it in Unity3D 5.1 (32-bit),
on Window 7 64-bit. but all I got was dllnotfound exception.
I have been trying to fix this for the pass week. Here is what I have done. Please help me T_T
- Include folder and lib folder in VS2013 project property.
- Setup preprocessor definition: CAMERALIBRARY_IMPORTS;CORE_IMPORTS;
- Use runtime library: Multi-threaded Debug (/MTd)
- Add additional dependencies: CameraLibrary2010S.lib
- Setup environment for library DLL reference: PATH=%PATH%;$(NP_CAMERASDK)\lib
Since I am running on 64-bit window 7, but working on 32-bit Unity3D. Is it correct that I use CameraLibrary2010S.lib? or should I go with CameraLibrary2010x64S.lib. FYI sample application run fine with 32 bit library but x64 version won't compile (LNK2019).
I have tested the DLL project. Unity found DLL and operate normally when there is no call to camera sdk.
Thank you in advance for your help

PS. unity plugin sample that came with the SDK uses "cameralibrary.lib" which I assume doesn't exist any more. Is that correct? Or I need to use "cameralibrary.lib" instead of CameraLibrary2010S.lib, but I found no where to get it though.