how to use the epoc emulator

Login to reply to this topic.
Sat, 2005-01-08 04:36
Joined: 2005-01-06
Forum posts: 23
im currently using borland c++ builderx mobile edition 1.5 and i want to test the helloworld application using the epoc emulator. i dont know how i could actually run this app using the emulator. the emulator loads but i cant find the app. can somebody pls help me here? pls? thanks a lot.

Sat, 2005-01-08 13:47
Joined: 2005-01-06
Forum posts: 23
missing .app file
guys, i found out why i cant run the helloworld sample.. this is because the
Code:
helloworld.app
isnt created after the build process. there's no error while compiling but there's a warning like this:

Code:
should install msvc6 service pack 3

is this the cause why there's no build output after compilation? please help me guys. thanks a lot!
Sat, 2005-01-08 19:55
Joined: 2004-07-10
Forum posts: 364
Re: missing .app file
No the warning won't prevent a successful build.
Are you sure its not being built, where are you looking for it?
Mon, 2005-01-10 10:43
Joined: 2005-01-06
Forum posts: 23
how to use the epoc emulator
thanks a lot for the reply...

the left pane of the IDE shows the location where the build outputs can be found. but it gives me a location that doesnt exist yet. i think that location is where BuilderX intends to save the build outputs.

however i tried compiling it in DOS. i used the ff commands:

bldmake bldfiles
abld winsb udeb
abld build

it finished the build process w/o error (i think so...). but still i cant find any output. maybe i just dont know what to find or where to find it. im actually looking for
Quote
helloworld.app
or
Quote
helloworld.exe
. am i ryt? anyway, here's the long msg it displayed after the process:

[color=darkblue]
Code:
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\EXPORT.make" EXPORT VERBOSE=-s
Nothing to do
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\ARMI.make" MAKEFILE VERBOSE=-s
perl -S makmake.pl -D \SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\HELLOWORLD ARMI
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\ARM4.make" MAKEFILE VERBOSE=-s
perl -S makmake.pl -D \SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\HELLOWORLD ARM4
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\THUMB.make" MAKEFILE VERBOSE=-s
perl -S makmake.pl -D \SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\HELLOWORLD THUMB
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\ARMI.make" LIBRARY VERBOSE=-s
make -s  -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWOR
LD\HELLOWORLD\ARMI\HELLOWORLD.ARMI" LIBRARY
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\ARM4.make" LIBRARY VERBOSE=-s
make -s  -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWOR
LD\HELLOWORLD\ARM4\HELLOWORLD.ARM4" LIBRARY
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\THUMB.make" LIBRARY VERBOSE=-s
make -s  -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWOR
LD\HELLOWORLD\THUMB\HELLOWORLD.THUMB" LIBRARY
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\ARMI.make" RESOURCE CFG=UDEB VERBOSE=-s
make -s  -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWOR
LD\HELLOWORLD\ARMI\HELLOWORLD.ARMI" RESOURCEUDEB
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\ARMI.make" RESOURCE CFG=UREL VERBOSE=-s
make -s  -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWOR
LD\HELLOWORLD\ARMI\HELLOWORLD.ARMI" RESOURCEUREL
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\ARM4.make" RESOURCE CFG=UDEB VERBOSE=-s
make -s  -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWOR
LD\HELLOWORLD\ARM4\HELLOWORLD.ARM4" RESOURCEUDEB
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\ARM4.make" RESOURCE CFG=UREL VERBOSE=-s
make -s  -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWOR
LD\HELLOWORLD\ARM4\HELLOWORLD.ARM4" RESOURCEUREL
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\THUMB.make" RESOURCE CFG=UDEB VERBOSE=-s
make -s  -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWOR
LD\HELLOWORLD\THUMB\HELLOWORLD.THUMB" RESOURCEUDEB
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\THUMB.make" RESOURCE CFG=UREL VERBOSE=-s
make -s  -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWOR
LD\HELLOWORLD\THUMB\HELLOWORLD.THUMB" RESOURCEUREL
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\ARMI.make" TARGET CFG=UDEB VERBOSE=-s
make -s  -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWOR
LD\HELLOWORLD\ARMI\HELLOWORLD.ARMI" UDEB
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\ARMI.make" TARGET CFG=UREL VERBOSE=-s
make -s  -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWOR
LD\HELLOWORLD\ARMI\HELLOWORLD.ARMI" UREL

PETRAN - PE file preprocessor V01.00 (Build 175)
Copyright (c) 1996-2001 Symbian Ltd.

 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\ARM4.make" TARGET CFG=UDEB VERBOSE=-s
make -s  -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWOR
LD\HELLOWORLD\ARM4\HELLOWORLD.ARM4" UDEB

PETRAN - PE file preprocessor V01.00 (Build 175)
Copyright (c) 1996-2001 Symbian Ltd.

 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\ARM4.make" TARGET CFG=UREL VERBOSE=-s
make -s  -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWOR
LD\HELLOWORLD\ARM4\HELLOWORLD.ARM4" UREL

PETRAN - PE file preprocessor V01.00 (Build 175)
Copyright (c) 1996-2001 Symbian Ltd.

 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\THUMB.make" TARGET CFG=UDEB VERBOSE=-s
make -s  -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWOR
LD\HELLOWORLD\THUMB\HELLOWORLD.THUMB" UDEB

PETRAN - PE file preprocessor V01.00 (Build 175)
Copyright (c) 1996-2001 Symbian Ltd.

 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\THUMB.make" TARGET CFG=UREL VERBOSE=-s
make -s  -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWOR
LD\HELLOWORLD\THUMB\HELLOWORLD.THUMB" UREL

PETRAN - PE file preprocessor V01.00 (Build 175)
Copyright (c) 1996-2001 Symbian Ltd.

 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\ARMI.make" FINAL CFG=UDEB VERBOSE=-s
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\ARMI.make" FINAL CFG=UREL VERBOSE=-s
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\ARM4.make" FINAL CFG=UDEB VERBOSE=-s
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\ARM4.make" FINAL CFG=UREL VERBOSE=-s
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\THUMB.make" FINAL CFG=UDEB VERBOSE=-s
 make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORL
D\THUMB.make" FINAL CFG=UREL VERBOSE=-s
[/color]
Mon, 2005-01-10 18:42
Joined: 2004-07-10
Forum posts: 364
how to use the epoc emulator
Have you tried using your PC's file search facility to look for the file or are you just trying to find it visually yourself.

have a look in Symbian\UIQ_21\EPOC32\Release ....
Tue, 2005-01-11 00:57
Joined: 2005-01-06
Forum posts: 23
how to use the epoc emulator
yes i tried that too...

i dont know where the prob is. the app runs on the P800 phone w/o any prob.
iv been thinking, my PC's OS is Windows XP SP2 and the UIQ 2.1 SDK installer displayed a msg b4 the installation process, that the SDK is not fully tested in Windows XP. Can that be the reason for it?
or, is the IDE (Borland C++ BuilderX) the problem?

also, i want to try to compile it in Visual C++ 6.0. is that possible? how do i import the bld.inf file of the proj?

thanks a lot!!!
Tue, 2005-01-11 01:42
Joined: 2004-07-10
Forum posts: 364
how to use the epoc emulator
There's no need to do an abld build and build all the unnecessary variants.
Just do a simple abld build winsb udeb

I too use XP with service pack 2 without any problems but use the nokia sdks and not the uiq ones.

To use with vc6 just do
bldmake bldfiles
abld makefile vc6
then from within vc6 open the resulting generated project file which will have been placed in epoc32/build/....
its extension will be .dsp or .dsw I forget which
Wed, 2005-01-12 08:52
Joined: 2005-01-11
Forum posts: 48
how to use the epoc emulator
Hi,

I can not help you with c++ builderx because I have never used it. I am using VC6. So if you want to use VC6 you need to install it. Then you install VC6 Service Pack version 3 or greater. After that just run:
bldmake bldfiles
abld build wins udeb
abld makefile vc6
On success you will find .dsw file in \epoc32\build\<apppath>

Please let me know if you still have problems with VC6.

Do the best.

Or do nothing.

Sun, 2005-01-23 14:01
Joined: 2005-01-06
Forum posts: 23
thanks
guys, all's fine now. i cant figure out what's wrong with BuilderX but the funny thing is, when i tried compiling my project in a different PC, it suddenly worked.

all's fine with VC6 as well, thanks for the assistance! ill just post a new topic if evr i encounter other problems. thanks again!
Wed, 2005-02-02 23:24
RaveDude (not verified)
Forum posts: 2043
how to use the epoc emulator
I had the same problem... I didn't have the files link.exe and lib.exe, copied them over from a friend who had vc6 installed, now it works. Also I didn't have nmake.exe in the path. Builderx doesn't show all the errors when building, I figured out what it was missing by right clicking the .cbx properties/build and then enabling "show build log"
  • Login to reply to this topic.