I think I agree with Wes, especially considering that these errors aren't present on the dashboard.<br><br><div class="gmail_quote">On Wed, Oct 27, 2010 at 1:48 PM, Wes Turner <span dir="ltr"><<a href="mailto:wes.turner@kitware.com">wes.turner@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Mark,<div><br></div><div>This may just be noise, but I am thinking that I may have run into this a few weeks back. My issue was resolved by completely removing my binary directory and starting over. Did you try building in a clean binary tree?</div>
<div><br></div><div>- Wes<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Oct 27, 2010 at 1:27 PM, Mark Roden <span dir="ltr"><<a href="mailto:mmroden@gmail.com" target="_blank">mmroden@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Visual studio 2008, 64 bit version.<br><br><div class="gmail_quote">On Wed, Oct 27, 2010 at 10:15 AM, Dave Partyka <span dir="ltr"><<a href="mailto:dave.partyka@kitware.com" target="_blank">dave.partyka@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">Those options should be fine. What compiler version are you using?<div><div></div><div>
<br><br><div class="gmail_quote">On Wed, Oct 27, 2010 at 1:12 PM, Mark Roden <span dir="ltr"><<a href="mailto:mmroden@gmail.com" target="_blank">mmroden@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">Hi Dave,<br><br>Thanks. I'm actually getting the build errors with Java wrapping turned off now, so I'm thinking I have something strange going on on my particular machine.<br>
<br>I've just done a git status, reverted all files, and git pull, to ensure that I'm up-to-date. <br>
<br>My cmake options are <br><br>shared libs<br>use_n_way_arrays<br>use_rendering<br>and I change the default install directory to somewhere on my H drive.<br><br>I turned off the java wrapping.<br><br>I'm still getting the errors.<br>
<br>Thoughts?<br><br>Thanks,<br><font color="#888888">Mark</font><div><div></div><div><br><br><div class="gmail_quote">On Wed, Oct 27, 2010 at 9:56 AM, Dave Partyka <span dir="ltr"><<a href="mailto:dave.partyka@kitware.com" target="_blank">dave.partyka@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">Hi Mark,<div><br></div><div>I'll add Java to a couple of the Windows dashboards. I turned Java wrapping off when it started randomly failing when built in parallel. David Gobbi recently committed a fix for that so I will turn Java wrapping back on.<br>
<br><div class="gmail_quote"><div><div></div><div>On Wed, Oct 27, 2010 at 12:37 PM, Mark Roden <span dir="ltr"><<a href="mailto:mmroden@gmail.com" target="_blank">mmroden@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div>
Hi all,<br><br>The vtk git source is broken for windows builds with shared libraries and java turned on, and has been for quite a while now. I've moved back to vtk 5.6.1 in the meantime, but instabilities in that build have me looking more to the most recent git repository in the hopes that it solves the random crashes I'm encountering.<br>
<br>The compile errors look like:<br><br>22>h:\src\vtk-git\common\vtkDataArrayTemplate.h(329) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>22>h:\src\vtk-git\common\vtkArrayIteratorTemplate.txx(32) : error C2491: 'vtkArrayIteratorTemplate<T>::New' : definition of dllimport function not allowed<br>
22>h:\src\vtk-git\common\vtkArrayIteratorTemplate.txx(35) : error C2491: 'vtkArrayIteratorTemplate<T>::SetArray' : definition of dllimport function not allowed<br>22>h:\src\vtk-git\common\vtkArrayIteratorTemplate.txx(42) : error C2491: 'vtkArrayIteratorTemplate<T>::vtkArrayIteratorTemplate' : definition of dllimport function not allowed<br>
22>h:\src\vtk-git\common\vtkArrayIteratorTemplate.txx(50) : error C2491: 'vtkArrayIteratorTemplate<T>::~vtkArrayIteratorTemplate' : definition of dllimport function not allowed<br>22>h:\src\vtk-git\common\vtkArrayIteratorTemplate.txx(62) : error C2491: 'vtkArrayIteratorTemplate<T>::Initialize' : definition of dllimport function not allowed<br>
22>h:\src\vtk-git\common\vtkArrayIteratorTemplate.txx(73) : error C2491: 'vtkArrayIteratorTemplate<T>::GetNumberOfTuples' : definition of dllimport function not allowed<br>22>h:\src\vtk-git\common\vtkArrayIteratorTemplate.txx(84) : error C2491: 'vtkArrayIteratorTemplate<T>::GetNumberOfValues' : definition of dllimport function not allowed<br>
22>h:\src\vtk-git\common\vtkArrayIteratorTemplate.txx(95) : error C2491: 'vtkArrayIteratorTemplate<T>::GetNumberOfComponents' : definition of dllimport function not allowed<br>22>h:\src\vtk-git\common\vtkArrayIteratorTemplate.txx(102) : error C2491: 'vtkArrayIteratorTemplate<T>::GetTuple' : definition of dllimport function not allowed<br>
22>h:\src\vtk-git\common\vtkArrayIteratorTemplate.txx(109) : error C2491: 'vtkArrayIteratorTemplate<T>::GetDataType' : definition of dllimport function not allowed<br>22>h:\src\vtk-git\common\vtkArrayIteratorTemplate.txx(116) : error C2491: 'vtkArrayIteratorTemplate<T>::GetDataTypeSize' : definition of dllimport function not allowed<br>
22>h:\src\vtk-git\common\vtkArrayIteratorTemplate.txx(133) : error C2491: 'vtkArrayIteratorTemplate<T>::PrintSelf' : definition of dllimport function not allowed<br><br>and I notice that there isn't a dashboard machine that builds vtk with shared libraries for Windows with Java wrapping enabled (amber10 has shared libraries on, just no java wrappings).<br>
<br>Any idea on how to fix this? They only show up during Java file creation, although it's hard to tell with parallel building turned on exactly which files are spawning the errors.<br><br>Sometimes, there are also single errors showing up as well:<br>
<br>3>vtkDataArray.cxx<br>3>h:\src\vtk-git\common\vtkDataArrayTemplate.h(329) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br><br>I don't think that that has anything to do with java wrappings.<br>
<br>Thanks,<br><font color="#888888">Mark<br>
</font><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>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>
<br>_______________________________________________<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>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><br></div></div>-- <br>Wesley D. Turner, Ph.D.<br>Kitware, Inc.<br>Technical Leader<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4920<br>
</div>
</blockquote></div><br>