買了個(gè)ch341t轉(zhuǎn)i2c模塊調(diào)試
用matlab2014調(diào)用USBIOX.dll 庫為啥編譯無法通過啊
用的是win10,vc2010編譯器
跟64位32位有關(guān)系嗎?
Type 'ULONG' was not found. ?Defaulting to type error.
Found on line 678 of input from line 677 of file D:\\matlab\\i2ctemper\\USBIOX.H
Type 'PCHAR' was not found. ?Defaulting to type error.
Found on line 678 of input from line 677 of file D:\\matlab\\i2ctemper\\USBIOX.H
*********
錯(cuò)誤使用 loadlibrary (line 422)
生成 USBIOX_thunk_pcwin64 失敗。編譯器輸出為:
cl -I"C:\Program Files\MATLAB\R2014a\extern\include" ?/W3 ?/nologo ?/D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0
-I"C:\Program Files\MATLAB\R2014a\extern\include" -I"C:\Program Files\MATLAB\R2014a\simulink\include" -I"d:\matlab" -I"D:\matlab\i2ctemper"
"USBIOX_thunk_pcwin64.c" -LD -Fe"USBIOX_thunk_pcwin64.dll"
USBIOX_thunk_pcwin64.c
D:\matlab\i2ctemper\USBIOX.h(40) : error C2061: 語法錯(cuò)誤: 標(biāo)識(shí)符“NTSTATUS”
D:\matlab\i2ctemper\USBIOX.h(40) : error C2059: 語法錯(cuò)誤:“;”
D:\matlab\i2ctemper\USBIOX.h(45) : error C2016: C 要求一個(gè)結(jié)構(gòu)或聯(lián)合至少有一個(gè)成員
D:\matlab\i2ctemper\USBIOX.h(45) : error C2061: 語法錯(cuò)誤: 標(biāo)識(shí)符“UCHAR”
D:\matlab\i2ctemper\USBIOX.h(46) : error C2061: 語法錯(cuò)誤: 標(biāo)識(shí)符“mUspRequest”
D:\matlab\i2ctemper\USBIOX.h(46) : error C2059: 語法錯(cuò)誤:“;”
D:\matlab\i2ctemper\USBIOX.h(49) : error C2016: C 要求一個(gè)結(jié)構(gòu)或聯(lián)合至少有一個(gè)成員
D:\matlab\i2ctemper\USBIOX.h(49) : error C2061: 語法錯(cuò)誤: 標(biāo)識(shí)符“UCHAR”
D:\matlab\i2ctemper\USBIOX.h(50) : error C2061: 語法錯(cuò)誤: 標(biāo)識(shí)符“mUspValueHigh”
D:\matlab\i2ctemper\USBIOX.h(50) : error C2059: 語法錯(cuò)誤:“;”
D:\matlab\i2ctemper\USBIOX.h(51) : error C2059: 語法錯(cuò)誤:“}”
D:\matlab\i2ctemper\USBIOX.h(52) : error C2061: 語法錯(cuò)誤: 標(biāo)識(shí)符“mUspValue”
D:\matlab\i2ctemper\USBIOX.h(52) : error C2059: 語法錯(cuò)誤:“;”
D:\matlab\i2ctemper\USBIOX.h(53) : error C2059: 語法錯(cuò)誤:“}”