[vtkusers] Reply : Why could vtkgl::GenBuffers == NULL ?

Francois Bertel francois.bertel at kitware.com
Fri May 28 07:56:01 EDT 2010


No: ctest is provided with cmake.

Also, prior to run the experimental build, make sure you downloaded VTKData.


PS: Please keep the discussion on the list.

On Fri, May 28, 2010 at 4:28 AM, Oliver Kania
<kania.oliver at googlemail.com> wrote:
> hello Francois,
>
> I guess the ctest app you are talking about is a Linux application.
> The command is not recognized by Windows.
> Or do I need to download something ?
>
> Best regards,
> Oliver
>
> 2010/5/27 Francois Bertel <francois.bertel at kitware.com>
>>
>> Can you submit an experimental build on VTK, please?
>>
>> Just type this (-C Debug is important on windows):
>>
>> $ ctest -D Experimental -C Debug
>>
>> Once the build is submitted, let me know about the name of your
>> machine that shows on:
>> http://www.cdash.org/CDash/index.php?project=VTK
>>
>>
>> PS: explanation about -C Debug.
>>
>> [
>>
>> On windows, if you just type
>> $ ctest -D Experimental
>> you could have the following error:
>>
>> Cannot find file: C:/VTK/BIN/bin/Release/DartConfiguration.tcl
>>
>> it is probably because you build VTK in Debug mode. For
>> multi-configuration generators such as visual studio, it assumes that
>> you have built your project for the Release configuration. Add -C
>> Debug to explicitly asks ctest to test the Debug tree, like this:
>>
>> ctest -D Experimental -C Debug
>>
>> ]
>>
>> On Thu, May 27, 2010 at 1:22 PM, Francois Bertel
>> <francois.bertel at kitware.com> wrote:
>> > Are you using vtkgl::GenBuffers in you own code or does it happen in a
>> > vtk class?
>> >
>> > On Thu, May 27, 2010 at 11:17 AM, Oliver Kania
>> > <kania.oliver at googlemail.com> wrote:
>> >> Sadly, I am using VS 2008 on Windows and direct rendering.
>> >> Does someone know any other possible reason for vtkgl::GenBuffers ==
>> >> NULL ?
>> >>
>> >> Regards,
>> >> Oliver
>> >>
>> >> 2010/5/27 Francois Bertel <francois.bertel at kitware.com>
>> >>>
>> >>> Are you using indirect rendering mode on Linux? If so, try VTK git, it
>> >>> should be fixed (a workaround for a nVidia bug in indirect rendering
>> >>> mode on Linux)
>> >>>
>> >>> On Thu, May 27, 2010 at 6:51 AM, Oliver Kania
>> >>> <kania.oliver at googlemail.com> wrote:
>> >>> > In a previous post, I said that my App crashes with VTK 5.6 but not
>> >>> > 5.2
>> >>> > because GenBuffers == NULL during Interactor::Render.
>> >>> > I found a post in the archive that says GenBuffers is NULL if the
>> >>> > OpenGl
>> >>> > Version is < 1.5 and
>> >>> > a certain extension is not loaded.
>> >>> > How do I query the OpenGL version which is used by VTK and how do I
>> >>> > change
>> >>> > it ?
>> >>> > However, my driver supports GL > 2.0, and I guess VTK does load the
>> >>> > best
>> >>> > possible version.
>> >>> > What other reason could there be for GenBuffers == NULL ?
>> >>> > Is it possible to avoid usage of this function by VTK ?
>> >>> >
>> >>> > Best Regards, Oliver
>> >>> >
>> >>> > _______________________________________________
>> >>> > 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
>> >>> >
>> >>> > Follow this link to subscribe/unsubscribe:
>> >>> > http://www.vtk.org/mailman/listinfo/vtkusers
>> >>> >
>> >>> >
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> François Bertel, PhD  | Kitware Inc. Suite 204
>> >>> 1 (518) 371 3971 x113 | 28 Corporate Drive
>> >>>                      | Clifton Park NY 12065, USA
>> >>> _______________________________________________
>> >>> 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
>> >>>
>> >>> Follow this link to subscribe/unsubscribe:
>> >>> http://www.vtk.org/mailman/listinfo/vtkusers
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > François Bertel, PhD  | Kitware Inc. Suite 204
>> > 1 (518) 371 3971 x113 | 28 Corporate Drive
>> >                      | Clifton Park NY 12065, USA
>> >
>>
>>
>>
>> --
>> François Bertel, PhD  | Kitware Inc. Suite 204
>> 1 (518) 371 3971 x113 | 28 Corporate Drive
>>                      | Clifton Park NY 12065, USA
>> _______________________________________________
>> 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
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
                      | Clifton Park NY 12065, USA



More information about the vtkusers mailing list