Rank: 95177 based on 0 downloads (last 30 days) and 0 file submitted
photo

Radek

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Radek
Updated File Comments Rating
19 Jan 2010 VCAPG2 VCAPG2 is DirectShow based video capture DLL that support various types of video capture cards. Author: Kazuyuki Kobayashi

I want to use vcapg2 under matlab 7.9 64bit, but this release probably does not support mex-files with a .dll file extension. ('??? Undefined function or variable 'vcapg2'.) I tried to compile new mex-file, but with no success...(vs2008, newest DXSDK, bug report attached) Can anyone help me, pls? I want to capture and process images from two USB devices... thx.

bug report:
Trial>> mex -v -g vcapg2.cpp -f msvc60opts.bat
This is mex, Copyright 1984-2007 The MathWorks, Inc.

-> Options file specified on command line
----------------------------------------------------------------
-> Options file = MSVC60~1.BAT
MATLAB = C:\MATLAB\R2009B
-> COMPILER = cl
-> Compiler flags:
COMPFLAGS = -c -Zp8 -G5 -W3 -DMATLAB_MEX_FILE -nologo
OPTIMFLAGS = -O2 -Oy- -DNDEBUG
DEBUGFLAGS = -Zi -Fd"vcapg2.pdb"
arguments =
Name switch = /MT /Fo
-> Pre-linking commands =
-> LINKER = link
-> Link directives:
LINKFLAGS = /dll /export:mexFunction /MAP /LIBPATH:"C:\MATLAB\R2009B\extern\lib\win32\microsoft\msvc60" libmx.lib libmex.lib libmatlb.lib libmat.lib /implib:C:\USERS\CELDA\APPDATA\LOCAL\TEMP\MEX_P1~1\templib.x
LINKDEBUGFLAGS = /debug
LINKFLAGSPOST =
Name directive = /out:"vcapg2.dll"
File link directive =
Lib. link directive =
Rsp file indicator = @
-> Resource Compiler = rc /fo "mexversion.res"
-> Resource Linker =
----------------------------------------------------------------


--> cl -c -Zp8 -G5 -W3 -DMATLAB_MEX_FILE -nologo /MT /FoC:\USERS\CELDA\APPDATA\LOCAL\TEMP\MEX_P1~1\vcapg2.obj -IC:\MATLAB\R2009B\extern\include -IC:\MATLAB\R2009B\simulink\include -Zi -Fd"vcapg2.pdb" -DMX_COMPAT_32 vcapg2.cpp


C:\MATLAB\R2009B\BIN\MEX.PL: Error: Compile of 'vcapg2.cpp' failed.

??? Error using ==> mex at 221
Unable to complete successfully.

Contact us