On Sat, Jun 29, 2002 at 01:07:15AM -0400, email@example.com wrote:
> when I try to run any vxl example (gui based) or xcv, I crash out with
> vgui : registered
> /home/kla/vxl/oxl/vgui/vgui.cxx, line 137: failed to find a toolkit implementation - vcl_abort()ing.
This means that the build system couldn't find any toolkit when vgui
was compiled. I'll assume you are using CMake.
Since you have vgui compiled, you have OpenGL. If you were working
with Visual Studio, you should have already linked against MFC, so
I'll assume you are working with some Unix OS. Do you have Glut or
GTK? Has CMake been able to find them? Check the values in
CMakeCache.txt in your *binary* directory. Or, if you used ccmake
(instead of cmake), you can check in the gui.
For Glut, the relevant variables are as follows. (The values are from
my FreeBSD box.)
//What is the path where the file GL/glut.h can be found
//Where can the Xi library be found
//Where can the Xmu library be found
//Where can the glut library be found
For GTK, you'll also need GtkGLArea. The variables:
//Where can one of the gdk or gdk12 libraries be found
//What is the path where the file glib.h can be found
//Where can one of the glib or glib12 libraries be found
//What is the path where the file glibconfig.h can be found
//Where can one of the gmodule or gmodule12 libraries be found
//What is the path where the file gtk/gtk.h can be found
//Where can one of the gtk or gtk12 libraries be found
//What is the path where the file gtkgl/gtkglarea.h can be found
//Where can the gtkgl library be found
Hope this helps.