Switch between two SDK

Login to reply to this topic.
Sun, 2008-02-24 08:04
Joined: 2008-01-26
Forum posts: 52

Hi.
I want to have two SDK on my computer,sdk v2 & sdk v3. I installed Carbidec++,sdk v3.0(Symbian v9.1) and Active perl 5.6.1, and then install Visual Studio 6.0 and sdk v2.0.
but when i execute programs that are writed for v3, they cant be run,and when execute programs for v2.0 ,they cant be observable on emulator.
How do i switch between them?what do i do?


Sun, 2008-02-24 08:29
Joined: 2005-11-20
Forum posts: 1242
Re: Switch between two SDK

I don't know about Carbide, but if you work from command line there is the "devices" command to switch between several SDK's.


René Brunner

Sun, 2008-02-24 09:55
Joined: 2008-01-26
Forum posts: 52
Re: Switch between two SDK

Hi rbruuner.
I misunderstand,can you explain me with example?
Dose sdk v2.0 or v1.9 work with Active perl 5.6.1?
when i work with Symbian v7.0, (on other pc) i install active perl 5.8.8. and for working with Symbian v9.1 i must install active perl 5.6.1.
million thanks for your help.

Sun, 2008-02-24 10:36
Joined: 2005-11-20
Forum posts: 1242
Re: Switch between two SDK

If I open a command prompt and type "devices", I get a list of installed SDK's, and I can also use this program to switch between SDK's - see the list of commands that "devices -help" will give.

But as I said, I am not sure that this is the way to switch as well when Carbide is used, because I dont' have experience there. And if you don't have the Symbian command line tools in your program search path PATH, the system won't find the "devices.exe" program anyway.

I have Perl 5.6.1, and this is good for UIQ2 (based on Symbian v7.x I think) and UIQ3 (Symbian v9.x). Just don't ask me about S60...


René Brunner

Sun, 2008-02-24 11:56
Joined: 2008-01-26
Forum posts: 52
Re: Switch between two SDK

thanks rbruuner.I can switch between sdks.
I have another question,about private folder. Do you remember that i have problem in sis file,because i have many .dat files and i cant install my program on the phone?
I modify my program and make two file,and now it's installed with any problem.I copy files to private folder,but when I want to open file and read,(on device), program is closed.

Sun, 2008-02-24 12:49
Joined: 2005-11-20
Forum posts: 1242
Re: Switch between two SDK

Hard to say what's the problem on the phone, without further information like error code. But if it runs on the emulator, but not on the phone, I think the most likely problem is a .pkg file that somehow does not really copy the files to their intented directory on the phone.

Maybe add code to your program that checks for the existence of one of the two files, before the Open, and display an error message box if the file is in fact not there?


René Brunner

Mon, 2008-02-25 09:53
Forum Nokia Champion
Joined: 2006-10-12
Forum posts: 463
Re: Switch between two SDK

Hi rbruuner.
I misunderstand,can you explain me with example?
Dose sdk v2.0 or v1.9 work with Active perl 5.6.1?
when i work with Symbian v7.0, (on other pc) i install active perl 5.8.8. and for working with Symbian v9.1 i must install active perl 5.6.1.
million thanks for your help.

If you read the release notes of S60 SDKs, its specified that you should need perl 5.6 (newer/older versions are not really recomended)
For managing SDKs in carbide, Right click on project->properties->build configurations. In the configurations tab you can choose configurations that needs to be active. You can also click on manage and it lets you add or delete platforms and configurations from available SDKs to the project.

Mon, 2008-02-25 11:48
Joined: 2008-01-26
Forum posts: 52
Re: Switch between two SDK

Hi
I work with CarbideC++ with any problem,but now i install sdk v2.0 and i want to work with it. I can switch between sdk's from command line and programs that are writed for v3,can be run correctly,but programs for v2,can't.
i try to do it with carbide,i select Window > Preferences > Carbide.c++ > SDK Preferences,but when i click on Series60_v20,SDK information show:
EPOCROOT:C\Symbian2\7.0\Seties60_v20\
OS version:OS version cannot be determined
Available Platforms:Platforms cannot be determined
Diagnostic Check:SDK cannot be used in Carbide.
plz help me.
Thank you. and Thanks rbrunner for your quick reply

Mon, 2008-02-25 13:30
Joined: 2008-01-26
Forum posts: 52
Re: Switch between two SDK

hi Symbian_Nail
in SDK Preferences,i select SDK Propertes for Series60_v20 and choose OS version 7.0 and SDK version 1.2,(because there is not version 2.0,there is 1.2 and 2,1 and greater than 2.1).
But when i create new project and run it for Emulator debuge(Winscw),it cant be run and shows Error:
\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\Hello\GROUP\EE\WINSCW\UDEB\HelloAPPUI.o] Error 1
and another error for Epoc32\include

I install both sdk in folder Symbian in drive c.
plz help me,I dont know what do i do?

Tue, 2008-02-26 09:13
Joined: 2008-01-26
Forum posts: 52
Re: Switch between two SDK

hi.
i want to run programs that are writen for Symbian v7.0 whit carbidec++.
I create S60 2nd Ed,Hello world GUI application,project.but when i build it,console window shows error about AppUi class and epoc32 \include.
what do i do?
can anybody help me?
plz,help me.I need it.
Thanks.

Tue, 2008-02-26 09:17
Forum Nokia Champion
Joined: 2006-10-12
Forum posts: 463
Re: Switch between two SDK

I dont think anybody can poinpoint the problem with the limited description that you have given except that your AppUi 'might' have problem and something to do with include, etc ( kind of vague suggestions I am giving..!! )

Tue, 2008-02-26 10:18
Joined: 2008-01-26
Forum posts: 52
Re: Switch between two SDK

I create new project with carbidc++. I select S60 2nd Ed,Hello world GUI application and then build it ,without any modification in their content.
I worked with carbidec++ for writen programs in v3.0(Symbian v9.1).i didnt any problem with it. now i want to have 2 sdk in my computer and install sdk v2.0 (Symbian v7.0). both sdk are in drive c. c:\symbian\9.1 and c:\symbian\7.0. and i install Active perl 5.6.1 build 638. Program for v3.o can be run with any problem, but when i want to run examples that are in Series60Ex folder,(from command line), they cant be run.they are not observable in emulator.
I hope to explain oneself.
I'm sorry,i cant write english well.
thanks for your help

Tue, 2008-02-26 11:43
Forum Nokia Champion
Joined: 2006-10-12
Forum posts: 463
Re: Switch between two SDK

Go to start->programs->carbide.c++->configure environment for winscw command line. After this, you will be able to compile for winscw from command line

Tue, 2008-02-26 12:47
Joined: 2008-01-26
Forum posts: 52
Re: Switch between two SDK

I do that,but it shows same error.
I worked with command line for programs in v3.0, and i have'nt any problem before. When i run examples for v2.0, it shows error.
if i write abld build,only,errors is:

make[1]: *** [\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\PROJECYFOR2ND\GROUP\PROJECTFOR2ND\WINSCW\UDEB\PROJECTFOR2NDAPPUI.o] Error 1
make: *** [TARGETPROJECYFOR2ND] Error 2
C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\eikbtgpc.h:44: warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\eikcba.h:29
C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\eikbtgpc.h:44: warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\aknappui.h:15
C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\eikbtgpc.h:44: warning: C:\SYMBIAN\CARBIDE\WORKSPACE\PROJECYFOR2ND\INC\Projecyfor2ndAppui.h:14
C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\eikbtgpc.h:44: warning: C:\SYMBIAN\CARBIDE\WORKSPACE\PROJECYFOR2ND\SRC\Projecyfor2ndappui.cpp:12)
C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\eikcba.h:54: warning: illegal empty declaration
C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\eikcba.h:54: warning: (included from:
C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\eikcba.h:54: warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\aknappui.h:15
C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\eikcba.h:54: warning: C:\SYMBIAN\CARBIDE\WORKSPACE\PROJECYFOR2ND\INC\Projecyfor2ndAppui.h:14
C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\eikcba.h:54: warning: C:\SYMBIAN\CARBIDE\WORKSPACE\PROJECYFOR2ND\SRC\Projecyfor2ndappui.cpp:12)

and if write abld build wins error:

perl -S makmake.pl -D \SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\FORM\GROUP\AKNEXFORM
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: *** [MAKEFILEAKNEXFORM] Error 2
make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20
\SERIES60EX\FORM\GROUP\WINS.make" LIBRARY VERBOSE=-s
nmake -nologo -x - -s -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\
SERIES60_V20\SERIES60EX\FORM\GROUP\AKNEXFORM\WINS\AKNEXFORM.WINS" LIBRARY
process_begin: CreateProcess((null), nmake -nologo -x - -s -f \Symbian\7.0s\Seri
es60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\FORM\GROUP\AKNEXFORM\
WINS\AKNEXFORM.WINS LIBRARY, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [LIBRARYAKNEXFORM] Error 2
make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20
\SERIES60EX\FORM\GROUP\WINS.make" RESOURCE CFG=UDEB VERBOSE=-s
nmake -nologo -x - -s -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\
SERIES60_V20\SERIES60EX\FORM\GROUP\AKNEXFORM\WINS\AKNEXFORM.WINS" RESOURCEUDEB
process_begin: CreateProcess((null), nmake -nologo -x - -s -f \Symbian\7.0s\Seri
es60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\FORM\GROUP\AKNEXFORM\
WINS\AKNEXFORM.WINS RESOURCEUDEB, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [RESOURCEAKNEXFORM] Error 2

i'm sorry to disturb you.

Tue, 2008-02-26 13:39
Forum Nokia Champion
Joined: 2006-10-12
Forum posts: 463
Re: Switch between two SDK

I havent worked on 7.0, so you have to check if carbide.c++ supports that Sad

Wed, 2008-02-27 08:52
Joined: 2008-01-26
Forum posts: 52
Re: Switch between two SDK

Hi guys.
Is there anybody that work on Symbian v7.0?
I install Active perl 5.6.1 build 638,and sdk v2.0.but when i run examples that are in Series60Ex folder,it shows error.
I write in command line:
>bldmake bldfiles
>abld build wins

perl -S makmake.pl -D \SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\FORM\GROUP\AKNEXFORM
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: *** [MAKEFILEAKNEXFORM] Error 2
make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20
\SERIES60EX\FORM\GROUP\WINS.make" LIBRARY VERBOSE=-s
nmake -nologo -x - -s -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\
SERIES60_V20\SERIES60EX\FORM\GROUP\AKNEXFORM\WINS\AKNEXFORM.WINS" LIBRARY
process_begin: CreateProcess((null), nmake -nologo -x - -s -f \Symbian\7.0s\Seri
es60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\FORM\GROUP\AKNEXFORM\
WINS\AKNEXFORM.WINS LIBRARY, ...) failed.
make (e=2): The system cannot find the file specified.

plz,help me.

  • Login to reply to this topic.