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">On Wed, Oct 27, 2010 at 12:37 PM, Mark Roden <span dir="ltr"><<a href="mailto:mmroden@gmail.com">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;">
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>_______________________________________________<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>