<div dir="ltr">Thanks Bill. Thank you ...<div><br></div><div> 1) VTK is the toughest package for building I've ever met. Seriously.</div><div>Even now, I myself have NO idea how I successfully built VTK before. </div><div>I always want to enable the packages/functionalities that come with the system, Ubuntu 16.04.1</div><div><br></div><div>So, is there a brief summary to clarify:</div><div>what can be enabled? and what can NOT be enabled?</div><div><br></div><div>2) In addition, I noticed that current python support is still 2.7.x.</div><div>What about 3.5.x ? I transformed python files to be 3.x compatible by command "2to3“, it seems to be OK, but I'm NOT 100% sure about that.</div><div><br></div><div><br></div><div>Thank you Bill </div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 26, 2016 at 7:52 AM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Do you have VTK_USE_SYSTEM_FREETYPE ON in your CMakeCache.txt file?<br>
<br>
If so, set it to OFF.<br>
<div><div class="h5"><br>
<br>
On Mon, Sep 26, 2016 at 7:15 AM, JIA Pei <<a href="mailto:jp4work@gmail.com">jp4work@gmail.com</a>> wrote:<br>
><br>
> Hi, all:<br>
><br>
><br>
> It looks like current VTK has a big change?<br>
> My WikiExamples are NOT able to build for now...<br>
> Can anybody give me a hand?<br>
><br>
>><br>
>> In file included from<br>
>> /home/VTK/VTK/Remote/<wbr>WikiExamples/Cxx/Images/<wbr>ImageText.cxx:5:0:<br>
>> /home/VTK/VTK/Common/Core/<wbr>vtkSmartPointer.h: In instantiation of ‘static<br>
>> vtkSmartPointer<T> vtkSmartPointer<T>::New() [with T = vtkFreeTypeTools]’:<br>
>> /home/VTK/VTK/Remote/<wbr>WikiExamples/Cxx/Images/<wbr>ImageText.cxx:24:83:<br>
>> required from here<br>
>> /home/VTK/VTK/Common/Core/<wbr>vtkSmartPointer.h:117:54: error: no matching<br>
>> function for call to<br>
>> ‘vtkSmartPointer<<wbr>vtkFreeTypeTools>::<wbr>vtkSmartPointer(vtkObject*,<br>
>> vtkSmartPointerBase::<wbr>NoReference)’<br>
>> return vtkSmartPointer<T>(T::New(), NoReference());<br>
>> ^<br>
>> /home/VTK/VTK/Common/Core/<wbr>vtkSmartPointer.h:167:3: note: candidate:<br>
>> vtkSmartPointer<T>::<wbr>vtkSmartPointer(T*, const<br>
>> vtkSmartPointerBase::<wbr>NoReference&) [with T = vtkFreeTypeTools] <near match><br>
>> vtkSmartPointer(T* r, const NoReference& n): vtkSmartPointerBase(r, n)<br>
>> {}<br>
>> ^<br>
>> /home/VTK/VTK/Common/Core/<wbr>vtkSmartPointer.h:167:3: note: conversion of<br>
>> argument 1 would be ill-formed:<br>
>> /home/VTK/VTK/Common/Core/<wbr>vtkSmartPointer.h:117:37: error: invalid<br>
>> conversion from ‘vtkObject*’ to ‘vtkFreeTypeTools*’ [-fpermissive]<br>
>> return vtkSmartPointer<T>(T::New(), NoReference());<br>
>> ^<br>
>> /home/VTK/VTK/Common/Core/<wbr>vtkSmartPointer.h:42:3: note: candidate:<br>
>> template<class U> vtkSmartPointer<T>::<wbr>vtkSmartPointer(const<br>
>> vtkSmartPointer<U>&)<br>
>> vtkSmartPointer(const vtkSmartPointer<U>& r):<br>
>> ^<br>
>> /home/VTK/VTK/Common/Core/<wbr>vtkSmartPointer.h:42:3: note: template<br>
>> argument deduction/substitution failed:<br>
>> /home/VTK/VTK/Common/Core/<wbr>vtkSmartPointer.h:117:54: note: mismatched<br>
>> types ‘const vtkSmartPointer<T>’ and ‘vtkObject*’<br>
>> return vtkSmartPointer<T>(T::New(), NoReference());<br>
>> ^<br>
>> /home/VTK/VTK/Common/Core/<wbr>vtkSmartPointer.h:36:3: note: candidate:<br>
>> vtkSmartPointer<T>::<wbr>vtkSmartPointer(T*) [with T = vtkFreeTypeTools]<br>
>> vtkSmartPointer(T* r): vtkSmartPointerBase(r) {}<br>
>> ^<br>
>> /home/VTK/VTK/Common/Core/<wbr>vtkSmartPointer.h:36:3: note: candidate<br>
>> expects 1 argument, 2 provided<br>
>> /home/VTK/VTK/Common/Core/<wbr>vtkSmartPointer.h:32:3: note: candidate:<br>
>> vtkSmartPointer<T>::<wbr>vtkSmartPointer() [with T = vtkFreeTypeTools]<br>
>> vtkSmartPointer() {}<br>
>> ^<br>
>> /home/VTK/VTK/Common/Core/<wbr>vtkSmartPointer.h:32:3: note: candidate<br>
>> expects 0 arguments, 2 provided<br>
>> /home/VTK/VTK/Common/Core/<wbr>vtkSmartPointer.h:26:7: note: candidate:<br>
>> vtkSmartPointer<<wbr>vtkFreeTypeTools>::<wbr>vtkSmartPointer(const<br>
>> vtkSmartPointer<<wbr>vtkFreeTypeTools>&)<br>
>> class vtkSmartPointer: public vtkSmartPointerBase<br>
>> ^<br>
>> /home/VTK/VTK/Common/Core/<wbr>vtkSmartPointer.h:26:7: note: candidate<br>
>> expects 1 argument, 2 provided<br>
>> /home/VTK/VTK/Common/Core/<wbr>vtkSmartPointer.h:26:7: note: candidate:<br>
>> vtkSmartPointer<<wbr>vtkFreeTypeTools>::<wbr>vtkSmartPointer(<wbr>vtkSmartPointer<<wbr>vtkFreeTypeTools>&&)<br>
>> /home/VTK/VTK/Common/Core/<wbr>vtkSmartPointer.h:26:7: note: candidate<br>
>> expects 1 argument, 2 provided<br>
>> Remote/WikiExamples/Cxx/<wbr>Images/CMakeFiles/<wbr>wikiImageText.dir/build.make:<wbr>65:<br>
>> recipe for target<br>
>> 'Remote/WikiExamples/Cxx/<wbr>Images/CMakeFiles/<wbr>wikiImageText.dir/ImageText.<wbr>cxx.o'<br>
>> failed<br>
>> make[2]: ***<br>
>> [Remote/WikiExamples/Cxx/<wbr>Images/CMakeFiles/<wbr>wikiImageText.dir/ImageText.<wbr>cxx.o]<br>
>> Error 1<br>
>> make[2]: Leaving directory '/home/VTK/VTK/build'<br>
>> CMakeFiles/Makefile2:33982: recipe for target<br>
>> 'Remote/WikiExamples/Cxx/<wbr>Images/CMakeFiles/<wbr>wikiImageText.dir/all' failed<br>
>> make[1]: ***<br>
>> [Remote/WikiExamples/Cxx/<wbr>Images/CMakeFiles/<wbr>wikiImageText.dir/all] Error 2<br>
>> make[1]: Leaving directory '/home/VTK/VTK/build'<br>
>> Makefile:130: recipe for target 'all' failed<br>
>> make: *** [all] Error 2<br>
>><br>
><br>
> Cheers<br>
> --<br>
><br>
> Pei JIA, Ph.D.<br>
><br>
> Email: <a href="mailto:jp4work@gmail.com">jp4work@gmail.com</a><br>
> cell in Canada: <a href="tel:%2B1%20778-863-5816" value="+17788635816">+1 778-863-5816</a><br>
> cell in China: <a href="tel:%2B86%20186-8244-3503" value="+8618682443503">+86 186-8244-3503</a><br>
><br>
> Welcome to Vision Open<br>
> <a href="http://www.visionopen.com" rel="noreferrer" target="_blank">http://www.visionopen.com</a><br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div><div>Pei JIA, Ph.D.</div><div><br></div><div>Email: <a href="mailto:jp4work@gmail.com" target="_blank">jp4work@gmail.com</a></div><div>cell in Canada: +1 778-863-5816</div><div>cell in China: +86 186-8244-3503</div><div><br></div>Welcome to Vision Open<br><a href="http://www.visionopen.com" target="_blank">http://www.visionopen.com</a></div></div>
</div>