From: Yu L. <yul...@ne...> - 2002-08-01 13:13:13
|
The relevant lines in CMakeCache.txt relating to GTK are: //Where can one of the gdk or gdk12 libraries be found GTK_gdk_LIBRARY:FILEPATH=/usr/lib/libgdk.so //What is the path where the file glib.h can be found GTK_glib_INCLUDE_PATH:PATH=/usr/include/glib-1.2 //Where can one of the glib or glib12 libraries be found GTK_glib_LIBRARY:FILEPATH=/usr/lib/libglib.so //What is the path where the file glibconfig.h can be found GTK_glibconfig_INCLUDE_PATH:PATH=/usr/lib/glib/include //Where can one of the gmodule or gmodule12 libraries be found GTK_gmodule_LIBRARY:FILEPATH=/usr/lib/libgmodule.so //What is the path where the file gtk/gtk.h can be found GTK_gtk_INCLUDE_PATH:PATH=/usr/include/gtk-1.2 //Where can one of the gtk or gtk12 libraries be found GTK_gtk_LIBRARY:FILEPATH=/usr/lib/libgtk.so //What is the path where the file gtkgl/gtkglarea.h can be found GTK_gtkgl_INCLUDE_PATH:PATH=NOTFOUND //Where can the gtkgl library be found GTK_gtkgl_LIBRARY:FILEPATH=NOTFOUND ... //Set if vgui has GTK vgui_IMPL_GTK:INTERNAL= I change the last line into: vgui_IMPL_GTK:INTERNAL=vgui_gtk and redo the make. However, that line restore to vgui_IMPL_GTK:INTERNAL= after make. I use GNOME as my default desktop and choose laptop installation during installing Redhat 7.3 so I think gtk RPMs should be configured correctly. I install nVIDIA driver to get my X server to work and they say that driver will change my OpenGL library files. I wonder if those lines are correct and how to make the configuration take effect before redo the make. I appreciate your further help! Amitha Perera wrote: >>I received the following error message: >>// ----------------------------------------------------- >>vgui: registered >> >> > >Normally, this line would list the toolkits that are available. In >your case, there are none. > > > >>I check the vgui/impl/ directory and find only in X directory is there a >>.so file >>(libvgui_X.so), I switch the parameter to --factory=X and got the same >>result. >> >> > >I believe that libvgui_X is not a toolkit by itself, but is rather >just supporting code for vgui_glut and vgui_gtk and others. > >Do you have glut, or better, GTK on your system? Edit your >CMakeCache.txt and set the GTK paths to the correct paths to your >installation. You mentioned Red Hat: if you install from a typical gtk >RPM, CMake will probably find GTK all by itself. > >Amitha. > > -- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ |
From: Amitha P. <pe...@cs...> - 2002-08-01 13:29:54
|
Generally speaking, "INTERNAL" and "STATIC" cache lines are not for internal use by CMake, and not for the user to edit. > GTK_gtkgl_INCLUDE_PATH:PATH=NOTFOUND > //Where can the gtkgl library be found > GTK_gtkgl_LIBRARY:FILEPATH=NOTFOUND These two lines are the cause of the problem. vgui uses gtkgl to create on OpenGL window within the gtk framework. The package is called gtkglarea. After you install the package, re-running CMake should do the trick. Amitha. |
From: Amitha P. <pe...@cs...> - 2002-08-01 15:35:06
|
On Thu, Aug 01, 2002 at 09:31:50AM -0400, Amitha Perera wrote: > Generally speaking, "INTERNAL" and "STATIC" cache lines are not for ^^^ > internal use by CMake, and not for the user to edit. As Fred Wheeler pointed out, I have an extra "not" in that sentence. Sorry about that. Amitha. |