×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Apr 2007
    Posts
    68

    Unhappy 新手问题:undefined reference to...

    vs2003+3rd main

    用向导生成了一个view的程序,(GCCE)编译通过,添加了一个MMF的类CMMFCodec,在一个view的constructL中icodec=CMMFCodec::NewL(Src,Des);后,编译出现undefined reference to的错误。 头文件带入了,这个类涉及的库文件也手动加入了mmp文件中,编译结果依旧,请问怎么回事了?

  2. #2
    Nokia Developer Champion
    Join Date
    Jun 2005
    Location
    Beijing
    Posts
    5,578

    Re: 新手问题:undefined reference to...

    新使用的LIB可以在VS 2003的工程属性中添加,这样不需要重新导入工程就可以正常编译了.
    Beover1984
    -----------
    Doing what comes naturally

  3. #3
    Regular Contributor
    Join Date
    Apr 2007
    Posts
    68

    Thumbs up Re: 新手问题:undefined reference to...

    谢谢!!! 正解。

Similar Threads

  1. S60 3rdEd SDK Sensor Plug-in example for Carbide.C++ does not work
    By sudhantr in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 27
    Last Post: 2007-06-04, 14:25
  2. 3rd edition: undefined reference
    By iulian_moldovan in forum Symbian
    Replies: 2
    Last Post: 2006-06-20, 14:11
  3. C++ Reference Documentation
    By davidmanpearl in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-03-22, 08:16
  4. 16 bit reference for concatenated short messages
    By leksiu in forum Smart Messaging
    Replies: 2
    Last Post: 1970-01-01, 02:00

Posting Permissions

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