I just installed symbian series 60 sdk.I tried out AppWizard
according to the guidelines.When I open a new, series 60 Appwizard v1.9 project in MS VC++ 6.0, I get an error after the final step saying your project cannot be added to the workspace.
I want to know if AppWizard works in Windows XP environment.
Thanks
Hi..
I created a build directory here
C:\Projects\Symbian\6.1\Series60\Epoc32\BUILD
and pointed the location to this dir when creating new projject..
But a new project directory under build is created
the entire path looks like this:
C:\Projects\Symbian\6.1\Series60\Epoc32\BUILD\PROJECTS\SYMBIAN\6.1\SERIES60\EPOC32\BUILD\POST4\GROUP\POST4\WINS
when I buld the project I get the warnings:
EDLL.LIB(UP_DLL.obj) : warning LNK4099: PDB "edll.pdb" was not found with "\Projects\Symbian\6.1\Series60\EPOC32\RELEASE\WINS\UDEB\EDLL.LIB" or at "C:\Projects\Symbian\6.1\Series60\EPOC32\RELEASE\WINS\UDEB\Z\SYSTEM\APPS\POST4\edll.pdb"; linking obje
ct as if no debug info
if exist "\Projects\Symbian\6.1\Series60\EPOC32\BUILD\PROJECTS\SYMBIAN\6.1\SERIES60\EPOC32\BUILD\POST4\GROUP\POST4\WINS\UDEB\POST4.exp" del "\Projects\Symbian\6.1\Series60\EPOC32\BUILD\PROJECTS\SYMBIAN\6.1\SERIES60\EPOC32\BUILD\POST4\GROUP\POST4\WI
NS\UDEB\POST4.exp"
POST4.APP - 0 error(s), 2 warning(s)
Any idea what the problem is..
Which location do you point to when creating a new project.
Thanks..
problem swith application wizard in MS XP
2003-11-14, 21:28#7
I've completed all the foll steps
1.create your projects in the c:\symbian\6.1\series60\epoc32\build directory.
2. need to have Perl installed (www.activestate.com/Products/ActivePerl/)
3. copied the C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\mspdb60.dll file to my System32 directory.
I faced the same problem but then noticed the following in wizard_installation.txt:
3) Spesify project name and location, press OK.
- project location can not have spaces
- project location must be in same drive than Series 60 2.0 SDK for Symbian OS
I had the same problems but have got it working. As someone pointed out earlier, you can't have spaces in the project name.
My project name: hello
My project home: c:\ (just the base directory).
When you run the Series60 appwizard it creates c:\hello\inc
c:\hello\src
c:\hello\grp
c:\hello\install
etc
but it creates the dsp/dsw files and other bits way down in the c:\symbian\epoc32 hierarchy.
I don't like this, but it works. Trouble is when backing the project up I have to remember to backup everything.
I didn't have to mess about with any DLLs.
I made sure I installed ActivePerl and the JRE first - had to hack the registry to make sure it saw the JRE was the right version.
Have also added menu items to the Tools menu to do ARMI and THUMB builds, as well as a Make Sis file command (saves running DOS).
I think it's a bit of a shame that the appwizard is so tied into the directory locations. With a bit more work, Nokia could have made it location-independent - you can mess about with the contents of the makefile and the .dsp to be able to move files all into the same directory, but when you come to doing the ARMI or THUMB target builds it looks as if paths are hard-coded into stuff way down in the Perl code.
I tried most of the tricks described on this thread but nothing seems to work. The appwizard creates the project dirs where I specify (like Incarnis described) but the dsp/dsw files fail to materialize anywhere (yes, I did create the BUILD dir in C:\Symbian\7.0s\Series60_v20\Epoc32).
However, my problem might be related to the tidbit that the SDK installed didn't find the 1.3.1 JRE and the ActivePerl I were installed at SDK install time. Incarnis, could you point me to the registry entries you edited? And just to make sure, you are on WinXP, right?
Thanks Incarnis, I finally got it working, sort of. I renamed the registry key like you instructed, but I'm not sure if it had any effect - I reinstalled the SDK and it again complained that it couldn't find ActivePerl or the JRE. It does work, though.
I created the project in C:\Symbian\7.0s\Series60_v20\Epoc32\BUILD and though it again complained it couldn't add the project from C:\Symbian\7.0s\Series60_v20\Epoc32\BUILD\Symbian\7.0s\Series60_v20\Epoc32\BUILD it did create all project files the in the BUILD dir so I was able to add the workspace to VS.
Note that I had to delete the supplied project name from the path manually after specifying the project name. If you tell the appwizard to create the project in the BUILD dir and then supply a name for the project it will automatically add the project name in the path and this results in the appwizard failing to create the workspace (at least it did for me).
So it works, I can compile it from the command line and it runs in the emulator.
However, I can't build it in VS. First it complains it can't find the project's own headers, and after I add BUILD\inc to the include path it gives me a few hundred errors like this:
c:\symbian\7.0s\series60_v20\epoc32\include\e32std.h(751) : error C2146: syntax error : missing ';' before identifier 'TInt64'
c:\symbian\7.0s\series60_v20\epoc32\include\e32std.h(751) : error C2501: 'IMPORT_C' : missing storage-class or type specifiers
Any ideas what include dirs I need to define, or other hoops I need to jump through? I already have %EPOCROOT%\EPOC32\BUILD\TSET\INC and %EPOCROOT%\EPOC32\INCLUDE defined.
Hmm, glad it works but I didn't have to change anything to get it to work in VC for me.
Here is a copy of a dsp file created on my system which builds in VC (project SAMPLE which I created in C: (as you say, the wizard adds 'sample' to the path - that's VC)
Note that I am building for 7650 so have 6.1 in my path, you will have to change to 7.0.
====
# Microsoft Developer Studio Project File - Name="SAMPLE" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
CFG=SAMPLE - Win32 Uni Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "SAMPLE.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "SAMPLE.mak" CFG="SAMPLE - Win32 Uni Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "SAMPLE - Win32 Uni Release" (based on\
"Win32 (x86) Dynamic-Link Library")
!MESSAGE "SAMPLE - Win32 Uni Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE
# PROP Intermediate_Dir "\Symbian\6.1\Series60\EPOC32\BUILD\SAMPLE\GROUP\SAMPLE\WINS"
# Begin Custom Build - Building resources from ..\data\SAMPLE.rss
InputPath=\SAMPLE\SRC\..\data\SAMPLE.rss
"\Symbian\6.1\Series60\EPOC32\RELEASE\WINS\UDEB\Z\SYSTEM\APPS\SAMPLE\SAMPLE.rSC.dummy" : $(SOURCE) "$(INTDIR)"\
"$(OUTDIR)"
$(BuildCmds)
# End Custom Build
!ELSEIF "$(CFG)" == "SAMPLE - Win32 Uni Release"
# PROP Intermediate_Dir "\Symbian\6.1\Series60\EPOC32\BUILD\SAMPLE\GROUP\SAMPLE\WINS"
# Begin Custom Build - Building resources from ..\data\SAMPLE.rss
InputPath=\SAMPLE\SRC\..\data\SAMPLE.rss
# PROP Intermediate_Dir "\Symbian\6.1\Series60\EPOC32\BUILD\SAMPLE\GROUP\SAMPLE\WINS"
# Begin Custom Build - Building resources from ..\data\SAMPLE_caption.rss
InputPath=\SAMPLE\SRC\..\data\SAMPLE_caption.rss
"\Symbian\6.1\Series60\EPOC32\RELEASE\WINS\UDEB\Z\SYSTEM\APPS\SAMPLE\SAMPLE_CAPTION.rSC.dummy" : $(SOURCE) "$(INTDIR)"\
"$(OUTDIR)"
$(BuildCmds)
# End Custom Build
!ELSEIF "$(CFG)" == "SAMPLE - Win32 Uni Release"
# PROP Intermediate_Dir "\Symbian\6.1\Series60\EPOC32\BUILD\SAMPLE\GROUP\SAMPLE\WINS"
# Begin Custom Build - Building resources from ..\data\SAMPLE_caption.rss
InputPath=\SAMPLE\SRC\..\data\SAMPLE_caption.rss