Skip to main content

Compiling MIDP in ARM environment problem

3 replies [Last post]
b8875
Offline
Joined: 2007-08-16
Points: 0

hello everybody,

I abide by the installation manual instruct and build the midp in the ARM environment successfully.
My ARM toolchain is arm-linux-gcc 3.4.6
My Phoneme version is Phoneme-advanced-mr2
I execute the
qvfb -width 640 -height 442 -depth 16 -qwsdisplay :0
and appear the qvfb framebuffer windows
then I execute ./runMidlet but
I got the -- Support only 16-bit, 5:6:5 display -- wrong message
Anybody could solve it? thanks for your answering!
p.s.
my runMidlet file content:
/root/linux-arm-generic/basis/bin/cvm
-Dsun.midp.library.name=midp
-Dsun.midp.home.path=/root/linux-arm-generic/basis/midp/midp_linux_fb_gcc
-Dcom.sun.midp.mainClass.name=com.sun.midp.main.CdcMIDletSuiteLoader sun.misc.MIDPLauncher $*

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
b8875
Offline
Joined: 2007-08-16
Points: 0

If I don't use the qvfb command and execute the ./runMidlet the result is the same.
The window message still appears:
Support only 16-bit, 5:6:5 display
What is the problem?

hallenberg
Offline
Joined: 2007-01-05
Points: 0

The problem is that your framebuffer isn't 16 bit, 5:6:5.

hallenberg
Offline
Joined: 2007-01-05
Points: 0

Why are you using qvfb on ARM? qvfb is generally used to simulate a device on a PC during the development process...