Re: Debug problem
| Thu, 2005-07-07 13:43 | |
|
There are two versions fo Helloworld in the examples .
Look at the mmp file of the helloworld that you are building. If you find app in the targettype, then you are building an application to be launched in the emulator - in which case you will find the helloworld icon in the emulator. If the target type is exe, then your build process should produce a HelloWorld.exe under the epoc32/release/wins/udeb folder. By default the IDE will only launch epoc.exe - not Helloworld.exe. To lauch the HelloWorld.exe from the IDE, GO to Project properties->run-edit-emulator path->here you should replace epoc.exe with the name you have mentioned uncer target in your mmp file (which is most likely to be HelloWorld.exe) Hope that help!! |
|






Forum posts: 9
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TARGET HelloWorldBasic.app
TARGETTYPE app
// Change the second number here to change the UID for this application
UID 0x100039CE 0x10005B91
TARGETPATH \system\apps\helloworldbasic
SOURCEPATH ..\src
SOURCE HelloWorldBasic.cpp
SOURCE HelloWorldBasicApplication.cpp
SOURCE HelloWorldBasicAppView.cpp
SOURCE HelloWorldBasicAppUi.cpp
SOURCE HelloWorldBasicDocument.cpp
SOURCEPATH ..\data
RESOURCE HelloWorldBasic.rss
RESOURCE HelloWorldBasic_caption.rss
USERINCLUDE ..\inc
SYSTEMINCLUDE \epoc32\include
LIBRARY euser.lib
LIBRARY apparc.lib
LIBRARY cone.lib
LIBRARY eikcore.lib
LIBRARY avkon.lib
LIBRARY commonengine.lib
LANG SC
AIF HelloWorldBasic.aif ..\aif HelloworldBasicAif.rss c12 qgn_menu_demo_cxt.bmp qgn_menu_demo_cxt_mask.bmp qgn_menu_demo_lst.bmp qgn_menu_demo_lst_mask.bmp
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
As you can see, the TARGETTYPE is set to "app". But when i run the project,
in the emulator, "HelloWorld" (or any other project i've tried to run) isn't present.
I can't find it both in the application launcher and in the folders.
Please help!
Forum posts: 46
C:\Symbian\7.0s\Series60_v20\Examples\helloworld>more *.mmp
  // HelloWorld.mmp
  TARGET    HelloWorld.app
  TARGETTYPE  app
  UID      0x100039CE 0X10008ACE
  TARGETPATH  \system\apps\HelloWorld
  ...
C:\Symbian\7.0s\Series60_v20\Examples\helloworld>set epocroot
  EPOCROOT=\Symbian\7.0s\Series60_v20\
C:\Symbian\7.0s\Series60_v20\Examples\helloworld>date
  The current date is: 08/07/2005
C:\Symbian\7.0s\Series60_v20\Examples\helloworld>time
  The current time is: 15:36:23.31
C:\Symbian\7.0s\Series60_v20\Examples\helloworld>bldmake bldfiles
C:\Symbian\7.0s\Series60_v20\Examples\helloworld>ABLD.BAT build wins udeb
  Creating library \Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20
  \EXAMPLES\HELLOWORLD\HELLOWORLD\WINS\UDEB\HELLOWORLD.lib and object \Symbia
  n\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20\EXAMPLES\HELLOWORLD\H
  ELLOWORLD\WINS\UDEB\HELLOWORLD.exp
  make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20
  \EXAMPLES\HELLOWORLD\WINS.make" FINAL CFG=UDEB VERBOSE=-s
C:\Symbian\7.0s\Series60_v20\Examples\helloworld>dir ..\..\epoc32\release\wins\udeb\z\system\apps\HELLOWORLD\HELLOWORLD.APP
  08/07/2005 15:37      32,878 HELLOWORLD.APP
C:\Symbian\7.0s\Series60_v20\Examples\helloworld>\Symbian\7.0s\Series60_v20\epoc32\release\wins\udeb\epoc.exe
Forum posts: 9
The compilation process creates the "HelloWorldBasic.app" file in the following folder "C:\Symbian\8.0a\S60_2nd_FP2\epoc32\release\armi\urel". Is this an error? In which folder should be written in order to be used by the emulator?
Thanx