View Full Version : Welcome to Symbian C++ Development
talk2sk 17-10-2002, 12:12 PM Dear All,
This forum shall discuss Symbian C++ programming for wanna-be programmers and would-be users of developed content. Symbian C++ is available across different phone platforms. My expertise is only on the Series 60 SDK, but please let this not deter other SDK Developers from using the forum.
Though the aim is to have a forum that shall answer queries and help people in their development, I hope to see users of the 7650/(and others) getting some nifty little utilities that have been developed on request and, in consultation.
A BIG THANKS to Rafe, for enabling this forum, I asked and he delivered (sort of like you know who ;-)).
Let us see if we can achieve what we dream. Let us keep the discussions clear cut, and let me hope that we are productive in some sort of way.
Thanks
Karthik
saurabhcool 06-09-2004, 06:44 AM Can anyone please try to find some solution to this problem i am facing while trying to build helloworldbasic solution using sdk 2.1 on vc++ 6.0
Doing first-stage link by name
link.exe @C:\DOCUME~1\SAURAB~1.CHA\LOCALS~1\Temp\nm160.tmp
Creating library \Symbian\7.0s\Series60_v21\EPOC32\BUILD\SYMBIAN\7. 0S\SERIES60_V21\SERIES60EX\HELLOWORLDBASIC\GROUP\H ELLOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.lib and object \Symbian\7.0s\Series60_v21\EPOC32\BUILD\SYMBIAN\7. 0S\SERIES60_V21\SERIES60EX\HELLOWORLDBASIC\GROUP\H ELLOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.exp
EDLL.LIB(UP_DLL.obj) : fatal error LNK1103: debugging information corrupt; recompile module
NMAKE : fatal error U1077: 'link.exe' : return code '0x44f'
Stop.
if exist "\Symbian\7.0s\Series60_v21\EPOC32\BUILD\SYMBIAN\7. 0S\SERIES60_V21\SERIES60EX\HELLOWORLDBASIC\GROUP\H ELLOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.exp" del "\Symbian\7.0s\Series60_v21\EPOC32\BUILD\SYMBIAN\7. 0S\SERIES60_V21\SERIES60EX\HELLOWORLDBASIC\GROUP\H ELLOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.exp"
Stopped the build by removing the export object,
if present, because the pre-link stage failed
Linking...
LINK : fatal error LNK1181: cannot open input file '\Symbian\7.0s\Series60_v21\EPOC32\BUILD\SYMBIAN\7 .0S\SERIES60_V21\SERIES60EX\HELLOWORLDBASIC\GROUP\ HELLOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.exp'
Cruizer 06-09-2004, 02:35 PM Can anyone please try to find some solution to this problem i am facing while trying to build helloworldbasic solution using sdk 2.1 on vc++ 6.0
Doing first-stage link by name
link.exe @C:\DOCUME~1\SAURAB~1.CHA\LOCALS~1\Temp\nm160.tmp
Creating library \Symbian\7.0s\Series60_v21\EPOC32\BUILD\SYMBIAN\7. 0S\SERIES60_V21\SERIES60EX\HELLOWORLDBASIC\GROUP\H ELLOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.lib and object \Symbian\7.0s\Series60_v21\EPOC32\BUILD\SYMBIAN\7. 0S\SERIES60_V21\SERIES60EX\HELLOWORLDBASIC\GROUP\H ELLOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.exp
EDLL.LIB(UP_DLL.obj) : fatal error LNK1103: debugging information corrupt; recompile module
NMAKE : fatal error U1077: 'link.exe' : return code '0x44f'
Stop.
if exist "\Symbian\7.0s\Series60_v21\EPOC32\BUILD\SYMBIAN\7. 0S\SERIES60_V21\SERIES60EX\HELLOWORLDBASIC\GROUP\H ELLOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.exp" del "\Symbian\7.0s\Series60_v21\EPOC32\BUILD\SYMBIAN\7. 0S\SERIES60_V21\SERIES60EX\HELLOWORLDBASIC\GROUP\H ELLOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.exp"
Stopped the build by removing the export object,
if present, because the pre-link stage failed
Linking...
LINK : fatal error LNK1181: cannot open input file '\Symbian\7.0s\Series60_v21\EPOC32\BUILD\SYMBIAN\7 .0S\SERIES60_V21\SERIES60EX\HELLOWORLDBASIC\GROUP\ HELLOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.exp'
It would seem you haven't used the correct "devices" command to set the UIQ 2.1 SDK to be the one you currently use. It's referring to Series 60 files in the error messages, so I assume you've got at least two SDKs installed and the wrong one is being used.
Regards,
/Cruizer.
neeraj 15-09-2004, 11:48 AM i'm getting the same error though i have only one SDK installed.
i have some hint, when i run the environmentswitch.exe application and select the "Series 60 SDK 2.1 for CW" from trayicon, a console window appears for a moment. In this short time i can just trace the text "Cannot set...." in this window :con?.
What is the .exp file and how is it produced?
neeraj 16-09-2004, 12:44 PM Try changing Project Settings->C++->Debug Information Format = Disabled or Line Numbers Only, mine get solved :) .
The error i was getting :-
------ Build started: Project: HELLOWORLDBASIC, Configuration: Debug WINS Win32 ------
Performing Pre-Link Event...
Doing first-stage link by name
link.exe @C:\DOCUME~1\neeraj\LOCALS~1\Temp\nm7.tmp
Creating library \Symbian\7.0s\Series60_v21\EPOC32\BUILD\SYMBIAN\7. 0S\SERIES60_V21\SERIES60EX\HELLOWORLDBASIC\GROUP\H ELLOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.lib and object \Symbian\7.0s\Series60_v21\EPOC32\BUILD\SYMBIAN\7. 0S\SERIES60_V21\SERIES60EX\HELLOWORLDBASIC\GROUP\H ELLOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.exp
HELLOWORLDBASICDOCUMENT.obj : fatal error LNK1103: debugging information corrupt; recompile module
NMAKE : fatal error U1077: 'link.exe' : return code '0x44f'
Stop.
if exist "\Symbian\7.0s\Series60_v21\EPOC32\BUILD\SYMBIAN\7. 0S\SERIES60_V21\SERIES60EX\HELLOWORLDBASIC\GROUP\H ELLOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.exp" del "\Symbian\7.0s\Series60_v21\EPOC32\BUILD\SYMBIAN\7. 0S\SERIES60_V21\SERIES60EX\HELLOWORLDBASIC\GROUP\H ELLOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.exp"
Stopped the build by removing the export object,
if present, because the pre-link stage failed
Linking...
LINK : fatal error LNK1181: cannot open input file '\Symbian\7.0s\Series60_v21\EPOC32\BUILD\SYMBIAN\7 .0S\SERIES60_V21\SERIES60EX\HELLOWORLDBASIC\GROUP\ HELLOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.exp'
Build log was saved at "file://C:\Symbian\7.0s\Series60_v21\EPOC32\BUILD\SYMBIAN\ 7.0S\SERIES60_V21\SERIES60EX\HELLOWORLDBASIC\GROUP \HELLOWORLDBASIC\WINS\UDEB\BuildLog.htm"
HELLOWORLDBASIC - 3 error(s), 0 warning(s)
---------------------- Done ----------------------
Build: 0 succeeded, 1 failed, 0 skipped
Unregistered2 13-02-2005, 08:41 AM ------ Rebuild All started: Project: HELLOWORLDBASIC, Configuration: Debug WINS Win32 ------
Deleting intermediate and output files for project 'HELLOWORLDBASIC', configuration 'Debug WINS|Win32'
Building resources from Helloworldbasic_caption.rss
perl -S epocrc_ide7.pl -I "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA" -I "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\INC" -I- -I "\Symbian\8.0a\S60_2nd_FP2\EPOC32\INCLUDE" -DLANGUAGE_SC -u "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA\Helloworldbasic_caption.rss" -o"\Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB \Z\SYSTEM\APPS\HELLOWORLDBASIC\HELLOWORLDBASIC_CAP TION.rSC" -h"\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA\HELLOWORLDBASIC_CAPTION.rs~" -t"\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0 A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBASIC\GROUP\HEL LOWORLDBASIC\WINS\UDEB"
echo this is a dummy output file > "\Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB \Z\SYSTEM\APPS\HELLOWORLDBASIC\HELLOWORLDBASIC_CAP TION.rSC.dummy"
perl -S ecopyfile.pl "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA\HELLOWORLDBASIC_CAPTION.rs~" "\Symbian\8.0a\S60_2nd_FP2\EPOC32\INCLUDE\HELLOWORL DBASIC_CAPTION.RSG"
del "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA\HELLOWORLDBASIC_CAPTION.rs~"
Building resources from Helloworldbasic.rss
perl -S epocrc_ide7.pl -I "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA" -I "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\INC" -I- -I "\Symbian\8.0a\S60_2nd_FP2\EPOC32\INCLUDE" -DLANGUAGE_SC -u "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA\Helloworldbasic.rss" -o"\Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB \Z\SYSTEM\APPS\HELLOWORLDBASIC\HELLOWORLDBASIC.rSC" -h"\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA\HELLOWORLDBASIC.rs~" -t"\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0 A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBASIC\GROUP\HEL LOWORLDBASIC\WINS\UDEB"
echo this is a dummy output file > "\Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB \Z\SYSTEM\APPS\HELLOWORLDBASIC\HELLOWORLDBASIC.rSC .dummy"
perl -S ecopyfile.pl "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA\HELLOWORLDBASIC.rs~" "\Symbian\8.0a\S60_2nd_FP2\EPOC32\INCLUDE\HELLOWORL DBASIC.RSG"
del "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA\HELLOWORLDBASIC.rs~"
Compiling...
cl : Command line warning D9035 : option 'Zd' has been deprecated and will be removed in a future release
cl : Command line warning D9035 : option 'QIfist' has been deprecated and will be removed in a future release
helloworldbasicdocument.cpp
helloworldbasicappview.cpp
helloworldbasicappui.cpp
helloworldbasicapplication.cpp
HELLOWORLDBASIC.UID.CPP
helloworldbasic.cpp
Generating Code...
Performing Pre-Link Event...
Doing first-stage link by name
link.exe @D:\DOCUME~1\data227\LOCALS~1\Temp\nm2B.tmp
NMAKE : fatal error U1077: 'link.exe' : return code '0x80'
Stop.
if exist "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0 A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBASIC\GROUP\HEL LOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.exp" del "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0 A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBASIC\GROUP\HEL LOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.exp"
Stopped the build by removing the export object,
if present, because the pre-link stage failed
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.40607
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://d:\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8 .0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBASIC\GROUP\H ELLOWORLDBASIC\WINS\UDEB\BuildLog.htm"
HELLOWORLDBASIC - 1 error(s), 2 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
I too am getting the same error even tho imade changes as suggested by Neeraj.
Anyone faced similar problem?
regards,
Mac.
ycombres 22-02-2005, 10:32 AM I Had the same problem to build the Helloworld example. By default the project is on the debud configuration. If you set it in the Release configuration the build is successful.
aswalk 17-03-2005, 05:53 PM Hi There
I had the same problem but I think I managed to overcome it :)... (This is the same solution as Neeraj suggested)
As ycombres rightly mentioned... if you set the configuration to Release it works fine.
But if you still want to use the Debug configuration... then keep reading. :)
I think the whole problem lies in the format of the debug information generated. In my case
1. Disabled
2. Line Numbers only
Debug information formats worked.
The build output at some point in the build process says that 'fatal error LNK1103: debugging information corrupt; recompile module'...
So changing this to No: 1 or 2 above worked...
Hope this helps...
Cheers
Sulakshana 26-03-2005, 06:45 AM I too have a similar problem ... Can anyone please try to find some solution to this problem I am facing while trying to build helloworldbasic solution using S60_2nd_FP2 on VC++ 7.0
Building resources from Helloworldbasic_caption.rss
perl -S epocrc_ide6.pl -I "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA" -I "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\INC" -I- -I "\Symbian\8.0a\S60_2nd_FP2\EPOC32\INCLUDE" -DLANGUAGE_SC -u "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA\Helloworldbasic_caption.rss" -o"\Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB \Z\SYSTEM\APPS\HELLOWORLDBASIC\HELLOWORLDBASIC_CAP TION.rSC" -h"\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA\HELLOWORLDBASIC_CAPTION.rs~" -t"\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0 A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBASIC\GROUP\HEL LOWORLDBASIC\WINS\UDEB"
echo this is a dummy output file > "\Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB \Z\SYSTEM\APPS\HELLOWORLDBASIC\HELLOWORLDBASIC_CAP TION.rSC.dummy"
perl -S ecopyfile.pl "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA\HELLOWORLDBASIC_CAPTION.rs~" "\Symbian\8.0a\S60_2nd_FP2\EPOC32\INCLUDE\HELLOWORL DBASIC_CAPTION.RSG"
del "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA\HELLOWORLDBASIC_CAPTION.rs~"
Building resources from Helloworldbasic.rss
perl -S epocrc_ide6.pl -I "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA" -I "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\INC" -I- -I "\Symbian\8.0a\S60_2nd_FP2\EPOC32\INCLUDE" -DLANGUAGE_SC -u "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA\Helloworldbasic.rss" -o"\Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB \Z\SYSTEM\APPS\HELLOWORLDBASIC\HELLOWORLDBASIC.rSC" -h"\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA\HELLOWORLDBASIC.rs~" -t"\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0 A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBASIC\GROUP\HEL LOWORLDBASIC\WINS\UDEB"
echo this is a dummy output file > "\Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB \Z\SYSTEM\APPS\HELLOWORLDBASIC\HELLOWORLDBASIC.rSC .dummy"
perl -S ecopyfile.pl "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA\HELLOWORLDBASIC.rs~" "\Symbian\8.0a\S60_2nd_FP2\EPOC32\INCLUDE\HELLOWORL DBASIC.RSG"
del "\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBAS IC\DATA\HELLOWORLDBASIC.rs~"
Compiling...
helloworldbasicdocument.cpp
helloworldbasicappview.cpp
helloworldbasicappui.cpp
helloworldbasicapplication.cpp
helloworldbasic.cpp
Helloworldbasic.uid.cpp
Generating Code...
Performing Pre-Link Event...
Doing first-stage link by name
NMAKE : fatal error U1073: don't know how to make '""'
Stop.
if exist "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0 A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBASIC\GROUP\HEL LOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.exp" del "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0 A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBASIC\GROUP\HEL LOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.exp"
Stopped the build by removing the export object,
if present, because the pre-link stage failed
Linking...
LINK : fatal error LNK1181: cannot open input file '\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8. 0A\S60_2ND_FP2\SERIES60EX\HELLOWORLDBASIC\GROUP\HE LLOWORLDBASIC\WINS\UDEB\HELLOWORLDBASIC.exp'
|
|