×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    20

    Smile carbide and v2.0 SDK's helloworldbasic?

    Hi,

    I am doing my first s60 development in quite a while, and am having problems with getting carbide.c++ to compile the helloworldbasic in the v2.0 sdk. My device target is the 6600.

    I started by importing the bld.inf, and then trying to build all targets. This got me 8 errors and 26 warnings. Here is the problems tab:

    Severity and Description Path Resource Location Creation Time Id
    ..\..\..\EPOC32\INCLUDE\eikscrlb.h C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\aknnotewrappers.h:18 helloworldbasic line 84 1191280111562 168
    ..\..\..\EPOC32\INCLUDE\eikbtgpc.h warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\AknNoteDialog.h:15 helloworldbasic line 44 1191280111390 159
    ..\..\..\EPOC32\INCLUDE\eikscrlb.h C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\AknQueryDialog.h:18 helloworldbasic line 84 1191280111546 167
    ..\..\..\EPOC32\INCLUDE\eikscrlb.h C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\aknscrlb.h:10 helloworldbasic line 84 1191280111484 164
    ..\..\..\EPOC32\INCLUDE\eikscrlb.h C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\eiklbx.h:22 helloworldbasic line 84 1191280111531 166
    ..\..\..\EPOC32\INCLUDE\eikscrlb.h C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\eiksbfrm.h:11 helloworldbasic line 84 1191280111515 165
    ..\..\..\EPOC32\INCLUDE\eikscrlb.h C:\SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\HELLOWORLDBASIC\SRC\Helloworldbasicappui.cpp:4) helloworldbasic line 84 1191280111593 169
    ..\..\..\EPOC32\INCLUDE\eikscrlb.h (included from: helloworldbasic line 84 1191280111453 163
    ..\..\..\EPOC32\INCLUDE\eikscrlb.h undefined identifier 'EEikScrollBarDefaultBehaviour' helloworldbasic line 84 1191280111437 162
    ..\..\..\EPOC32\INCLUDE\eikbtgpc.h warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\aknnotewrappers.h:17 helloworldbasic line 44 1191280111421 160
    ..\..\..\EPOC32\INCLUDE\eikbtgpc.h warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\eikdialg.h:44 helloworldbasic line 44 1191280111390 158
    ..\..\..\EPOC32\INCLUDE\eikbtgpc.h warning: C:\SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\HELLOWORLDBASIC\SRC\Helloworldbasicappui.cpp:4) helloworldbasic line 44 1191280111421 161
    ..\..\..\EPOC32\INCLUDE\eikbtgpc.h warning: (included from: helloworldbasic line 44 1191280111375 157
    ..\..\..\EPOC32\INCLUDE\eikbtgpc.h warning: illegal empty declaration helloworldbasic line 44 1191280111359 156
    ..\..\..\EPOC32\INCLUDE\eikcba.h warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\aknappui.h:15 helloworldbasic line 54 1191280111859 184
    ..\..\..\EPOC32\INCLUDE\eikcba.h warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\aknlistquerycontrol.h:22 helloworldbasic line 54 1191280111906 186
    ..\..\..\EPOC32\INCLUDE\eikcba.h warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\aknnotewrappers.h:18 helloworldbasic line 54 1191280111921 188
    ..\..\..\EPOC32\INCLUDE\eikcba.h warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\aknpopupheadingpane.h:21 helloworldbasic line 54 1191280111875 185
    ..\..\..\EPOC32\INCLUDE\eikcba.h warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\AknQueryDialog.h:26 helloworldbasic line 54 1191280111921 187
    ..\..\..\EPOC32\INCLUDE\eikcba.h warning: C:\SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\HELLOWORLDBASIC\SRC\Helloworldbasicappui.cpp:4) helloworldbasic line 54 1191280111937 189
    ..\..\..\EPOC32\INCLUDE\eikcba.h warning: (included from: helloworldbasic line 54 1191280111843 183
    ..\..\..\EPOC32\INCLUDE\eikcba.h warning: illegal empty declaration helloworldbasic line 54 1191280111828 182
    ..\..\..\EPOC32\INCLUDE\eiksrv.h warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\aknappui.h:14 helloworldbasic line 36 1191280111703 176
    ..\..\..\EPOC32\INCLUDE\eiksrv.h warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\aknlistquerycontrol.h:22 helloworldbasic line 36 1191280111734 178
    ..\..\..\EPOC32\INCLUDE\eiksrv.h warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\aknnotewrappers.h:18 helloworldbasic line 36 1191280111781 180
    ..\..\..\EPOC32\INCLUDE\eiksrv.h warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\aknpopupheadingpane.h:21 helloworldbasic line 36 1191280111718 177
    ..\..\..\EPOC32\INCLUDE\eiksrv.h warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\AknQueryDialog.h:26 helloworldbasic line 36 1191280111765 179
    ..\..\..\EPOC32\INCLUDE\eiksrv.h warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\Eikspane.h:10 helloworldbasic line 36 1191280111687 175
    ..\..\..\EPOC32\INCLUDE\eiksrv.h warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\eikspmod.h:18 helloworldbasic line 36 1191280111671 174
    ..\..\..\EPOC32\INCLUDE\eiksrv.h warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\eiksrvc.h:9 helloworldbasic line 36 1191280111656 173
    ..\..\..\EPOC32\INCLUDE\eiksrv.h warning: C:\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\eiksrvs.h:26 helloworldbasic line 36 1191280111640 172
    ..\..\..\EPOC32\INCLUDE\eiksrv.h warning: C:\SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\HELLOWORLDBASIC\SRC\Helloworldbasicappui.cpp:4) helloworldbasic line 36 1191280111796 181
    ..\..\..\EPOC32\INCLUDE\eiksrv.h warning: (included from: helloworldbasic line 36 1191280111625 171
    ..\..\..\EPOC32\INCLUDE\eiksrv.h warning: illegal 'friend' declaration helloworldbasic line 36 1191280111609 170

    Here is the console output:

    ***Building project "helloworldbasic" for configuration "Phone Release (THUMB) [Series60_v20]"

    ***Printing environment variables modified from default:
    PATH=C:\Symbian\7.0s\Series60_v20\epoc32\tools;C:\Symbian\7.0s\Series60_v20\epoc32\gcc\bin;C:\Program Files\Common Files\Symbian\Tools;C:\Perl\bin\;C:\Perl\bin\;C:\Program Files\CSL Arm Toolchain\bin;C:\Symbian\6.1\Shared\epoc32\tools;C:\Symbian\6.1\Shared\epoc32\gcc\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;
    EPOCROOT=\Symbian\7.0s\Series60_v20\

    Working Directory: C:/Symbian/7.0s/Series60_v20/Series60Ex/helloworldbasic/group

    *** Makefile structures up to date. Skipping 'bldmake bldfiles'

    ===Build Command = /c abld build THUMB UREL -v===
    C:\WINDOWS\system32\cmd.exe /c abld build THUMB UREL -v
    make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\HELLOWORLDBASIC\GROUP\EXPORT.make" EXPORT
    Nothing to do
    make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\HELLOWORLDBASIC\GROUP\THUMB.make" MAKEFILE
    perl -S makmake.pl -D \SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC THUMB
    make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\HELLOWORLDBASIC\GROUP\THUMB.make" LIBRARY
    make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC\THUMB\HELLOWORLDBASIC.THUMB" LIBRARY
    make[1]: Entering directory `C:/SYMBIAN/7.0S/SERIES60_V20/SERIES60EX/HELLOWORLDBASIC/GROUP'
    make[1]: Nothing to be done for `LIBRARY'.
    make[1]: Leaving directory `C:/SYMBIAN/7.0S/SERIES60_V20/SERIES60EX/HELLOWORLDBASIC/GROUP'
    make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\HELLOWORLDBASIC\GROUP\THUMB.make" RESOURCE CFG=UREL
    make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC\THUMB\HELLOWORLDBASIC.THUMB" RESOURCEUREL
    make[1]: Entering directory `C:/SYMBIAN/7.0S/SERIES60_V20/SERIES60EX/HELLOWORLDBASIC/GROUP'
    make[1]: Nothing to be done for `RESOURCEUREL'.
    make[1]: Leaving directory `C:/SYMBIAN/7.0S/SERIES60_V20/SERIES60EX/HELLOWORLDBASIC/GROUP'
    make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\HELLOWORLDBASIC\GROUP\THUMB.make" TARGET CFG=UREL
    make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC\THUMB\HELLOWORLDBASIC.THUMB" UREL
    make[1]: Entering directory `C:/SYMBIAN/7.0S/SERIES60_V20/SERIES60EX/HELLOWORLDBASIC/GROUP'
    make[1]: Nothing to be done for `UREL'.
    make[1]: Leaving directory `C:/SYMBIAN/7.0S/SERIES60_V20/SERIES60EX/HELLOWORLDBASIC/GROUP'
    make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20\SERIES60EX\HELLOWORLDBASIC\GROUP\THUMB.make" FINAL CFG=UREL

    ***Build Complete

    ***Errors were detected in build. See the Problems or Console view for details.

    I don't know if this is relevant, but I had some trouble getting carbide's SDK preferences to decide that the v2.0 SDK was valid until I manually set the OS version (7.0) and the SDK version (2.1) in the properties.

    I'm running the version 1.2 of carbide, express version, with the updates applied. I was able to build the S60_3rd_FP1 hello world without any problems.

    Any ideas on where I'm going wrong?

    Many thanks,

    Polly
    Last edited by pollyp; 2007-10-02 at 00:52. Reason: update icon

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    20

    Smile Re: carbide and v2.0 SDK's helloworldbasic?

    D'oh! It turns out that I should have installed the CodeWarrior version of the SDK, not the VisualStudio verison. Once I did that, I could build the hello world without errors.

    Polly

Similar Threads

  1. RVCT and S60 2nd SDKs
    By Rafael Saracchini in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2006-11-10, 11:51
  2. Missing headers in SDK v2.0
    By NavaronSoftware in forum Symbian Tools & SDKs
    Replies: 14
    Last Post: 2004-05-04, 07:44
  3. Does SDK v2.0 work on Series60 V6.1?
    By liying in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2004-02-02, 08:57
  4. Linux and SDK's
    By Lucretia9000 in forum Symbian Tools & SDKs
    Replies: 6
    Last Post: 2004-01-30, 08:37
  5. Series 60 v2.0 - camera APIs testing on emulator
    By nitinkumar in forum Symbian
    Replies: 0
    Last Post: 2003-11-12, 10:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •