Having problems in running symbian from eclipse

Login to reply to this topic.
Thu, 2005-05-26 12:34
Joined: 2005-05-26
Forum posts: 5
Hi,

i'm new to symbian, and configured eclipse and VC toolkit  as given in the website.

I created a sample app, in eclipse. When compiling i get the following  errors (in the Problems tab)[pre][/pre]

EDLL.LIB(UP_DLL.obj) : warning LNK4099: PDB 'edll.pdb' was not found with '\Programs\Symbian\7.0s\Series60_v20\EPOC32\RELEASE\WINS\UDEB\EDLL.LIB' or at 'D:\Programs\Symbian\7.0s\Series60_v20\EPOC32\BUILD\PROGRAMS\ECLIPSE\WORKSPACE\MYWORLD\GROUP\MYWORLD\WINS\UDEB\edll.pdb'; linking object as if no debug info

EDLL.LIB(UP_DLL.obj) : warning LNK4210: .CRT section exists; there may be unhandled static initializers or terminators

NMAKE : warning U4010: '"\Programs\Symbian\7.0s\Series60_v20\EPOC32\RELEASE\WINS\UDEB\Z\SYSTEM\APPS\MYWORLD\MYWORLD.APP"' : build failed; /K specified, continuing ...

NMAKE : warning U4010: '"\Programs\Symbian\7.0s\Series60_v20\EPOC32\RELEASE\WINS\UDEB\Z\SYSTEM\APPS\MYWORLD\MYWORLD.APP"' : build failed; /K specified, continuing ...



need help in solving this problem.

i even tried to compile from cmdline, but irecevied the following errors   Huh

LINK : warning LNK4224: /PDBTYPE is no longer supported;  ignored
LINK : warning LNK4044: unrecognized option '/WARN:3'; ignored
   Creating library \Programs\Symbian\7.0s\Series60_v20\EPOC32\BUILD\PROGRAMS\ECLIPSE\WORKSPACE\MYWORLD\GROUP\MYWORLD\WINS\UDEB\MYWORLD.lib and object \Programs\Symbian\7.0s\Series60_v20\EPOC32\BUILD\PROGRAMS\ECLIPSE\WORKSPACE\MYWORLD\GROUP\MYWORLD\WINS\UDEB\MYWORLD.exp
EDLL.LIB(UP_DLL.obj) : warning LNK4210: .CRT section exists; there may be unhandled static initializers or terminators
EDLL.LIB(UP_DLL.obj) : warning LNK4099: PDB 'edll.pdb' was not found with '\Programs\Symbian\7.0s\Series60_v20\EPOC32\RE
LEASE\WINS\UDEB\EDLL.LIB' or at 'D:\Programs\Symbian\7.0s\Series60_v20\EPOC32\BUILD\PROGRAMS\ECLIPSE\WORKSPACE\MYWORLD\GROUP\MYWORLD\WINS\UDEB\edll.pdb'; linking object as if no debug info
'dumpbin' is not recognized as an internal or external command,operable program or batch file.
NMAKE : fatal error U1077: 'dumpbin' : return code '0x1'
Stop.
make: *** [TARGETMYWORLD] Error 2
  make -r  -f "\Programs\Symbian\7.0s\Series60_v20\EPOC32\BUILD\PROGRAMS\ECLIPSE\WORKSPACE\MYWORLD\GROUP\WINS.make" FINAL CFG=UDEB VERBOSE=-s



Thanks
RPDP

Fri, 2005-05-27 13:21
Joined: 2005-05-27
Forum posts: 4
Re: Having problems in running symbian from eclipse
Did you install windows sdk? One of the errors that you have is because of dumpbin is missing. If I remember correctly, dumpbin comes from winsdk.
Fri, 2005-05-27 14:16
Joined: 2005-05-26
Forum posts: 5
Re: Having problems in running symbian from eclipse
Hi,

Thanx epic, for the reply.

I have installed Windows SDK, and configured it as said.

i can compile and execute the example given in the symbian SDK from cmdline,
but when i do the same with the sample app generated by eclipse, i get those errors.

Thanx
RPDP
Sat, 2005-05-28 10:04
Joined: 2004-07-01
Forum posts: 26
Re: Having problems in running symbian from eclipse
The only error message is that dumpbin is missing. The other are warnings. You could try the directory containing dumpbin.exe to the PATH during compilation.

To do that search for dumpbin.exe on your disc. Go to Window > Preferences > Symbian OS > Win32 compilation tools. Choose the Visual C++ based toolchain and choose edit. There is a list of directories to add to PATH and add there the directory containing dumpbin.exe. If the compiler entry was autodetected then a new compiler entry will be created with the updated configuration. You should change the compiler for you project in Project > Properties > Symbian OS.

mikolajz

Mon, 2005-05-30 07:11
Joined: 2005-05-26
Forum posts: 5
Re: Having problems in running symbian from eclipse
Hi,

thanx mikolajz, the errors have gone.

one error  still persists,
LNK2019: unresolved external symbol "int __cdecl E32Main(void)" (?E32Main@@YAHXZ) referenced in function "int __cdecl startupThread(void)" (?startupThread@@YAHXZ)


followed by the warnings:

NMAKE : warning U4010: '"\Programs\Symbian\7.0s\Series60_v20\EPOC32\RELEASE\WINS\UDEB\MYWORLD.EXE"' : build failed; /K specified, continuing ...

NMAKE : warning U4011: 'UDEB' : not all dependents available; target not built

need help.

Thanx,
RPDP
Sat, 2005-06-04 08:04
Joined: 2004-07-01
Forum posts: 26
Re: Having problems in running symbian from eclipse
It turned out to be because the project was marked as an EXE instead of an APP in the MMP file.

mikolajz

Sat, 2005-06-04 08:58
Joined: 2005-05-26
Forum posts: 5
Re: Having problems in running symbian from eclipse
Hi Mikolaj,

A big THANKS for the help, you porvided,
without which i could not have run my first program in Symbian  Grin.

you guided me well, now i understand what happens in Symbain, how it works....

Hats off to Mikolaj and the people at NEWLC.


Thanx,
RPDP
  • Login to reply to this topic.