<div dir="ltr">Hi Jean-Christophe,<div><br></div><div>Thank you!</div><div><br></div><div style>I use VTK 6.0 and CUDA 5.0. I just need vtkUnstructuredGridReader to read something in main.cpp and then everything is CUDA.</div>
<div style><br></div><div style>Thanks again!</div><div style><br></div><div style>Best regards,</div><div style>Mingcheng Chen</div><div style>April 29th, 2013</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Apr 29, 2013 at 6:54 PM, Jean-Christophe Fillion-Robin <span dir="ltr"><<a href="mailto:jchris.fillionr@kitware.com" target="_blank">jchris.fillionr@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Mingcheng, <div><br></div><div>To help identify the issue, could you specify which version of VTK you are building against. Providing a small example using either gist or github would be helpful.</div>

<div><br></div><div>Hth</div><div>Jc</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Mon, Apr 29, 2013 at 6:16 PM, Mingcheng Chen <span dir="ltr"><<a href="mailto:linyufly@gmail.com" target="_blank">linyufly@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div><div><div>Hi everyone,<br><br></div>My code contains a main.cpp and several *.cu files. The main.cpp uses some VTK functions.<br>


<br></div>How can I make it compiled in ubuntu? In Windows I can use Visual Studio.<br>
<br></div>Is cmake able to do that? I failed...<br></div><br></div>Thanks!<br><br>Best regards,<br>Mingcheng Chen<br></div>April 29th, 2013<span><font color="#888888"><br clear="all"><div><div><div><div><div>

<div><div><div><br>-- <br><div dir="ltr">
<div>Research Assistant in Graphics Group<br></div>
<div>University of Illinois at Urbana-Champaign</div><div><a href="http://mingchengchen.org" target="_blank">http://mingchengchen.org</a></div></div>
</div></div></div></div></div></div></div></div></font></span></div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><a href="tel:%2B1%20919%20869%208849" value="+19198698849" target="_blank">+1 919 869 8849</a><br>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Research Assistant in Graphics Group<br></div>
<div>University of Illinois at Urbana-Champaign</div><div><a href="http://mingchengchen.org" target="_blank">http://mingchengchen.org</a></div></div>
</div>