[vtkusers] vtk7.1.1 compile error: Debug Assertion Failed!

kenichiro yoshimi rccm.kyoshimi at gmail.com
Wed Mar 29 20:49:15 EDT 2017


Hi,

I can compile without any error in VTK master when the VTK_WRAP_TCL is ON.

Thank you so much,
yoshimi

2017-03-29 23:53 GMT+09:00 David Gobbi <david.gobbi at gmail.com>:
> It's interesting that this is reported for vtkWrapTcl.exe but not for the
> other wrapping languages.  Maybe it has something to do with the way that
> the docstrings are wrapped for tcl?
>
> Ah, I think I've found it.  In vtkWrapTcl.c there is an "isprint()" call in
> the docstring processing.  I'll add a guard so that it isn't called for
> non-ascii chars.
>
>  - David
>
>
> On Wed, Mar 29, 2017 at 7:59 AM, Cory Quammen <cory.quammen at kitware.com>
> wrote:
>>
>> Yoshimi,
>>
>> Is this still a problem in VTK master? If so, I'll submit a patch to fix
>> it.
>>
>> Thanks,
>> Cory
>>
>> On Tue, Mar 28, 2017 at 10:54 PM, kenichiro yoshimi
>> <rccm.kyoshimi at gmail.com> wrote:
>> > Hi, chen
>> >
>> >  VTK-7.1.1/Common/DataModel/vtkPolyhedron.h
>> > includes unicode characters in a comment and it causes the error.
>> > Please replace the lines
>> >
>> >  /**
>> >    * Determine whether or not a polyhedron is convex. This method is
>> > adapted
>> >    * from Devillers et al., "Checking the Convexity of Polytopes and the
>> >    * Planarity of Subdivisions", Computational Geometry, Volume 11,
>> > Issues
>> >    * 3 – 4, December 1998, Pages 187 – 208.
>> >    */
>> >
>> > with
>> >
>> >   /**
>> >    * Determine whether or not a polyhedron is convex. This method is
>> > adapted
>> >    * from Devillers et al., "Checking the Convexity of Polytopes and the
>> >    * Planarity of Subdivisions", Computational Geometry, Volume 11,
>> > Issues
>> >    * 3 - 4, December 1998, Pages 187 - 208.
>> >    */
>> >
>> > Thanks,
>> > yoshimi
>> >
>> > 2017-03-28 23:11 GMT+09:00 chensq <chenshaoqiang at buaa.edu.cn>:
>> >> When compiling vtk7.1.1 using vs2015, I encountered the following
>> >> problem:
>> >>
>> >> program:
>> >> .........................vtkWrapTcl-7.1.exe
>> >> File: minkernel\crts\ucrt\src\appcrt\convert\isctype.cpp
>> >> Line: 36
>> >> Expression c >= =1 && c <= 255
>> >> For information on how your program can cause an assertion failure, see
>> >> the
>> >> Visual C++ documentation on asserts.
>> >>
>> >> It always happen when the VTK_WRAP_TCL is ON. And it will have no
>> >> problem
>> >> when the VTK_WRAP_TCL is OFF.
>> >> I have installed the ActiveTCL8.5. And everything works fine when I
>> >> compile
>> >> vtk7.0.0.
>> >> Does anybody have any suggestion?
>> >> I really need your help!
>> >> Thanks.
>> >> Sincerely chen
>> >>
>> >> _______________________________________________
>> >> Powered by www.kitware.com
>> >>
>> >> Visit other Kitware open-source projects at
>> >> http://www.kitware.com/opensource/opensource.html
>> >>
>> >> Please keep messages on-topic and check the VTK FAQ at:
>> >> http://www.vtk.org/Wiki/VTK_FAQ
>> >>
>> >> Search the list archives at: http://markmail.org/search/?q=vtkusers
>> >>
>> >> Follow this link to subscribe/unsubscribe:
>> >> http://public.kitware.com/mailman/listinfo/vtkusers
>> >>
>> > _______________________________________________
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Please keep messages on-topic and check the VTK FAQ at:
>> > http://www.vtk.org/Wiki/VTK_FAQ
>> >
>> > Search the list archives at: http://markmail.org/search/?q=vtkusers
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>>
>> --
>> Cory Quammen
>> Staff R&D Engineer
>> Kitware, Inc.
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>
>


More information about the vtkusers mailing list