Symbian-Developers

The Official Developers Section => The Developers Section => Symbian Software Development Discussions => Topic started by: Gilmar on May 30, 2014, 08:09:51 am

Title: Porting Emu48 to S60v5
Post by: Gilmar on May 30, 2014, 08:09:51 am
Gentlemen,

I am a newbie and one thing that I was upset is not having an emulator for the HP48 that run in Symbian s60v5. So, I decided to learn some principles of the language, went to study C++ and dowloaded the Carbide C++3.2 besides the source code from http://psiomas.free.fr and start to port.

Well, I try to start in a small way but when I included the file "engine.cpp" (had included the file "engine.h" in advance) I am having several errors.

The original files had the following includes:
#include <stdlib.h>
#include <stdio.h>

but as for the s60v5_SDK_v1.0 those files are under "libc" folder I modify them to <libc/stdlib.h> / <libc/stdio.h> and several errors appear (42 in total) like this one:
...epoc32\include\libc\stdlib.h:26: the file 'stddef.h' cannot be opened

Does anybody know how to fix this?
Title: Re: Porting Emu48 to S60v5
Post by: symster on May 30, 2014, 10:04:35 am
For this type of questions, you better ask it at nokia developers forum under symbian section. There are a lot of great legendary symbian developers/moderators like symbianyucca, symbian neil, wizard hu to help you especially symbianyucca. He is symbian legend to me. Trust me. Get your advice there.  8)
Title: Re: Porting Emu48 to S60v5
Post by: huellif on June 02, 2014, 11:02:27 pm
Better use Nokia's QtSDK for your phone, it makes developing much easier and also supports Symbian STD port.
Title: Re: Porting Emu48 to S60v5
Post by: Gilmar on June 30, 2014, 05:25:09 am
Huellif, sincerely I tried to use QtSDK but couldn't find a way (perhaps lack of knowledge) in how to mix Qt Quick (what would allow me to create a good interface) with the files that already exist in Symbian C++....so I decided to go forward with Carbide, perhaps that can be a second step. Anyway, if you have a example code that I can study that would be nice...including now I am struggling with View and Ui classes..