• March 28, 2024, 02:15:21 pm

Author Topic: Porting Emu48 to S60v5  (Read 2791 times)

0 Members and 1 Guest are viewing this topic.

Offline Gilmar

  • Viewer
  • *
  • Posts: 6
  • Reputation: 0
  • Symbian Power User
  • Current Phone: : Nokia 5800 XpressMusic
Porting Emu48 to S60v5
« 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?

Offline symster

  • Developer
  • Happy Member
  • ****
  • Posts: 214
  • Reputation: 6
  • Symbian Power User
  • Current Phone: : Nokia N8 Soon Nokia 808
Re: Porting Emu48 to S60v5
« Reply #1 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)

Offline huellif

  • Developer
  • Christmas Santa
  • ****
  • Posts: 402
  • Reputation: 212
Re: Porting Emu48 to S60v5
« Reply #2 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.

Offline Gilmar

  • Viewer
  • *
  • Posts: 6
  • Reputation: 0
  • Symbian Power User
  • Current Phone: : Nokia 5800 XpressMusic
Re: Porting Emu48 to S60v5
« Reply #3 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..