Results 1 to 2 of 2

Thread: unresolved external symbol

  1. #1
    Join Date
    Sep 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default unresolved external symbol

    Dear all...
    I receive this error from the compiler:

    sem.obj : error LNK2019: unresolved external symbol "public: __thiscall MissionDefinition::MissionDefinition(double *,double *,int *,int *)" (??0MissionDefinition@@QAE@PAN0PAH1@Z) referenced in function "public: void __thiscall SEM::missionFunctions(void)" (?missionFunctions@SEM@@QAEXXZ)

    I have a Qt application the name is sem.h sem.cpp
    From sem.cpp I call a function of MissionDefinition Class thanks to the function missionFunctions belonging to SEM....

    What do you think the problem is?
    Thanks a lot

    Guido

  2. #2
    Join Date
    Dec 2006
    Posts
    849
    Thanks
    6
    Thanked 162 Times in 151 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: unresolved external symbol

    your either do not implement the missing constructor MissionDefinition(double *,double *,int *,int *), or you have not added the .cpp or library that contains it to your .pro file

    HTH

Similar Threads

  1. Q3ScrollView resists to scroll down to the garbage bin
    By sivrisinek in forum Qt Programming
    Replies: 0
    Last Post: 5th February 2009, 17:50
  2. shared vs static
    By alisami in forum Installation and Deployment
    Replies: 3
    Last Post: 4th October 2008, 13:04
  3. Replies: 16
    Last Post: 23rd May 2008, 10:12
  4. link error for visual studio.net 2003
    By berlin in forum Newbie
    Replies: 9
    Last Post: 29th September 2006, 16:06
  5. Link Errors
    By magikalpnoi in forum Qt Programming
    Replies: 5
    Last Post: 25th September 2006, 22:04

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.