Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!tut.cis.ohio-state.edu!quanta.eng.ohio-state.edu!kcgl1.eng.ohio-state.edu!DAVISM From: DAVISM@kcgl1.eng.ohio-state.edu (Michael T. Davis) Newsgroups: comp.windows.x Subject: Possible problem compiling HP widgets -- help! Message-ID: <2588@quanta.eng.ohio-state.edu> Date: 11 Jul 89 05:22:19 GMT Sender: news@quanta.eng.ohio-state.edu Organization: Ohio State University Lines: 40 I recently got a hold of the HP widget set for X11R3 and would really like to start using them, but I'm having a few problems. If anyone can shed some light on this, I'd really appreciate it. First off, I'm doing all this under DECwindows on a color VAXstation 3100 w/ 8MB memory, running VMS V5.1-B. (That's probably bad enough as it is, right? ;-) Anyway, as I don't have any kind of make utility, I more or less attempted to glean what I needed from the makefile Xhp/Xw/Makefile. I looked at the list of object files and just generated all of them with a command pro- cedure, then included them all in an object library. The application I'm trying to get to work needs to be linked with this library, as well as the X (DECwindows) Toolkit library. Everything compiles and links fine, as far as I can tell. When I run the program, though, I get the following error: X Toolkit Error: XtCreateWidget requires non-NULL widget class %DWT-F-DWTABORT, xtoolkit fatal error The line this is bombing on looks like this: canvas = XtCreateManagedWidget ( "canvas", XwworkspaceWidgetClass, toplevel, NULL, 0 ); The program is from Douglas Young's book ("X Window Systems Programming and Applications with Xt"). Any and all help is appreciated. Thanks, Mike ________________________________________________________________________ | THE InterNet address> davism@kcgl1.eng.ohio-state.edu | | CompuServe> 73667,541 | |------------------------------------------------------------------------| | These_Thoughts := My_Own | |************************************************************************| | "Daddy, Daddy!! Why's Mommy running across the field?" | | "Shut up Son, and reload." | ------------------------------------------------------------------------