I practice 3D Medical Imaging in The Visualization Toolkit at 507 page.
<br>
<br>The source code is
<br>(Visual C++)
<br>        // extract the skin
<br>        skinExtractor = vtkMarchingCubes::New();
<br>        skinExtractor->SetInput(v16->GetOutput());
<br>        skinExtractor->SetValue(0, 500);
<br>        skinMapper = vtkPolyDataMapper::New();
<br>        skinMapper->SetInput(skinExtractor->GetOutput());
<br>        skinMapper->ScalarVisibilityOff();
<br>        skin = vtkActor::New();
<br>        skin->SetMapper(skinMapper);
<br>        
<br>But when I compiled it, I failed..
<br>
<br>Linking...
<br>Win32Cone.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkMarchingCubes::SetValue(int,float)" (__imp_?SetValue@vtkMarchingCubes@@QAEXHM@Z)
<br>Win32Cone.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkMarchingCubes * __cdecl vtkMarchingCubes::New(void)" (__imp_?New@vtkMarchingCubes@@SAPAV1@XZ)
<br>Debug/vtkwin32.exe : fatal error LNK1120: 2 unresolved externals
<br>Error executing link.exe.
<br>
<br>What¡¯s the problem¡¦?
<br>I checked ¡° skinExtractor->SetValue(0, 500); ¡±
<br>I think parameters are right¡¦
<br>How can I correct the errors?
<br>I don¡¯t understand the errors; unresolved externals.
<br>I need your help~
<br>
<br>Sammy
<br>
<img src="http://www80.hanmail.net/Mail-bin/chkcmail?from=vtkinuse&rcpt=vtkusers%40public%2Ekitware%2Ecom&msgid=20020825154931%2EHM%2E00000000001ayA4%40www80%2Ehanmail%2Enet">
<br><br><table border=0 cellpadding=5 cellspacing=0 width=100%%>
<tr><td background='http://image.hanmail.net/hanmail/general/dotline_sim.gif' height=1></td></tr>
<tr>
<td><font color="#312400" style="font-size:9pt;">
"¿ì¸® ÀÎÅͳÝ, Daum" <a href=http://www.daum.net target=_top><font color="#312400">http://www.daum.net</font></a><br>
</font></td></tr></table><table bgcolor=#F8F8F8 border=0 cellpadding=3 cellspacing=0 width=100%% style="border: #ECECEC solid 1px;">
<tr>
<td width=50 align=right nowrap><a href='http://hmm.daum.net/msg_welcome' target=_blank><img src='http://image.hanmail.net/hanmail/top/adver/messenger.gif' width=40 height=40 border=0></a></td>
<td width=50%% class=base style="line-height:140%%; font-size:9pt;">
<a href='http://hmm.daum.net/msg_welcome' target=_blank><font color=#BD8000 style="font-size:9pt;">
ºü¸£´Ù! ÆíÇÏ´Ù! Daum¸Þ½ÅÀú</font></a><br>¸ÅÀϸÅÀÏ ¾²°í °è½ÃÁÒ?
</td>
<td width=3 nowrap><img src='http://image.hanmail.net/hm/line_h.gif' width=3 height=40></td>
<td width=40><a href='http://hmm.daum.net/card_0401' target=_blank><img src='http://image.hanmail.net/hanmail/top/adver/ecard.gif' width=40 height=40 border=0></a></td>
<td width=50%% class=base style="line-height:140%%; font-size:9pt;">
<a href='http://hmm.daum.net/card_0401' target=_blank><font color=#BD8000 style="font-size:9pt;">Daum¿£ÅÍÄ«µå</font></a><br>Daumȸ¿øÀÇ Çʼöǰ! ¿Â¿ÀÇÁ ÃÖ°íÀÇ ÇýÅÃÀ» ´©¸®ÀÚ!</td>
</table>