[vtkusers] Problems compiling VTK 3.1.2

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Mon Sep 25 13:09:28 EDT 2000


hi,

>>>>> "Carlos" == Carlos Martinez <cmarbur at iti.upv.es> writes:


	Well, you could actually edit system.make and edit the lines

GRAPHICS_API_OBJ     =  ${OGLR_OBJ}
GRAPHICS_API_FLAGS   =  -DVTK_USE_OGLR    -I/usr/X11R6/include
GRAPHICS_API_LIBS    =   -lGL

to suit your needs or 

<snip>

    Carlos> I think in two possible solutions. One is to add the whole
    Carlos> path to the first check. Two is change glxmd.h file check
    Carlos> to glx.h. What do you think?

	I think you can change the line 

  AC_CHECK_HEADERS(/usr/X11R6/include/GL/glxmd.h, 
                [use_oglr=yes]
                OGLR_INCLUDE="-I/usr/X11R6/include")

to read


AC_CHECK_HEADERS(/usr/X11R6/include/GL/glx.h, 
                [use_oglr=yes]
                OGLR_INCLUDE="-I/usr/X11R6/include")

prabhu




More information about the vtkusers mailing list