<div><div class="gmail_quote">On Tue, Jan 4, 2011 at 3:06 PM, kwayeke <span dir="ltr"><<a href="mailto:bigvision82@yahoo.com">bigvision82@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
I am Using visual studio 2010 and I keep getting this error<br>
<br>
Creating library D:\DOCUME~1\IBM\LOCALS~1\TEMP\MEX_X7~1\templib.x and<br>
object D:\DOCUME~1\IBM\LOCALS~1\TEMP\MEX_X7~1\templib.exp<br>
vo.obj : error LNK2019: unresolved external symbol "__declspec(dllimport)<br>
public: class vtkDataArray * __thiscall<br>
vtkMatlabMexAdapter::mxArrayTovtkDataArray(struct mxArray_tag const *,bool)"<br>
(__imp_?mxArrayTovtkDataArray@vtkMatlabMexAdapter@@QAEPAVvtkDataArray@@PBUmxArray_tag@@_N@Z)<br>
referenced in function _mexFunction<br>
vo.obj : error LNK2019: unresolved external symbol "__declspec(dllimport)<br>
public: static class vtkMatlabMexAdapter * __cdecl<br>
vtkMatlabMexAdapter::New(void)" (__imp_?New@vtkMatlabMexAdapter@@SAPAV1@XZ)<br>
referenced in function _mexFunction<br>
vo.mexw32 : fatal error LNK1120: 2 unresolved externals<br>
<br>
D:\PROGRA~1\MATLAB\R2010B\BIN\<a href="http://MEX.PL" target="_blank">MEX.PL</a>: Error: Link of 'vo.mexw32' failed.<br>
<font color="#888888"><br></font></blockquote><div><br></div><meta charset="utf-8">Did you turn on the CMake variable VTK_USE_MATLAB_MEX when compiling VTK? It looks like your VTK did not build that class.<div><br></div>
<div>Jeff<br><br></div></div>
</div>