|
|
User login
Feeds |
plz help to come out of error
|
|||||
| Fri, 2004-12-03 15:12 | |
|
i've just started with the "UIQ SDK for Symbian OS v7.0" and was reading through a few of the tutorials. while testing the helloworld example, i ran into a few errors(i m running "UIQ SDK for Symbian OS v7.0" & "active perl Build 518" ) i did the "bldmake bldfiles" command without problems (tried it in verbose mode and no errors came up, so I'm assuming it worked fine), after that the "abld build wins udeb", this gave the following output: E:\Symbian\UIQ_21\UIQExamples\HelloWorld\group>abld build wins udeb make -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\EXPORT.make" EXPORT VERBOSE=-s Nothing to do make -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\WINS.make" MAKEFILE VERBOSE=-s perl -S makmake.pl -D \SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\HELLOWORLD WINS 'LINK.EXE' is not recognized as an internal or external command, operable program or batch file. ERROR: failed to find version information for LINK.EXE make: *** [MAKEFILEHELLOWORLD] Error 2 make -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\WINS.make" LIBRARY VERBOSE=-s nmake -nologo -x - -s -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WINS" LIBRARY process_begin: CreateProcess((null), nmake -nologo -x - -s -f \Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WINS LIBRARY, ...) failed. make (e=2): The system cannot find the file specified. make: *** [LIBRARYHELLOWORLD] Error 2 make -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\WINS.make" RESOURCE CFG=UDEB VERBOSE=-s nmake -nologo -x - -s -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WINS" RESOURCEUDEB process_begin: CreateProcess((null), nmake -nologo -x - -s -f \Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WINS RESOURCEUDEB, ...) failed. make (e=2): The system cannot find the file specified. make: *** [RESOURCEHELLOWORLD] Error 2 make -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\WINS.make" TARGET CFG=UDEB VERBOSE=-s nmake -nologo -x - -s -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WINS" UDEB process_begin: CreateProcess((null), nmake -nologo -x - -s -f \Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WINS UDEB, ...) failed. make (e=2): The system cannot find the file specified. make: *** [TARGETHELLOWORLD] Error 2 make -r -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\WINS.make" FINAL CFG=UDEB VERBOSE=-s so, what i'm doing wrong?. please help me to comeout of this problem. PLZ HElP ME..... |
|
Forum posts: 1379
If you have the CodeWarrior version, the command should be abld build winscw udeb.
If you do have a WINS build, the most likely problem is the tools are not in your path. If you are using MSDEV, run VCVARS32.BAT from C:\Program Files\Microsoft Visual Studio\VC98\Bin and try again.
didster
ERROR: failed to find version information for LINK.EXE
I have wins SDK installed and working ok. i suspect the problem is because I'm using Visual C++ express beta (which you can download from Microsoft) and there is some path that I'm missing.
Forum posts: 364
Forum posts: 1379
The only other cause I know for this error are you have a visual studio SDK, but you don't have VC Service Pack 3+ installed.
What SP have you got installed?
didster
As i have installed visual C++ express I have the compiler?.
If I type link at the command line the linker is run.
I have not installed any VC service packs, I thought that they are updates for old versions of visual studio. As I have the latest do I need any of these?
Forum posts: 364
/program files/microsoft visul studio/vc98/bin
or similar location
Find it and run it and see if it solves your problem
Forum posts: 1379
Type "link.exe" from a command line, what does it say?
Basically, you want Visual Studio 6 with SP3, CodeWarrior or BorlandX - which are the only officaly supported IDEs/Compilers. Though some vendors add their own support for VS.NET.
didster
C:\stopwatch\group>link
Microsoft (R) Incremental Linker Version 8.00.40607.16
Copyright (C) Microsoft Corporation. All rights reserved.
....
So i have the path set up ok, so running VCVar32.bat will not help.
I'm not sure that I agree that those are the only supported compiliers.
Because the SDK that I have downloaded from forum Nokia says in the relase note-
"This SDK supports Microsoft Visual Studio .net Professional 2003".
The slight problem is that I have Visual studio 2005 (8.0 beta), because you can download this for free.
I think that this enviroment is almost working, but note quite.
When I build I get -
C:\stopwatch\group>abld build wins udeb
make -r -f "\Symbian\7.0s\Series60_v21\EPOC32\BUILD\STOPWATCH\GROUP\EXPORT.make" EXPORT VERBOSE=-s
Nothing to do
make -r -f "\Symbian\7.0s\Series60_v21\EPOC32\BUILD\STOPWATCH\GROUP\WINS.make" MAKEFILE VERBOSE=-s
perl -S makmake.pl -D \STOPWATCH\GROUP\STOPWATCH WINS
ERROR: failed to find version information for LINK.EXE
make: *** [MAKEFILESTOPWATCH] Error 76
I also can build for thumb urel ok
I cannot make the VC project by doing -
abld makefile
I get the same linker version problem.
maybe there is something else i need to get from Microsoft as I have only downloaded VC++ express.
Forum posts: 1379
>bldmake bldfiles works ok.
It would - it doesn't touch the external tool chain (i.e. VC)
>I also can build for thumb urel ok
Yes, because that uses gcc, not the VS toolchain
>maybe there is something else i need to get from Microsoft as I have only downloaded VC++ express
I still say thats your problem - VS.NET != VS Express...
didster
The problem is caused by the build tool chain checking the version of the linker.
As I'm trying to build using linker 8.0 it fails this test below.
I fixed this perl, and was then able to compile, but not link because of some other problems.
sub Winutl_DoMmp ($$) {
# takes reference to platform text and semicolon-separated list
# of compiler-specific include directories
my @PlatTxt=@{$_[0]};
my $CompilerIncPaths=$_[1];
my $Plat=&main::Plat;
if ($Plat ne "WINSCW") {
# check that we're using VC6 SP3
open PIPE, "LINK.EXE |" or die "ERROR: Can't invoke LINK.EXE\n";
my $DoneCheck=0;
while (<PIPE>) {
unless ($DoneCheck) {
if (/^.+\s+Version\s+(\d)\.(\d{2})\.(\d{4})\s*$/o) {
if (($1<6) or ($1==6 and $2<0) or ($1==6 and $2==0 and $3<8447)) {
warn "WARNING: Should install MSVC6 Service Pack 3\n";
}
$DoneCheck=1;
}
}
}
$DoneCheck=0;
close PIPE;
if (!$DoneCheck) {
# Couldn't find version information? Might not have link.exe at all
die "ERROR: failed to find version information for LINK.EXE\n";
}
Forum posts: 1379
didster
Forum posts: 2
"C:\Program Files\Common Files\Microsoft Shared\VSA\8.0\VsaEnv" -type paths with quotes around them, so the solution is to find out the 'old' DOS 8.3 name using `dir /x` output and then putting those paths (for me: C:\Progra~1\Common~1\Micros~1\VSA\8.0\VsaEnv and C:\Progra~1\MID05A~1\VC\bin) in PATH (Control Panel > System > Advanced > Environment Variables). And voila! We're in business!
Hope it works for you, feel free to let me know how happy you are
greetz,
SumthinWicked
PS. anybody get VS2005 to compile WINS targets for you guys yet? I know I got it done in VS2003... Seem to be getting weird wchar_t compile errors in /epoc32/include/libc
PS2. Know ScummVM for SymbianOS yet? http://www.scummvm.org/
Now where did I leave my favourite rubber-chicken-with-a-pulley-in-the-middle? *scratshes head*
Forum posts: 239
I am facing a problem while compiling an application from command line for "WINSCW".
Giving
make (e=2): The system cannot find the file specified.
Although for same application there is no issue while compiling from Carbide.C++(IDE) itself,however for some application I am getting "Input line too long".And from forum I came to know that there is some known issues with carbide related to this,that's why I am compiling from command line.
I searched the forum lot,and had tried whatever suggested,but still I m stucked in the problem.
What could be the reason.
Thanks
---------------
Bhatt Kavita
http://discussion.forum.nokia.com/forum/forumdisplay.php?f=95