[vtkusers] vtkTextureObject bind error

Alvaro Sanchez alvaro.sanchez at kitware.com
Mon Jul 31 13:32:33 EDT 2017


If you built vtk with BUILD_TESTING checked then you should be able to
run it from the build directory as

C:\YOUR_VS_SOLUTION_DIR>ctest -R TextureStreaming -C Debug

Change the last parameter to your particular configuration.

Are you setting a volume mask or are you only rendering input data?

On Mon, Jul 31, 2017 at 9:35 AM, Rick Dailey <rick at pile.com> wrote:

> I tried running ctest but no matter what I do it always says "No tests were
> found!!!"  I tried running it from several folders (bin, testing, etc.) but
> still the same message.  It seems that I have built VTK with testing
> enabled
> (BUILD_TESTING check set) so a I am out of ideas.  What is the correct way
> of running ctest?
>
> The latest stack trace:
>
> >       ucrtbased.dll!common_assert_to_message_box<wchar_t>(const wchar_t
> * const
> expression, const wchar_t * const file_name, const unsigned int
> line_number,
> void * const return_address) Line 351   C++
>         ucrtbased.dll!common_assert<wchar_t>(const wchar_t * const
> expression,
> const wchar_t * const file_name, const unsigned int line_number, void *
> const return_address) Line 386  C++
>         ucrtbased.dll!_wassert(const wchar_t * expression, const wchar_t *
> file_name, unsigned int line_number) Line 404   C++
>         vtkRenderingOpenGL2-8.1.dll!vtkTextureObject::Bind() Line 546
>  C++
>         vtkRenderingOpenGL2-8.1.dll!vtkTextureObject::Activate() Line
> 491       C++
>         vtkRenderingVolumeOpenGL2-8.1.dll!vtkVolumeMask::Activate() Line
> 64     C++
>
> vtkRenderingVolumeOpenGL2-8.1.dll!vtkOpenGLGPUVolumeRayCastMappe
> r::DoGPURender(vtkRenderer
> * ren, vtkVolume * vol, vtkOpenGLCamera * cam, vtkShaderProgram * prog, int
> noOfComponents, int independentComponents) Line 3739    C++
>
> vtkRenderingVolumeOpenGL2-8.1.dll!vtkOpenGLGPUVolumeRayCastMappe
> r::GPURender(vtkRenderer
> * ren, vtkVolume * vol) Line 3610       C++
>         vtkRenderingVolume-8.1.dll!vtkGPUVolumeRayCastMapper::Render(vtkRenderer
> *
> ren, vtkVolume * vol) Line 154  C++
>         vtkRenderingCore-8.1.dll!vtkVolume::RenderVolumetricGeometry(vtkViewport
> *
> vp) Line 370    C++
>         vtkRenderingOpenGL2-8.1.dll!vtkOpenGLRenderer::UpdateGeometry()
> Line 273
> C++
>         vtkRenderingOpenGL2-8.1.dll!vtkOpenGLRenderer::DeviceRender()
> Line 170  C++
>         vtkRenderingCore-8.1.dll!vtkRenderer::Render() Line 351 C++
>         vtkRenderingCore-8.1.dll!vtkRendererCollection::Render() Line 51
>       C++
>         vtkRenderingCore-8.1.dll!vtkRenderWindow::DoStereoRender() Line
> 781     C++
>         vtkRenderingCore-8.1.dll!vtkRenderWindow::DoFDRender() Line 747
> C++
>         vtkRenderingCore-8.1.dll!vtkRenderWindow::DoAARender() Line 626
> C++
>         vtkRenderingCore-8.1.dll!vtkRenderWindow::Render() Line 439
>  C++
>         PDI-TOMO.exe!vtkControlBase::Render(HDC * dc, const wchar_t *
> location)
> Line 694        C++
>
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.
> com/vtkTextureObject-bind-error-tp5744068p5744223.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>



-- 
Alvaro Sanchez
Kitware, Inc.
Senior R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4901
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170731/cc2ae9a2/attachment.html>


More information about the vtkusers mailing list