Getting started

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
Getting started

Submitted by Anonymous on Fri, 11/03/2000 - 04:54. Developers
When trying to run my motif program (and it happens with the HelloMotif after I build it myself) I get the error
Warning Fatal Error
_XmGetDefaultDisplay cannot be used prior to VendorS.Initialize, returns NULL
Warning Urm__OpenHierarchy Display not yet opened - Invalid URM code
Error can`t open hierarchy

The OpenMotif executable that came with the system works fine.

ICS_support

You don`t describe much about the environment you`re in -- and you`ve probably solved the problem by now -- but I suspect that you`re linking with Xt and Xm in the wrong order, such that you`re picking up the non-Motif VendorShell from Xt. The link order should generally be -lXm -lXt; and you`re using Mrm, so you should link -lMrm -lXm -lXt.