Application Loading problem

I install a software xchm for opening chm files.

I install software and also its required libraries. But when i start it; no GUI appears. Application got halt. Process name also appears in process list when i run top command. Appliation continously using cpu but no GUI appears. Please tell me what is this problem and how to solve it.

If application is using CPU then it has not halted.

How are you running the program? From an xterm/dtterm? If so does it print any warnings?

i simply run it from terminal

$ xchm

no warning message is displayed.

What about if you run it with

unset DISPLAY
xchm -display no-such-host:0

or try giving the path to a *.chm file.

Following message displayed

bash-3.00# unset DISPLAY
bash-3.00# xchm -displat no-such-host:0
09:48:44: Error: wxWidgets could not open display for '': exiting.

You had "-displat" not "-display"

But the good thing is it is trying to create some widgets.

I change it and then following message shown

bash-3.00# unset DISPLAY
bash-3.00# xchm -display no-such-host:0
09:57:49: Error: wxWidgets could not open display for '': exiting.

Thanx porter for replying
my problem is solved.
The problem was that i was using different version of wxWidgets but recomendation was different.