[vtk-developers] undefined reference to `glXGetProcAddressARB'

Bill Lorensen bill.lorensen at gmail.com
Fri Feb 17 11:19:32 EST 2017


Here is what I use to build a minimal vtk:
cmake -DBUILD_EXAMPLES:BOOL=OFF -DBUILD_TESTING:BOOL=OFF
-DVTK_BUILD_ALL_MODULES_FOR_\
TESTS:BOOL=OFF -DVTK_Group_Rendering:BOOL=OFF -DVTK_Group_StandAlone:BOOL=OFF -\
DModule_vtkCommonCore:BOOL=ON -DModule_vtkCommonDataModel:BOOL=ON ../VTK



On Fri, Feb 17, 2017 at 10:42 AM, Ken Martin <ken.martin at kitware.com> wrote:
> So usually I try to turn those modules off in cmake. If they do not show up
> as options to turn off, that means they are in turn being required by some
> other module that is on. So I look in the configure output for what is
> requiring them and try to turn that off, etc etc.  If you have the full
> output we can try hunting down what the leaf modules are that are pulling it
> in.  In this case try turning off the chemistry modules.
>
> Thanks
> Ken
>
>
> On Fri, Feb 17, 2017 at 10:35 AM, Favre Jean <jfavre at cscs.ch> wrote:
>>
>> Well done Ken
>>
>> here is the output:
>>
>> --  * vtkglew, needed by 3 modules:
>>         vtkDomainsChemistryOpenGL2
>>         vtkRenderingContextOpenGL2
>>         vtkRenderingOpenGL2
>>
>> -----------------
>> Jean
>
>
>
>
> --
> Ken Martin PhD
> Chairman & CFO
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
> 518 371 3971
>
> This communication, including all attachments, contains confidential and
> legally privileged information, and it is intended only for the use of the
> addressee.  Access to this email by anyone else is unauthorized. If you are
> not the intended recipient, any disclosure, copying, distribution or any
> action taken in reliance on it is prohibited and may be unlawful. If you
> received this communication in error please notify us immediately and
> destroy the original message.  Thank you.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtk-developers mailing list