nanogui: Build problem
Subject:
Re: Build problem
From:
"Greg Haerr" ####@####.####
Date:
3 Jan 2001 18:19:37 -0000
Message-Id: <00e701c075b1$72f20a20$15320cd0@gregh>
I can build mWin successfully, but then when trying to run nano-X and nanowm on
my LPlanet, I get "cannot initialise screen" errors and "Error setting graphics
mode: Invalid argument" errors. I have built using the default config.ppc that
comes in the microwindows-0.89pre6 tarball. Any idea what I am doing wrong?
John -
Remember that when using the MV CDK, there are two versions
of the kernel w/touch screen driver for the EP. The earlier one, v1.1,
uses a nonstandard interface to the framebuffer, I think it's /dev/lcd or
something. If you're using this, you'll need to #define EMBEDDEDPLANET
in microwin/src/drivers/scr_fb.c. (That code may be removed by now, see
an earlier version if necessary).
Otherwise, you need to run the newer kernel, which will have a /dev/fb0
device that conforms to the Linux standard. I know that Microwindows
works with both versions, the question is exactly which version you are
running...
Regards,
Greg