Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User Adeesh's Avatar
    Join Date
    Sep 2006
    Posts
    10
    hi, i am using Carbide.c++ Express, S60 SDK 3rd 9.1.
    I am having some Symbian code and i found trouble in making sis file of that.
    When i try to compile that code via S60 3.0 Emulator Debug then i got the .exe file with some warnings but emulator is not able to run that file.

    When i tried to compile that application via S60 Phone(3.0) GCCE Release then i am able to compile the application but it gives some linker errors in its *.o(Object) files. The object file in Symbian library linked fine but *.o files of corressponding *.cpp in my project give problem.

    It give some undefined reference like
    TestContainer.cpp.text+0xbb0): undefined reference to `TRect::TRect(int, int, int, int)'

    and there are list of such undefined refernences...
    Also there are two errors
    C:/Symbian/9.1/S60_3rd/EPOC32/DATA/Z/resource/apps/testApp_0x20003305.rsc
    [testApp_0x20003305.sym] Error 1

    I am able to compile and link the simple HelloWorld application.

  2. #2
    Registered User Adeesh's Avatar
    Join Date
    Sep 2006
    Posts
    10
    Somebody please help.. I want its solution urgently.....

  3. #3
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Your project should link with euser.lib, since it is almost mandatory for any Symbian code (euser.lib contains the definition for TRect also).

  4. #4
    Registered User Adeesh's Avatar
    Join Date
    Sep 2006
    Posts
    10
    Thanx a lot for the help...
    Can you please tell me how to link with euser.lib because i am new to Symbian? I have tried to include but i am not able to compile that application without those warnings.

    Please tell me the how to link to that library file.

    Thanx
    Adeesh Jain.

  5. #5
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,236
    Hello Adeesh,

    Open yr .mmp file.

    You shall find entries like:
    LIBRARY ......
    LIBRARY ......

    In the next line( or the same, with space) you can add yr library. Like:
    LIBRARY euser.lib

    NOTE: When u change yr .mmp file, u need to rebuild yr project.

    Regards.
    Kiran.

  6. #6
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Since you are using Carbide, it is possible that you do not have .mmp file at all. You should visit "Project Properties", "C/C++ Build"
    - WINSCW: "WINSCW C/C++ Linker", "Libraries": make sure that "euser.lib" appears in the list
    - GCCE: "GCCE Linker", "Libraries": make sure that "${EPOC32_RELEASE_ROOT}\ARMV5\LIB\euser.dso" appears in the list

Similar Threads

  1. Replies: 2
    Last Post: 2009-07-14, 01:16
  2. File corrupted - with signed sis
    By annehj in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2007-12-10, 13:44
  3. Carbide not creating SIS file -- "Could Not Find ...\HelloCarbide.o"
    By Razor1973 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 19
    Last Post: 2007-03-08, 19:17
  4. Problem creating SIS file from VS.NET 2003
    By gurdevsingh in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2006-08-28, 13:35
  5. problem in install sis file in N91 and N80 And E60
    By saeidkhan in forum Symbian C++
    Replies: 10
    Last Post: 2006-06-21, 08:35

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved