When I'm trying to pick up some dev work on my mirrlicht project, I came across a little annoying problem for Symbian development. That is to write a small tool which can take symbian package file containing relative paths. The relative paths make it easier to switch between different SDK installations.
There is a tip here suggesting to use option -d"Your epoc root dir" when you call makesis. However it would be better to pass the epoc root directory automatically.
I've found a way to do this using the command "devices" provided with the symbian SDK and a dos batch file.
@echo off
set filename=yourproject
if "%1"=="gcce" set filename=yourproject-GCCE
for /F "usebackq tokens=3 delims= " %%i in (`devices -default`) DO (
for /F "usebackq tokens=1,3 delims= " %%j in (`devices -info @%%i`) DO if "%%j"=="Root" makesis -d%%k %yourproject%.pkg
)
)
Note that the second "for" statement is in one line. I've tested this on S60 SDK. But it should also work for UIQ.
Thursday, September 27, 2007
Friday, May 25, 2007
OpenGL ES problem on N73
I've recently got an N73 from my company. Since this phone (or mobile computer if you prefer to call it this way) includes a software OpenGL ES renderer, I'm eager to try if the sample programs included in the Nokia OpenGL ES 1.1 plugin run on a real device. After I compiled a very simple sample SimpleCube and installed it on my N73, the testing result is disappointing because the rotated cube flickered all the time. I googled but haven't found many useful information for this issue. Later I found that the problem is caused by fast periodic refreshing. The timer in the example is set to 100 microseconds. However it seems that the software renderer can't finish the rendering in such a short time. Therefore the next frame starts to render before the first rendering comes to an end. By setting the timer (the second argument of CPeriodic::Start) to 30000 microsecond, the animation now runs very smoothly. Hurah!
Subscribe to:
Posts (Atom)