I have tried to run DrDAQ under matlab 2013a on Windows 7, 64-bits. I went sucessfully through the followind steps:
-> Installing SDK 7.1
-> Adding the path to DrDAQ SDK (UsbDrDAQsdk_r10_5_0_28)
-> Making the link with the C++ compiler using mex -setup
Then I tried to load the libraries to "interact" with DrDAQ, and I obtained the following error message:
Error using loadlibrary (line 419)
Failed to preprocess the input file.
Output from preprocessor is:usbDrDaqApi.h
D:\Documents Gossiaux\DrDAQ\UsbDrDAQsdk_r10_5_0_28\usbDrDaqApi.h(9) : fatal error C1189: #error :
Operating system not defined
Having a look at usbDrDaqApi.h file, I could identity that it expects to work under WIN32:
#error Operating system not defined
This is obviously not the case => what should I do (I am not a C++ specialist) ? Are the .lib and the .dll files located in the x64 folder of any help ? Do I need to download an alternate version of the usbDrDaqApi.h file ?
Any input would be highly appreciated ! Thx a lot in advance.