[vtkusers] Error building VTK: Related to vtkgl.h and OS X

Neil Gajare nerajag at gmail.com
Sat Jun 2 21:31:00 EDT 2007


Hello,

I am in the process of building VTK on Mac OS X, and keep getting
errors with vtkRendering.  A previous error related to OpenGL has been
fixed I believe with help from the user list.

Upon building with those fixes, an error that has been showing up for
sometime popped up just when the build was at 99%.
---------------------------------
xx:~/local/tk/VTK-build neil$ [ 87%] Building CXX object VolumeRendering/CMakeF.
../Rendering/vtkgl.h error: 'Display' was not declared in this scope
bash: [: missing `]'
xx:~/local/tk/VTK-build neil$ .../Rendering/vtkgl.h error: 'dpy' was not declare
d in this scope
bash: .../Rendering/vtkgl.h: No such file or directory
xx:~/local/tk/VTK-build neil$ .../Rendering/vtkgl.h error: expected primary-expr
ession before "drawable"
bash: .../Rendering/vtkgl.h: No such file or directory
xx:~/local/tk/VTK-build neil$ .../Rendering/vtkgl.h error: expected
primary-expression before "target_sbc".../Rendering/vtkgl.h error:
'Display' was not declared in this scope
bash: .../Rendering/vtkgl.h: No such file or directory
xx:~/local/tk/VTK-build neil$ .../Rendering/vtkgl.h error: 'dpy' was
not declared in this scope
bash: .../Rendering/vtkgl.h: No such file or directory
xx:~/local/tk/VTK-build neil$ .../Rendering/vtkgl.h error: expected
primary-expression before "drawable"
bash: .../Rendering/vtkgl.h: No such file or directory

I am also wondering what the "bash" means, because it just started
showing up in the error printouts.

--Neil Gajare



More information about the vtkusers mailing list