Libreria_thunk_pcwin64.c(91) : error C2275: 'uint32' : illegal use of this type as an expression Libreria_thunk_pcwin64.c(90) : error C2065: 'p1' : undeclared identifier Libreria_thunk_pcwin64.c(90) : error C2146: syntax error : missing ' ' before identifier 'p1' Libreria_thunk_pcwin64.c(90) : error C2065: 'PVOID' : undeclared identifier Libreria_thunk_pcwin64.c(89) : error C2065: 'p0' : undeclared identifier Libreria_thunk_pcwin64.c(89) : error C2146: syntax error : missing ' ' before identifier 'p0' Libreria_thunk_pcwin64.c(89) : error C2065: 'HANDLE' : undeclared identifier Libreria_thunk_pcwin64.c(66) : error C2059: syntax error : 'type'
Libreria_thunk_pcwin64.c(66) : error C2059: syntax error : ' ' 'HANDLEuint32PCHARPCHARuint32uint32Thunk' Libreria_thunk_pcwin64.c(66) : error C2061: syntax error : identifier Libreria_thunk_pcwin64.c(62) : error C2065: 'p0' : undeclared identifier Libreria_thunk_pcwin64.c(62) : warning C4047: 'return' : 'uint32' differs in levels of indirection Libreria_thunk_pcwin64.c(62) : error C2146: syntax error : missing ' ' before identifier 'fcn' Libreria_thunk_pcwin64.c(62) : error C2059: syntax error : ')'
Libreria_thunk_pcwin64.c(62) : error C2065: 'PCHAR' : undeclared identifier Libreria_thunk_pcwin64.c(62) : error C2146: syntax error : missing ')' before identifier 'PCHAR' Libreria_thunk_pcwin64.c(61) : error C2065: 'p0' : undeclared identifier Libreria_thunk_pcwin64.c(60) : error C2297: '*' : illegal, right operand has type 'const char *' Libreria_thunk_pcwin64.c(60) : error C2059: syntax error : ')' Libreria_thunk_pcwin64.c(60) : error C2100: illegal indirection Libreria_thunk_pcwin64.c(60) : error C2065: 'PCHAR' : undeclared identifier Libreria_thunk_pcwin64.c(60) : error C2146: syntax error : missing ')' before identifier 'PCHAR' Libreria_thunk_pcwin64.c(60) : error C2065: 'p0' : undeclared identifier Libreria_thunk_pcwin64.c(59) : error C2065: 'p0' : undeclared identifier Libreria_thunk_pcwin64.c(59) : error C2146: syntax error : missing ' ' before identifier 'p0' Libreria_thunk_pcwin64.c(59) : error C2065: 'PCHAR' : undeclared identifier I"C:\Users\Fenix\Documents\USB Matlab" "libreria_thunk_pcwin64.c" -LDĬ:\Users\Fenix\Documents\USB Matlab\_mpusbapi.h(51) : error C2059: syntax error : 'string'Ĭ:\Users\Fenix\Documents\USB Matlab\_mpusbapi.h(54) : error C2059: syntax error : 'string'Ĭ:\Users\Fenix\Documents\USB Matlab\_mpusbapi.h(57) : error C2059: syntax error : 'string'Ĭ:\Users\Fenix\Documents\USB Matlab\_mpusbapi.h(64) : error C2059: syntax error : 'string'Ĭ:\Users\Fenix\Documents\USB Matlab\_mpusbapi.h(71) : error C2059: syntax error : 'string'Ĭ:\Users\Fenix\Documents\USB Matlab\_mpusbapi.h(78) : error C2059: syntax error : 'string'Ĭ:\Users\Fenix\Documents\USB Matlab\_mpusbapi.h(85) : error C2059: syntax error : 'string' D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /nologo -I"C:\Program Files\MATLAB\R2011a\bin" Compiler output is:Ĭl -I"C:\Program Files\MATLAB\R2011a\extern\include" /Zp8 /W3 /D_CRT_SECURE_NO_DEPRECATE Defaulting to type error.įound on line 87 of input from line 86 of file C:\\Users\\Fenix\\Documents\\USB Matlab\\_mpusbapi.hīuilding libreria_thunk_pcwin64 failed. Defaulting to type error.įound on line 77 of input from line 76 of file C:\\Users\\Fenix\\Documents\\USB Matlab\\_mpusbapi.hįound on line 84 of input from line 83 of file C:\\Users\\Fenix\\Documents\\USB Matlab\\_mpusbapi.h Defaulting to type error.įound on line 63 of input from line 62 of file C:\\Users\\Fenix\\Documents\\USB Matlab\\_mpusbapi.hįound on line 70 of input from line 69 of file C:\\Users\\Fenix\\Documents\\USB Matlab\\_mpusbapi.h Defaulting to type error.įound on line 56 of input from line 55 of file C:\\Users\\Fenix\\Documents\\USB Matlab\\_mpusbapi.h The actual error is at the end of this output. Warning text can be viewed using:Įrror loading library intermediate output follows. Warning: Warnings messages were produced while parsing. Código: -> loadlibrary mpusbapi _mpusbapi.h alias libreria Pero tengo problemas al cargar la libreria en matlab (tecleando la instruccion loadlibrary mpusbapi _mpusbapi.h alias libreria ), y esto es lo que me aparece en matlab: Hola, estoy comenzando con esto del PIC - USB con matlab, y estoy queriendo reproducir este ejemplo de la pag de Mathworks, para ser exacto estoy intendo hacer funcionar el ejemplo 1 de esa pagina. Microcontroladores PIC > Todo en microcontroladores PIC
Tengo un problema al intentar cargar la libreria mpusbapi a Matlab