×

Discussion Board

Results 1 to 7 of 7

Thread: Unknow error

  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    37

    Unknow error

    Hi all! I began writing a simple application with sockets, but when I built the project for run in emulator, carbide show a message with error, but don't show what error is and any line file is changed to color red.

    I simple put this(in MyClassAppUi, traditional archteture):

    #include <es_sock.h>

    ...

    RSocketServ iSockServ;
    Int erro;

    and my application don't run, but if I erase the declarations for RSocketServ, the application runs normaly.

    What the possible reasons for this error?

    Sorry my bad english.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Unknow error

    What does the "message with error" is, can you write it in here ?

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    37

    Re: Unknow error

    Yes, I can. The message is an alert whith the text: "Errors exist in a required project. Continue launch?". But the problem is that error don't appear any file or any line of file in color red for the programmer see the error. It's only showed the above message. Then how I will know what error is?

    Thank's for reply.








    Quote Originally Posted by symbianyucca View Post
    What does the "message with error" is, can you write it in here ?

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Unknow error

    Try checking what is written in the "problems" tab on the lower parts of the workspace..

  5. #5
    Registered User
    Join Date
    Sep 2008
    Posts
    37

    Re: Unknow error

    Very good! I saw the tab "console" and the tab "problems" and the tab problems show the messages below:

    "Undefined symbol: 'RSocketServ::RSocketServ(void)"

    "Undefined symbol: 'int RSocketServ::Connect(unsigned int)"

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Unknow error

    So I assume then that you know that those error mean that you forgot to include the necessary libraries to your mmp file..

  7. #7
    Registered User
    Join Date
    Sep 2008
    Posts
    37

    Thumbs up Re: Unknow error

    I put these libs: esock.a and insock.a, and after this these erros go out and my application ran whitout problens. A fac important is: I never read that for use sockets it's necessary to edit the .mmp file. I was thinking that is only to put the header in the top of the header file. But no problem. You help me a lot. Thanks!!!


    Quote Originally Posted by symbianyucca View Post
    So I assume then that you know that those error mean that you forgot to include the necessary libraries to your mmp file..

Similar Threads

  1. XMl Parser Implementation for Symbian
    By ittiam in forum Symbian
    Replies: 26
    Last Post: 2009-09-16, 05:26
  2. i cant build helloworld project
    By akhin in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2008-12-22, 12:38
  3. please help cell id
    By perthachy in forum Symbian
    Replies: 12
    Last Post: 2007-07-10, 13:14
  4. User break point error in Grid
    By ag24master in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-08-07, 08:20

Posting Permissions

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