Animation project with source codes for Carbide C++

Login to reply to this topic.
Mon, 2008-02-18 17:45
Joined: 2008-02-12
Forum posts: 37

I am getting started with Symbian C++. Does anyone know if there are any animation examples with source codes that I can run in Carbide C++?


Tue, 2008-02-19 13:10
Forum Nokia Champion
Joined: 2006-10-12
Forum posts: 463
Re: Animation project with source codes for Carbide C++

Well if you search, there are quite a few available really..for instance here is one to show GIF animations :

http://wiki.forum.nokia.com/index.php/Showing_GIF_animations

Tue, 2008-02-19 14:32
Joined: 2008-02-12
Forum posts: 37
Re: Animation project with source codes for Carbide C++

I tried to make a Carbide C++ project from the ccp and header file, but I got a lot of errors.

undefined identifier 'iExampleTimer'
undefined identifier 'MExampleTimerNotify'

I created a Symbian OS C++ project with carbide, then put the ccp file in the src directory and the header file in the inc directory. But it seems like it can't find the header file, since I get these undefined identifier errors. What more do I have to do to get the project to work? I have programmed a lot of J2ME before but not much Symbian C++, so I'm a newbie when it comes to Carbide C++.

Tue, 2008-02-19 14:37
Joined: 2003-12-05
Forum posts: 607
Re: Animation project with source codes for Carbide C++

Use the File > Import command to import the project's bld.inf file instead.

Tue, 2008-02-19 14:56
Forum Nokia Champion
Joined: 2006-10-12
Forum posts: 463
Re: Animation project with source codes for Carbide C++

It seems to be an observer/notifier class for which you might have to write the definition and implementation. check documents for more

Tue, 2008-02-19 16:09
Joined: 2008-02-12
Forum posts: 37
Re: Animation project with source codes for Carbide C++

That example is too complicated for me if I have to write definitions and implementations.

I also have an animation example from the book "Developing series 60 applications". I imported it to Carbide using File > Import, but I can't get that other animation example to work. It is not a Carbide project, but the project has the necessary files in the inc, source and group directorires. I want to make a Carbide project from it, but the problem is than when I make a new Carbide project, a lot of files are created and it doesn't work to just move the files from the animation example to that Carbide project.

It is possible to compile the project, but when I run it, it says "Program file does not exist".Does anyone know how to create a Carbide project from existing header and ccp files without messing anything up?

Wed, 2008-02-20 10:22
Forum Nokia Champion
Joined: 2006-10-12
Forum posts: 463
Re: Animation project with source codes for Carbide C++

You can have a simple bld.inf which would help you import project using mmp file. Check documents on the format of the bld.inf (and mmp file if needed)

Wed, 2008-02-20 12:02
Joined: 2008-02-12
Forum posts: 37
Re: Animation project with source codes for Carbide C++

I tried to import a non Carbide project to Carbide using the inf file.

I select import -->Symbian OS-->Symbian OS Bld.inf file
then browse to the bld inf file. I then come to MMP selection. The right MMP file are already selected here.I then finish the wizard.

But there are error when I compile, like "undefined identifier". What more do I have to do to get it to work?

Wed, 2008-02-20 13:57
Forum Nokia Champion
Joined: 2006-10-12
Forum posts: 463
Re: Animation project with source codes for Carbide C++

But there are error when I compile, like "undefined identifier". What more do I have to do to get it to work?

Lets get down to basics then..you need to define the 'un-identified' identifier (Its basically like C++ where you need to define an identifier..not different in Symbian) I think a little reading on basics of declarations and variables would help (Basic stuff)

  • Login to reply to this topic.