Search the Community
Showing results for tags 'processortype'.
Found 1 result
farzane lk posted a topic in Calling External CodeHello I have received a LabVIEW dll and the corresponding header files so that I can send a trigger to a skin stimulation device. when I use the loadlibrary command in my Matlab script, I receive these two errors: "We don't know the Compiler" and "We don't know the ProcessorType architecture" Which means while reading the "platdefines.h", the Compiler and the ProcessorType does not match the ones listed in ifs. I have set c++ compiler to visual studio 2015 in Matlab. (also tried MinGW). the system I`m using is Windows 10 (tried on 7, too), 64bit. I read somewhere that manually defining the ProcessorType and the compiler might solve the issue. But the problem is I Don`t know what they are. (when these two conditions below are not accepted.) #elif defined(_MSC_VER) || defined(_NI_VC_) #define Compiler kVisualC #elif defined(_M_X64) #define ProcessorType kX64 -------------------------------------------------- How should I find out the ProcessorType and the compiler I have? I`d be EXTREMELY THANKFUL for any solutions you can think of. P.S.1 I attached all the headers and the Matlab error.jpg P.S.2 The code seems to work fine on manufacturers system with Matlab 2011. so it may be Matlab-related, but I don`t get how since the error is from platdefines header file. extcode.h fundtypes.h hosttype.h ILVDataInterface.h ILVTypeInterface.h lv_epilog.h lv_prolog.h platdefines.h STIM.aliases STIM.dll STIM.h STIM.ini STIM.lib