I have an application I created usinf Visual C++ IDE and the Series60 App Wizard. The app wizard created several files automatically. I did not add any code. When I tried to build the program I got numerous errors in the header file that the wizard had inlcuded into the program. The errors are similar to this :
error C2501 : missing storage-class or type specifier
this error seems to generate from every line that starts with IMPORT_C. Any idea what file this IMPORT_C is defined in, maybe I need to include that file. But, these errors occur in a header file provided by the Symbian C++ SDK, so I can't see where that would be the problem.
I had posted this question at another formum, and it was suggested I add 'euser.lib' to the 'Project-Settings-Link' dialog in the 'Object/Library Modules' field. I did so, but recieved the same errors.
ANy help is greatly appreciated!
Where did you installed the SDK?
Where did you created the project?
I had a similar problem in the very first time.
Try to create the project under the same directory as the SDK.
eg.:
C:\Symbian\6.1\Series60\MyProjects\FirstApp
Try to build the example apps.
Thanks. Here is where my SDK is installed :
C:\Symbian\6.1\Series60
and then it has several folders in the Series 60 directory
\Epoc32
\Epoc32Ex
I tried to build the 'Helloworld' example supplied with the SDK, but it had same errors. This 'Helloworld' application is in the
\Epoc32Ex directory
The application I created with the Series60 App Wizard in Visual C++, is in this path :
C:\S60_Hello2\S60_Hello
I will try to put my application in the C:\Symbian\6.1\Series60 path, but I wonder since the example application the SDK supplied, that is in the C:\Symbian\6.1\Series60\Epoc32Ex path, did not build either (and had the same errors basically) I am thinking it might not be the answer ---- but I certainly will try, and appreciate your advice!
But, if you notice or think of something else I might have done wrong ... please let me know!
I don't know how do you build a test application but here is my method:
- choose the group folder in the example's folder
- bldmake bldfiles
this creates the required folders in the epoc32/build folder and creates a file named abld.bat in the group folder
- abld makefile vc6
this generates the required VC++ workspace files in the build folder.
I prefer to create a link in the example's root folder to the dsw file in the build path. It's easier to handle.
After that you can click on the link to open the workspace in VS.
Then you can press F7 to compile and F5 to run the app.
At the first run the Studio asks for the executable. Just give the epoc.exe in the epoc32/wins/udeb folder.
Then you can run the example in the emulator.
This works for me.
I hope this helps.
By the way...
epoc32ex are the examples for epoc
series60ex are the series60 specific examples
the epoc32 is the main target directory for builds and contains the libraries too.
If the build still fails then it's possible that you didn't installed something. Try to update all components.
My config:
W2k SP4 (SP3 is better)
VS6 SP5
Series60 SDK 1.2 (Perl, Java 1.3.1 (must be 1.3.1 !!!))
nothing unusual I think.
Thanks. I am still a little lost. 1st here is my set up :
Windows XP professional
Visual C++ 6.0 (I don't believe I have a service pack update)
Should I get Service Pk 6 ?
The Series60 SDK is in this directory
C:\Series\6.1\Series60
I went to the Epoc32EX directory and there is no folder called 'example' ... there is a folder called 'helloworld' is this the folder you mean when you say 'example's folder'?
What do you mean by 'choose a group folder'?
I did try opening a 'command prompt' and I then went to the 'C:\Symbian\6.1\Series60\Epoc32Ex\helloworld' directory .... I type bldmake bldfiles ..... the response was
" 'perl' is not recognized as an internal or external command, operable program or batch file "
Do I need 'perl' installed? What else might I be doing wrong?
Thanks
I mean the helloworld folder as "example" folder.
The group folder is under the helloworld folder.
Like this as I remember
c:\symbian\6.1\series60ex\
helloworld
aif
group
inc
install
src
The structures are various but there must be a folder which contains the file with the extension "mmp".
In this folder you can say bldmake bldfiles.
OF COURSE YOU HAVE TO INSTALL PERL!
And Java 1.3.1 too!
If you have downloaded the 1.2 SDK it's OK but you need to download the 1.1 too. This is because the 1.2 don't contains the perl and the java.
You need only the perl and java from the 1.1 nothing else.
Also you can download them from the official sites.
You need perl because the building scripts are written in perl.
I hope this helps.
hi,
i m new to sendo SDK..
i want to run simple hello world application but it is not working
i have followed all the instructions given in pdf supplied by SDK, but when VC++ asked me to select exe for debug (or release) i came to know that EPOC32 folder is not even created under SERIES60 folder in Symbian/6.1 folder..
somebody pls help me out of this..
my configuration is
Win2k Advanced Server SP4
J2SE 1.4
VC++ VSSP6
pls reply me as soon as possible
vraj
vraj wrote:hi,
i m new to sendo SDK..
i want to run simple hello world application but it is not working
i have followed all the instructions given in pdf supplied by SDK, but when VC++ asked me to select exe for debug (or release) i came to know that EPOC32 folder is not even created under SERIES60 folder in Symbian/6.1 folder..somebody pls help me out of this..
my configuration is
Win2k Advanced Server SP4
J2SE 1.4
VC++ VSSP6
pls reply me as soon as possible
vraj
Hie,
I need your help. after a long search through the net I've just found your post here.Can u plz plz plz send me the Sendo SDK or atleast the following files: SharedDataClient.h,SharedDataKeys.h and SystemWarningLevels.hrh my email addr is [email][email protected][/email]