Maemo 5.0 Beta SDK on amd64

05/02/09

Permalink 08:33:16 am, by keesj, 441 words, 2117 views   English (US)
Categories: Maemo, Nokia N800

Maemo 5.0 Beta SDK on amd64

A few days ago the Maemo 5.0 Beta SDK was announced. I was more exited then I expected myself. I already played with the Alpha SDK and was able to install the Beta without pain on my amd64 based machine.

The install on amd64

The amd64 bits architecture is not officially supported as host for the SDK and in the past I have had troubles installing the SDK. This time the installer worked pretty well. But before you install the sdk and /or sbox you need to add "vdso32=0" to your kernel command line. this can be done in /boot/grub/menu.lst . I used the “tar.gz” based install on a “not supported” arch to install scratchbox.

root@ijssijs:~# ./maemo-scratchbox-install_5.0beta.sh -F -s /scratchbox

The only drawback of this method is that you have to start and stop scrachbox by hand when you want to use it. The “default” ./maemo-scratchbox-install_5.0beta.sh -F appeared to work at first but the install of the Maemo SDK failed after wards (I guess this is something related to fakeroot) . After that I follow the normal install using

keesj@ijssijs:~/downloads$ ./maemo-sdk-install_5.0beta.sh -y 

The biggest difference compared to the Maemo 4.x SDK in that the Xephyr X-server now requires the composite extension where it used to be disabled explicitly when starting the server

Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac 

Trying some QT stuff

Trying some qt is really childs play. I always likes qt and apparently it only gets better. the qt4 project on Maemo created packages that by now are in the fremantle extras repository. simply add

http://repository.maemo.org/extras-devel/ fremantle free 

to your /etc/apt/source.list and apt-get install libqtgui4 libqt4-dev and qt4-demos . After that you can go to /usr/lib/qt4/examples and looks at the many demo's. The nice thing about this is that the demos are small get you started very quickly. I really fancy the clock example. it is very easy to create nice apps based on this.

OpenGL ES

Trying out opengl samples should be as easy as downloading the sdk from here
http://www.imgtec.com/powervr/insider/sdk/KhronosOpenGLES2xSGX.asp

and copying the file to the SDK directory.

SDKPackage/Builds/OGLES2$
 cp -r Include/* /scratchbox/users/$USER/targets/FREMANTLE_X86/usr/include/
 cp LinuxPC/Lib/* /scratchbox/users/$USER/targets/FREMANTLE_X86/usr/lib/
 cp -r LinuxPC/Include/* /scratchbox/users/$USER/targets/FREMANTLE_X86/usr/include/

however this doesn't work for me

Next for me will be to create a small app in qt!

(sorry for the edits' a wiki page would have been a better solution)

Pingbacks:

No Pingbacks for this post yet...

keesj

March 2010
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27

Search

Categories

XML Feeds

What is RSS?

Who's Online?

  • fawlallogyvog Email
  • Guest Users: 7

powered by
b2evolution