×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    115

    Build S^3 symbian source project

    Hi all
    I'm tring to build an application of the pdk (notepad) with the S^3 sdk.
    When I try to compile it I get a lot of varius errors, maybe to compile pdk application I've to insert other files in my sdk?
    Or is there a procedure to build pdk components?

    for example
    VENDORID VID_DEFAULT
    vid_default is not assign

    there are a lot of missing file like avkon.loc finditem.hrh aknlayoutscalable_avkon.cdl.h featmgr.h featmgr.h csxhelp/nmake.hlp.hrh csxhelp/mce.hlp.hrh

    Can someone help me?

    Regards
    A993
    Last edited by andrea993; 2013-09-29 at 12:20.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: Build S^3 symbian source project

    If you ever built anything, you should know that the VendorID line can be removed or zeroed. You certainly can not use Nokia's vendor ID - while you can find it out easily, you will not be able to sign the result.
    For the missing files, they are there. A command like dir /s /b >SF3.dir in the root of a fully extracted PDK can help you creating a nice index of the files, around 27 megabytes. Then you can use grep/find for removing test, tsrc, tinc and various other test files if you like.
    avkon.loc is I:\Symbian3\sf\mw\classicui\classicui_plat\avkon_localised_texts_api\loc\avkon.loc for me.
    finditem.hrh is I:\Symbian3\sf\mw\classicui\classicui_plat\find_item_ui_api\inc\finditem.hrh
    aknlayoutscalable_avkon.cdl.h is I:\Symbian3\sf\mw\uiresources\layouts\aknlayout2\generated_inc\aknlayoutscalable_avkon.cdl.h and I:\Symbian3\sf\mw\uiresources\uiresources_plat\layout_data_api\inc\aknlayoutscalable_avkon.cdl.h - probably the second one is the original (as the other says "generated_inc")
    featmgr.h has even more variants, some of them are located in test folders, but there are "real" ones too.

  3. #3
    Registered User
    Join Date
    Apr 2011
    Posts
    115

    Re: Build S^3 symbian source project

    Thank you very much!

    Which is the correct way to extract the pdk?
    each zip file should be extracted in the same folder or in separate folder?

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: Build S^3 symbian source project

    Quote Originally Posted by andrea993 View Post
    Which is the correct way to extract the pdk?
    each zip file should be extracted in the same folder or in separate folder?
    They can be extracted into a single folder, as I remember they will create completely separate directory trees anyway. And of course you do not have to really unpack everything, command line compression tools usually support listing the files in an archive, without actually extracting them. Just this approach may be slower at the end (since the archives are large, getting the listing will take some time, and getting the individual files later may also take a similar amount of time again).

  5. #5
    Registered User
    Join Date
    Apr 2011
    Posts
    115

    Re: Build S^3 symbian source project

    Very nice answer
    Now I've found all header files missing, but I get the error that a lib is missing and it's not in the pdk.
    In the pdk I've only found its .dso and .dll version.
    Can I use one of this two? or the .lib version is necessary.
    If I can how can I set to use a dso or dll instead of a lib.

    I must use SBSV1

    Thanks very much
    Last edited by andrea993; 2013-09-29 at 17:15.

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: Build S^3 symbian source project

    .dso is enough. If you check the epoc32\release\armv5\lib folder of your SDK, you will see that everything has .lib and .dso versions there. GCCE builds actually use the .dso files from there (if you check epoc32\release\gcce\urel or udeb, you will see that your own compiled project files are located there only, the system libraries are not).

  7. #7
    Registered User
    Join Date
    Apr 2011
    Posts
    115

    Re: Build S^3 symbian source project

    I've solved usiing sbsv2...thanks

    but now I get other errors....
    Code:
    Creation Time	Description	Resource	Path	Location	Type
    1380558563220	/Symbian/Carbide3/workspace/notes/notesui/noteseditor/moc_noteseditor_p.cpp: No such file or directory	notes		line 0	C/C++ Problem
    1380558563219	/Symbian/Carbide3/workspace/notes/notesui/noteseditor/moc_noteseditor.cpp: No such file or directory	notes		line 0	C/C++ Problem
    1380558563215	/Symbian/Carbide3/workspace/notes/notesui/notesmodel/moc_notesmodel.cpp: No such file or directory	notes		line 0	C/C++ Problem
    1380558563218	/Symbian/Carbide3/workspace/notes/notesui/notesmodel/moc_notessortfilterproxymodel.cpp: No such file or directory	notes		line 0	C/C++ Problem
    1380558563204	BEGIN failed--compilation aborted at C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/tools/prepdef.pl line 36.	notes		Unknown	C/C++ Problem
    1380558563203	Can't locate Defutl.pm in @INC (@INC contains: /c/Symbian/Carbide3/workspace/notes/C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/tools /usr/lib/perl5/5.8.8/msys /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/msys /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/tools/prepdef.pl line 36.	notes		Unknown	C/C++ Problem
    1380558563214	elf2e32 : Error: E1001: Could not open file : C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/build/notes/c_0243ba479cf84611/notesappcontroller_dll/armv5/udeb/notesappcontroller.prep.	notes		Unknown	C/C++ Problem
    1380558563209	elf2e32 : Error: E1001: Could not open file : C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/build/notes/c_0243ba479cf84611/noteseditor_dll/armv5/udeb/noteseditor.prep.	notes		Unknown	C/C++ Problem
    1380558563210	elf2e32 : Error: E1001: Could not open file : C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/build/notes/c_0243ba479cf84611/noteseditorplugin_dll/armv5/udeb/noteseditorplugin.prep.	notes		Unknown	C/C++ Problem
    1380558563208	elf2e32 : Error: E1001: Could not open file : C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/build/notes/c_0243ba479cf84611/notesmodel_dll/armv5/udeb/notesmodel.prep.	notes		Unknown	C/C++ Problem
    1380558563213	elf2e32 : Error: E1001: Could not open file : C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/build/notes/c_0243ba479cf84611/notesmodelhandler_dll/armv5/udeb/notesmodelhandler.prep.	notes		Unknown	C/C++ Problem
    1380558563212	elf2e32 : Error: E1001: Could not open file : C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/build/notes/c_0243ba479cf84611/notesviewmanager_dll/armv5/udeb/notesviewmanager.prep.	notes		Unknown	C/C++ Problem
    1380558563211	elf2e32 : Error: E1001: Could not open file : C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/build/notes/c_0243ba479cf84611/notesviews_dll/armv5/udeb/notesviews.prep.	notes		Unknown	C/C++ Problem
    1380558563217	no input files	notes		line 0	C/C++ Problem
    1380558593421	sbs returned with exit value = 1	notes		Unknown	Carbide.c++ Build Problem
    1380558563221	The make-engine exited with errors.	notes		Unknown	C/C++ Problem
    Looking the console I think that the errors are caused by stuff like this:
    Code:
    Can't locate Defutl.pm in @INC (@INC contains: /c/Symbian/Carbide3/workspace/notes/C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/tools /usr/lib/perl5/5.8.8/msys /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/msys /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/tools/prepdef.pl line 36.
    BEGIN failed--compilation aborted at C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/tools/prepdef.pl line 36.

  8. #8
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,538

    Re: Build S^3 symbian source project

    Quote Originally Posted by andrea993 View Post
    Looking the console I think that the errors are caused by stuff like this:
    Code:
    Can't locate Defutl.pm in @INC (@INC contains: /c/Symbian/Carbide3/workspace/notes/C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/tools /usr/lib/perl5/5.8.8/msys /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/msys /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/tools/prepdef.pl line 36.
    BEGIN failed--compilation aborted at C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/tools/prepdef.pl line 36.
    Could it be that you are using perl 5.8 while the version needed is 5.6.1 which happens to be one of the main things when Symbian related development is concerned.

  9. #9
    Registered User
    Join Date
    Apr 2011
    Posts
    115

    Re: Build S^3 symbian source project

    I've only perl 5.6.1 build 635 installed......

  10. #10
    Registered User
    Join Date
    Jan 2005
    Location
    Italy
    Posts
    639

    Re: Build S^3 symbian source project

    that's strange because the message said that @INC contains paths with 5.8.8 inside.... in any case the missing file seems Defutl.pm, do you have it somewhere around?

    regards
    pg

Similar Threads

  1. How to build Symbian C++ project using Helium and Hudson
    By yoc2011 in forum Symbian Tools & SDKs
    Replies: 8
    Last Post: 2011-12-20, 12:37
  2. If the symbian project's mmp file is missing, how to build the project?
    By limitfan in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2010-11-21, 14:03
  3. Replies: 8
    Last Post: 2010-03-03, 09:28
  4. Open Source Project to create Web Services package for Symbian
    By jaley in forum News and Announcements
    Replies: 0
    Last Post: 2009-09-01, 17:02
  5. Problem adding new source file to Symbian project.
    By jvinjam in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2009-01-06, 19:47

Posting Permissions

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